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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>in</strong>to one image.<br />

3.3.1 JAIB<strong>and</strong>Select<br />

The JAIB<strong>and</strong>Select actor takes one array of <strong>in</strong>tegers as a parameter. The number<br />

of b<strong>and</strong>s at the output is equal to the length of the specified array. Each<br />

<strong>in</strong>teger <strong>in</strong> the array specifies the b<strong>and</strong> to select at the <strong>in</strong>put. This actor is particularly<br />

useful <strong>in</strong> select<strong>in</strong>g a s<strong>in</strong>gle b<strong>and</strong>, or isolat<strong>in</strong>g image data from its alpha<br />

channel.<br />

3.3.2 JAIB<strong>and</strong>Comb<strong>in</strong>e<br />

The JAIB<strong>and</strong>Comb<strong>in</strong>e actor takes a m <strong>by</strong> n + 1 matrix of floats as an <strong>in</strong>put,<br />

where m is the number of b<strong>and</strong>s at the output, <strong>and</strong> n is the number of b<strong>and</strong>s<br />

at the <strong>in</strong>put. The first n values of each row specify the scalar amount to multiply<br />

each b<strong>and</strong> <strong>by</strong>. The last value is a DC offset. In conjunction with the<br />

Add/Subtract actor, this actor can be used to comb<strong>in</strong>e several images <strong>in</strong>to one.<br />

3.4 Filter<strong>in</strong>g<br />

Filter<strong>in</strong>g allows us to deal with how the real world <strong>in</strong>terferes with signals. Among<br />

the many operations we can perform on signals (<strong>in</strong> this case images) are blur,<br />

sharpen, <strong>and</strong> denoise.<br />

34

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

Saved successfully!

Ooh no, something went wrong!