Class RangeLookupOpImage

All Implemented Interfaces:
RenderedImage, ImageImageN, PropertyChangeEmitter, PropertySource, WritablePropertySource

public class RangeLookupOpImage extends PointOpImage
This is a variation on the ImageN org.eclipse.imagen.LookupDescriptor. It works with a RangeLookupTable object in which each entry maps a source image value range to a destination image value. Optional ROIs may be used in computations.
Author:
Michael Bedward, Simone Giannecchini, GeoSolutions
See Also:
  • Field Details

    • ARRAY_CALC

      public static final boolean ARRAY_CALC
      Constant indicating that the inner random iterators must pre-calculate an array of the image positions
      See Also:
    • TILE_CACHED

      public static final boolean TILE_CACHED
      Constant indicating that the inner random iterators must cache the current tile position
      See Also:
  • Constructor Details

    • RangeLookupOpImage

      public RangeLookupOpImage(RenderedImage source, Map config, ImageLayout layout, RangeLookupTable table, Number defaultValue, ROI roi)
      Constructor
      Parameters:
      source - a RenderedImage.
      config - configurable attributes of the image
      layout - an ImageLayout optionally containing the tile grid layout, SampleModel, and ColorModel, or null.
      table - an instance of RangeLookupTable that defines the mappings from source value ranges to destination values
      defaultValue - either a value to use for all unmatched source values or null to indicate that unmatched values should pass-through to the destination
      roi - ROI object used for masking image areas.
      See Also: