Package org.eclipse.imagen.media.rlookup
Class RangeLookupOpImage
Object
PlanarImage
OpImage
PointOpImage
RangeLookupOpImage
- All Implemented Interfaces:
RenderedImage,ImageImageN,PropertyChangeEmitter,PropertySource,WritablePropertySource
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanConstant indicating that the inner random iterators must pre-calculate an array of the image positionsstatic final booleanConstant indicating that the inner random iterators must cache the current tile positionFields inherited from class OpImage
OP_COMPUTE_BOUND, OP_IO_BOUND, OP_NETWORK_BOUND -
Constructor Summary
ConstructorsConstructorDescriptionRangeLookupOpImage(RenderedImage source, Map config, ImageLayout layout, RangeLookupTable table, Number defaultValue, ROI roi) Constructor -
Method Summary
Methods inherited from class PointOpImage
computeTile, dispose, mapDestRect, mapSourceRectMethods inherited from class OpImage
cancelTiles, computesUniqueTiles, getExpandedNumBands, getOperationComputeType, getTile, getTileCache, getTileCacheMetric, getTileDependencies, getTileRecycler, getTiles, hasExtender, mapDestPoint, mapSourcePoint, prefetchTiles, queueTiles, setTileCacheMethods inherited from class PlanarImage
addPropertyChangeListener, addPropertyChangeListener, addSink, addTileComputationListener, copyData, copyData, copyExtendedData, createColorModel, createSnapshot, getAsBufferedImage, getAsBufferedImage, getBounds, getColorModel, getData, getData, getDefaultColorModel, getExtendedData, getGraphics, getHeight, getImageID, getMaxTileX, getMaxTileY, getMaxX, getMaxY, getMinTileX, getMinTileY, getMinX, getMinY, getNumBands, getNumSources, getNumXTiles, getNumYTiles, getProperty, getPropertyClass, getPropertyNames, getPropertyNames, getSampleModel, getSinks, getSource, getSourceImage, getSourceObject, getSources, getSplits, getTileComputationListeners, getTileFactory, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileIndices, getTileRect, getTiles, getTileWidth, getWidth, overlapsMultipleTiles, removeProperty, removePropertyChangeListener, removePropertyChangeListener, removeSink, removeSinks, removeTileComputationListener, setProperty, tileXToX, tileXToX, tileYToY, tileYToY, toString, wrapRenderedImage, XToTileX, XToTileX, YToTileY, YToTileY
-
Field Details
-
ARRAY_CALC
public static final boolean ARRAY_CALCConstant indicating that the inner random iterators must pre-calculate an array of the image positions- See Also:
-
TILE_CACHED
public static final boolean TILE_CACHEDConstant 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 imagelayout- 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 valuesdefaultValue- either a value to use for all unmatched source values or null to indicate that unmatched values should pass-through to the destinationroi-ROIobject used for masking image areas.- See Also:
-