| |
|
| java.lang.Object javax.media.jai.CollectionImage javax.media.jai.ImageStack
ImageStack | abstract public class ImageStack extends CollectionImage (Code) | | 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.
See Also: PlanarImage |
Method Summary | |
public boolean | add(Object o) Adds a CoordinateImage to this collection. | public Object | getCoordinate(PlanarImage pi) Returns the coordinate associated with the specified image,
or null if pi is null or
if no match is found. | public PlanarImage | getImage(Object c) Returns the image associated with the specified coordinate,
or null if c is null or
if no match is found. | public boolean | remove(PlanarImage pi) Removes the CoordinateImage that contains the
specified image from this collection.
Parameters: pi - The specified planar image. | public boolean | remove(Object c) Removes the CoordinateImage that contains the
specified coordinate from this collection.
Parameters: c - The specified coordinate object. |
ImageStack | protected ImageStack()(Code) | | The default constructor.
|
add | public boolean add(Object o)(Code) | | Adds a CoordinateImage to this collection. If the
specified image is null , it is not added to the
collection.
true if and only if the CoordinateImage is addedto the collection. |
getCoordinate | public Object getCoordinate(PlanarImage pi)(Code) | | Returns the coordinate associated with the specified image,
or null if pi is null or
if no match is found.
Parameters: pi - The specified planar image. |
getImage | public PlanarImage getImage(Object c)(Code) | | Returns the image associated with the specified coordinate,
or null if c is null or
if no match is found.
Parameters: c - The specified coordinate object. |
remove | public boolean remove(PlanarImage pi)(Code) | | Removes the CoordinateImage that contains the
specified image from this collection.
Parameters: pi - The specified planar image. true if and only if a CoordinateImage containingthe specified image is removed from the collection. |
remove | public boolean remove(Object c)(Code) | | Removes the CoordinateImage that contains the
specified coordinate from this collection.
Parameters: c - The specified coordinate object. true if and only if a CoordinateImage containingthe specified coordinate is removed from the collection. |
|
|
|