
ImageSequence |
ptolemy.domains.sdf.lib.vq.ImageSequence |
Load a sequence of binary images from files, and create a sequence of
IntMatrixTokens from them. The data is assumed to row scanned, starting
at the top row. Each byte of the binary file is assumed to be the
greyscale intensity of a single pixel in the image.
<p>
The files to be loaded are specified as relative URLs from the base URL path.
Usually the base path should be set to the root ptolemy classpath.
The file names are created by replacing *'s in the filename with consecutive
integers (using zero padding). For example, specifying a URLtemplate of
"missa***.qcf" and a starting frame of
zero, will create the names:
<ul>
<li>missa000.qcf
<li>missa001.qcf
<li>missa002.qcf
<li>...
</ul>
The name manufacturing algorithm is not especially robust, so
debug listeners attached to this actor will receive a list of the file names.
This actor could be greatly expanded to use the Java Advanced Imaging API
for loading images.
Author(s): Steve Neuendorffer
Version:$Id: ImageSequence.doc.html,v 1.1 2006/02/22 18:41:22 mangal Exp $
Pt.Proposed Rating:Yellow (neuendor)
Pt.Accepted Rating:Red
imageURLTemplate
The image filename templates.
imageColumns
The number of columns in each image.
imageRows
The number of rows in each image.
startFrame
The starting frame number.
endFrame
The ending frame number.