Provides classes to store images and data directly related to them.
Package Specification
The base interface for image data in JIU is {@link net.sourceforge.jiu.data.PixelImage}.
The concept of a pixel image includes the following properties:
- The image data is arranged as a rectangular grid of pixels.
The image has a fixed number of columns (width) and rows (height).
Width and height can be queried using the method getWidth and getHeight.
- Each pixel is made up of one or more samples.
The exact number of samples per pixel equals the number of channels.
Nothing is said about the nature of the samples (e. g., their type)
and no ways to access samples or pixels are provided in the PixelImage interface.
- A class implementing PixelImage must provide the createCompatibleImage method
which gets a width and a height value as parameters and must return a new object
of the same class with that pixel resolution.
- Helper methods in PixelImage include ways to get a textual description of the
type and the number of bytes allocated for a specific object implementing PixelImage.
The interface {@link net.sourceforge.jiu.data.IntegerImage} extends the
{@link net.sourceforge.jiu.data.PixelImage} interface.
All sample values belonging to an object of a class implementing IntegerImage
are supposed to be integer values that can be stored in an int
value (a signed 32 bit value).
Related Documentation