Package org.apache.sis.image


package org.apache.sis.image
Provides helper classes for handling Java2D rendered images together with some operations. This package does not provide any geospatial functionalities; it works only on sample or pixel values stored in RenderedImages. Those rendered images have the following capabilities:
  • Images may have an arbitrary number of bands (not necessarily RGB).
  • Sample values can be bytes, shorts (signed or unsigned), integers or floating-point values.
  • Images can be tiled.
This package is used as a basis for georectified or georeferenceable grid coverages.

Usage note

Some images are writable. But modifying pixel values should be done by invoking the getWritableTile(…) and releaseWritableTile(…) methods of WritableRenderedImage interface. Do not cast directly a Raster to WritableRaster even when the cast is safe, because some raster data may be shared by many tiles having identical content. Furthermore, changes in pixel values may be lost if releaseWritableTile(…) is not invoked.
Since:
1.0
Version:
1.3