JIGL
v1.6

jigl.image
Interface Image

All Known Subinterfaces:
InterpolatedImage
All Known Implementing Classes:
BinaryImage, ColorImage, ComplexImage, GrayImage, InterpolatedColorImage, InterpolatedGrayImage, InterpolatedRealColorImage, InterpolatedRealGrayImage, RealColorImage, RealGrayImage

public interface Image

Image is the interface for BinaryImage, GrayImage, RealGrayImage, ColorImage, RealColorImage, ComplexImage.

In addition, all typed Image classes must support the following typed methods: get set clear ...


Method Summary
 Image copy()
          Returns a deep copy of an image
 Image copy(ROI r)
          Returns a deep copy of the specified region of interest of the image.
 ImageProducer getJavaImage()
          Turns this image into a Java Image (java.awt.Image).
 String toString()
          Returns a string representation of an image
 int X()
          Returns the width of the image
 int Y()
          Returns the height of the image
 

Method Detail

X

public int X()
Returns the width of the image


Y

public int Y()
Returns the height of the image


toString

public String toString()
Returns a string representation of an image

Overrides:
toString in class Object

getJavaImage

public ImageProducer getJavaImage()
Turns this image into a Java Image (java.awt.Image).

See Also:
ImageProducer

copy

public Image copy()
Returns a deep copy of an image


copy

public Image copy(ROI r)
Returns a deep copy of the specified region of interest of the image.

Parameters:
r - region of interest of the image.

JIGL
v1.6

Submit a bug or feature
Revised in May 2002 by Weiming Liu