|
|||||||||
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.ImageStack
AttributedImageCollection
instead.
A class representing a stack of images, each associated with a
spatial position/orientation defined in a common coordinate system.
The images are of the type javax.media.jai.PlanarImage
;
the coordinates are of the type java.lang.Object
.
The tuple (image, coordinate) is represented by class
javax.media.jai.CoordinateImage
.
This class can be used to represent medical or geophysical images.
PlanarImage
Fields inherited from class javax.media.jai.CollectionImage |
eventManager,
imageCollection,
imageFactory,
properties,
sinks |
Constructor Summary | |
protected |
ImageStack()
Deprecated. The default constructor. |
|
ImageStack(Collection images)
Deprecated. Constructor. |
Method Summary | |
boolean |
add(Object o)
Deprecated. Adds a CoordinateImage to this collection. |
Object |
getCoordinate(PlanarImage pi)
Deprecated. Returns the coordinate associated with the specified image, or null if pi is null or
if no match is found. |
PlanarImage |
getImage(Object c)
Deprecated. Returns the image associated with the specified coordinate, or null if c is null or
if no match is found. |
boolean |
remove(Object c)
Deprecated. Removes the CoordinateImage that contains the
specified coordinate from this collection. |
boolean |
remove(PlanarImage pi)
Deprecated. Removes the CoordinateImage 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 |
Constructor Detail |
protected ImageStack()
public ImageStack(Collection images)
images
- A collection of CoordinateImage
.images
is null
.Method Detail |
public PlanarImage getImage(Object c)
null
if c
is null
or
if no match is found.c
- The specified coordinate object.public Object getCoordinate(PlanarImage pi)
null
if pi
is null
or
if no match is found.pi
- The specified planar image.public boolean add(Object o)
CoordinateImage
to this collection. If the
specified image is null
, it is not added to the
collection.CoordinateImage
is added
to the collection.public boolean remove(PlanarImage pi)
CoordinateImage
that contains the
specified image from this collection.pi
- The specified planar image.CoordinateImage
containing
the specified image is removed from the collection.public boolean remove(Object c)
CoordinateImage
that contains the
specified coordinate from this collection.c
- The specified coordinate object.CoordinateImage
containing
the specified coordinate is removed from the collection.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |