02.08.2013 Views

Image and Video Processing Libraries in Ptolemy II by ... - CiteSeerX

Image and Video Processing Libraries in Ptolemy II by ... - CiteSeerX

Image and Video Processing Libraries in Ptolemy II by ... - CiteSeerX

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>in</strong> the array is used. The value can range from 0 (for black), to 2 bitdepth − 1<br />

(for white). For RGB images, all three values are used, with each value rang<strong>in</strong>g<br />

from 0 to 2 bitdepth − 1 as well.<br />

JAITIFFWriter<br />

The JAITIFFWriter has one extra parameter, writeTiled. By default, this is<br />

marked false. If marked true, the image data will be written <strong>in</strong> tiles <strong>in</strong>stead of<br />

strips. For larger images, this makes data access more efficient.<br />

3.2 <strong>Image</strong> Manipulation<br />

The follow<strong>in</strong>g actors manipulate images <strong>in</strong> the spatial doma<strong>in</strong>.<br />

3.2.1 JAIAff<strong>in</strong>eTransform<br />

An aff<strong>in</strong>e transformation preserves the straightness of straight l<strong>in</strong>es, <strong>and</strong> the<br />

parallelism of parallel l<strong>in</strong>es, But the distance between parallel l<strong>in</strong>es may not be<br />

preserved.<br />

The mapp<strong>in</strong>g between the dest<strong>in</strong>ation pixel (x, y) <strong>and</strong> the source position<br />

(x ′ , y ′ ) is given <strong>by</strong>:<br />

26

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!