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.
Usage note
Some images are writable. But modifying pixel values should be done by invoking thegetWritableTile(…)
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
-
ClassDescriptionAn image which wraps an existing image unchanged, except for properties which are computed on the fly when first requested.Keys in the
AnnotatedImage.cachewhenAnnotatedImage.areaOfInterestis non-null.A pixel iterator reading values directly from aDataBufferinstead of usingRasterAPI.An image where each sample value is computed independently of other sample values and independently of neighbor points.ABandedSampleConvertercapable to retro-propagate the changes to the source coverage.Selects or reorder bands from a source image.An image with tiles computed on-the-fly and cached for future reuse.Weak reference to aComputedImageimage together with information about tile status.Identification of the primitive type used for storing sample values in an image.Some common ways to handle exceptions occurring during tile calculation.Action to perform when errors occurred while reading or writing some tiles in an image.Information about errors that occurred while reading or writing tiles in an image.An image which wraps an existing image unchanged, except for properties and/or color model.Combines an arbitrary number of images into a single one.Provides sample model of images created by resample operations.A predefined set of operations on images as convenience methods.Execution modes specifying whether operations can be executed in parallel.WhetherImageProcessorcan produce an image of different size compared to requested size.Algorithm for image interpolation (resampling).Lanczos interpolation of arbitrary size.An image which is the result of clearing all pixels inside or outside a geometry.Mask of missing values.An iterator over sample values in a raster or an image.Builds pixel iterators for specified region of interest, window size or iteration order.PixelIterator.Window<T extends Buffer>Contains the sample values in a moving window over the image.Base class ofRenderedImageimplementations in Apache SIS.Estimation of positional error for each pixel in an image computed byResampledImage.An image which delegate all tile requests to another image except for some tiles that are fetched in advance.An image with the same sample values than the wrapped image but a different color model.An image which is the result of resampling the pixel values of another image.A grid of precomputed pixel coordinates in source images.Key of cachedResamplingGridinstances.Specifies the order in which attribute value records are assigned to grid points.An image computed from a single source and sharing the same coordinate system.Computes statistics on all pixel values of an image.A cache of tiles computed byComputedImage.A compound key identifying a tile of aComputedImage.Strategy for reading and writing data between two rasters, with a computation between them.Readdoublevalues from the source raster and write unsignedbytevalues in a temporary buffer.Readdoublevalues from the source and writedoublevalues directly in the target raster, without intermediate buffer.Readdoublevalues from the source raster and writedoublevalues in a temporary buffer.Readdoublevalues from the source raster and writeintvalues in a temporary buffer.Readdoublevalues from the source raster and write signedshortvalues in a temporary buffer.Readdoublevalues from the source raster and write unsignedshortvalues in a temporary buffer.Readfloatvalues from the source raster and write unsignedbytevalues in a temporary buffer.Readfloatvalues from the source and writefloatvalues directly in the target raster, without intermediate buffer.Readfloatvalues from the source raster and writefloatvalues in a temporary buffer.Readfloatvalues from the source raster and writeintvalues in a temporary buffer.Readfloatvalues from the source raster and write signedshortvalues in a temporary buffer.Readfloatvalues from the source raster and write unsignedshortvalues in a temporary buffer.TransferType<T extends Buffer>The type of data used to transfer pixels.Image generated for visualization purposes only (not to be used for computation purposes).Builds an image where all sample values are indices of colors in anIndexColorModel.Interpolation followed by conversion from floating point values to the values to store as integers in the destination image.Same asVisualization.InterpConvertoptimized for the single-band case.A pixel iterator capable to write sample values.