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
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
2.3.2 Multiplication <strong>and</strong> Division<br />
In multiplication <strong>and</strong> division, the result<strong>in</strong>g data type is the smallest data type<br />
with sufficient range to support the ranges of the <strong>in</strong>put data types. Note that<br />
multiplication <strong>and</strong> division are done b<strong>and</strong>wise, therefore results may not be as<br />
expected if the images conta<strong>in</strong> complex data. To circumvent this, the magnitude<br />
<strong>and</strong> phases of the images can be taken, manipulated, <strong>and</strong> reassembled us<strong>in</strong>g the<br />
JAIPolarToComplex actor.<br />
2.4 Non JAI actors<br />
The follow<strong>in</strong>g actors were previously implemented <strong>by</strong> various members of the<br />
<strong>Ptolemy</strong> Group. Before, they used ObjectTokens conta<strong>in</strong><strong>in</strong>g AWT<strong>Image</strong>s. They<br />
have s<strong>in</strong>ce been modified to use AWT<strong>Image</strong>Token, a subclass of <strong>Image</strong>Token.<br />
Monitor<strong>Image</strong> Displays images on the workspace <strong>by</strong> mak<strong>in</strong>g the image at<br />
the <strong>in</strong>put its icon.<br />
<strong>Image</strong>Display Used to display images <strong>in</strong> a separate w<strong>in</strong>dow. This actor<br />
<strong>and</strong> the Monitor<strong>Image</strong> actor are the only actors that can<br />
currently display <strong>Image</strong>Tokens.<br />
<strong>Image</strong>Reader Reads <strong>in</strong> a file or URL <strong>and</strong> outputs an AWT<strong>Image</strong>Token.<br />
<strong>Image</strong>Rotate Rotates an AWT<strong>Image</strong>Token <strong>by</strong> a certa<strong>in</strong> amount of degrees.<br />
<strong>Image</strong>ToStr<strong>in</strong>g Takes an AWT<strong>Image</strong>Token at the <strong>in</strong>put <strong>and</strong> outputs <strong>in</strong>formation<br />
about the image as a Str<strong>in</strong>gToken.<br />
URLTo<strong>Image</strong> Reads a URL <strong>and</strong> outputs an AWT<strong>Image</strong>Token. This actor<br />
has s<strong>in</strong>ce been made obsolete <strong>by</strong> the <strong>Image</strong>Reader actor.<br />
16