|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--javax.media.jai.CollectionImage
|
+--javax.media.jai.ImageSequence
AttributedImageCollection instead.
A class representing a sequence of images, each associated with a
time stamp and a camera position. The images are of the type
javax.media.jai.PlanarImage; the time stamps are of the
type float; the camera positions are of the type
java.lang.Object. The tuple (image, time stamp, camera
position) is represented by class
javax.media.jai.SequentialImage.
This class can be used to represent video or time-lapse photography.
PlanarImage,
SequentialImage| Fields inherited from class javax.media.jai.CollectionImage |
eventManager, imageCollection, imageFactory, properties, sinks |
| Constructor Summary | |
protected |
ImageSequence()
Deprecated. The default constrctor. |
|
ImageSequence(Collection images)
Deprecated. Constructs a class that represents a sequence of images. |
| Method Summary | |
boolean |
add(Object o)
Deprecated. Adds a SequentialImage to this collection. |
Object |
getCameraPosition(PlanarImage pi)
Deprecated. Returns the camera position associated with the specified image, or null if pi is null or
if no match is found. |
PlanarImage |
getImage(float ts)
Deprecated. Returns the image associated with the specified time stamp, or null if no match is found. |
PlanarImage |
getImage(Object cp)
Deprecated. Returns the image associated with the specified camera position, or null if cp is null or
if no match is found. |
float |
getTimeStamp(PlanarImage pi)
Deprecated. Returns the time stamp associated with the specified image, or -Float.MAX_VALUE if pi is null
or if no match is found. |
boolean |
remove(float ts)
Deprecated. Removes the SequentialImage that contains the
specified time stamp from this collection. |
boolean |
remove(Object cp)
Deprecated. Removes the SequentialImage that contains the
specified camera position from this collection. |
boolean |
remove(PlanarImage pi)
Deprecated. Removes the SequentialImage that contains the
specified image from this collection. |
| Methods inherited from class javax.media.jai.CollectionImage |
addAll, addPropertyChangeListener, addPropertyChangeListener, addSink, clear, contains, containsAll, get, getImageFactory, getProperty, getProperty, getPropertyClass, getPropertyNames, getPropertyNames, getSinks, isEmpty, iterator, removeAll, removeProperty, removePropertyChangeListener, removePropertyChangeListener, removeSink, removeSinks, retainAll, setImageFactory, setProperty, size, toArray, toArray |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
equals, hashCode |
| Constructor Detail |
protected ImageSequence()
public ImageSequence(Collection images)
images - A collection of SequentialImage.IllegalArgumentException - if images is null.| Method Detail |
public PlanarImage getImage(float ts)
null if no match is found.public PlanarImage getImage(Object cp)
null if cp is null or
if no match is found.public float getTimeStamp(PlanarImage pi)
-Float.MAX_VALUE if pi is null
or if no match is found.public Object getCameraPosition(PlanarImage pi)
null if pi is null or
if no match is found.public boolean add(Object o)
SequentialImage to this collection. If the
specified image is null, it is not added to the
collection.add in class CollectionImagetrue if and only if the
SequentialImage is added to the collection.public boolean remove(PlanarImage pi)
SequentialImage that contains the
specified image from this collection.true if and only if a
SequentialImage with the
specified image is removed from the collection.public boolean remove(float ts)
SequentialImage that contains the
specified time stamp from this collection.true if and only if a
SequentialImage with the
specified time stamp is removed from the collection.public boolean remove(Object cp)
SequentialImage that contains the
specified camera position from this collection.remove in class CollectionImagetrue if and only if a
SequentialImage with the
specified camera position is removed from the collection.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||