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.
Figure 1.1: A screen shot of Vergil, the user <strong>in</strong>terface for <strong>Ptolemy</strong> <strong>II</strong>.<br />
Java Advanced Imag<strong>in</strong>g (JAI)<br />
The Java Advanced Imag<strong>in</strong>g (JAI) API [2] was created <strong>by</strong> Sun Microsystems<br />
to work with their Java Programm<strong>in</strong>g Language. It is available for W<strong>in</strong>dows,<br />
Solaris, <strong>and</strong> L<strong>in</strong>ux. Sun’s goal for this API is to provide a framework that allows<br />
many image process<strong>in</strong>g algorithms to be implemented with little or no custom<br />
code writ<strong>in</strong>g.<br />
Java Media Framework (JMF)<br />
Simlarly, the Java Media Framework (JMF) [1] was developed <strong>by</strong> Sun Microsystems<br />
<strong>and</strong> runs on W<strong>in</strong>dows, Solaris, <strong>and</strong> L<strong>in</strong>ux. It was created to allow programmers<br />
to more easily work with time-based media (more specifically, audio<br />
<strong>and</strong> video) <strong>in</strong> Java.<br />
1.2 JAI <strong>and</strong> JMF Integration<br />
<strong>Ptolemy</strong> <strong>II</strong> has many different token types to be used for transport of data. This<br />
<strong>in</strong>cludes an ObjectToken used to transport any Object <strong>in</strong> Java.<br />
Orig<strong>in</strong>ally, ObjectTokens were used to encapsulate the data structures used<br />
<strong>in</strong> both JAI <strong>and</strong> JMF. However, when it came to display<strong>in</strong>g images or movies, a<br />
separate display actor had to be written for ObjectTokens conta<strong>in</strong><strong>in</strong>g different<br />
types of data structures.<br />
12