public class RangeLookupOpImage
extends javax.media.jai.PointOpImage
ROI
s may be used in computations.RangeLookupDescriptor
Modifier and Type | Field and Description |
---|---|
static boolean |
ARRAY_CALC
Constant indicating that the inner random iterators must pre-calculate an array of the image positions
|
static boolean |
TILE_CACHED
Constant indicating that the inner random iterators must cache the current tile position
|
Constructor and Description |
---|
RangeLookupOpImage(RenderedImage source,
Map config,
javax.media.jai.ImageLayout layout,
RangeLookupTable table,
Number defaultValue,
javax.media.jai.ROI roi)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
computeRect(Raster[] sources,
WritableRaster dest,
Rectangle destRect)
Do lookups for the specified destination rectangle
|
computeTile, dispose, isColormapOperation, mapDestRect, mapSourceRect, permitInPlaceOperation
addTileToCache, cancelTiles, computeRect, computesUniqueTiles, createTile, getExpandedNumBands, getFormatTags, getOperationComputeType, getTile, getTileCache, getTileCacheMetric, getTileDependencies, getTileFromCache, getTileRecycler, getTiles, hasExtender, mapDestPoint, mapSourcePoint, prefetchTiles, queueTiles, recycleTile, setTileCache, vectorize, vectorize, vectorize
addPropertyChangeListener, addPropertyChangeListener, addSink, addSink, addSource, addTileComputationListener, copyData, copyData, copyExtendedData, createColorModel, createSnapshot, createWritableRaster, finalize, getAsBufferedImage, getAsBufferedImage, getBounds, getColorModel, getData, getData, getDefaultColorModel, getExtendedData, getGraphics, getHeight, getImageID, getMaxTileX, getMaxTileY, getMaxX, getMaxY, getMinTileX, getMinTileY, getMinX, getMinY, getNumBands, getNumSources, getNumXTiles, getNumYTiles, getProperties, 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, removeSink, removeSinks, removeSource, removeSources, removeTileComputationListener, setImageLayout, setProperties, setProperty, setSource, setSources, tileXToX, tileXToX, tileYToY, tileYToY, toString, wrapRenderedImage, XToTileX, XToTileX, YToTileY, YToTileY
public static final boolean ARRAY_CALC
public static final boolean TILE_CACHED
public RangeLookupOpImage(RenderedImage source, Map config, javax.media.jai.ImageLayout layout, RangeLookupTable table, Number defaultValue, javax.media.jai.ROI roi)
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
- ROI
object used for masking image areas.RangeLookupDescriptor
protected void computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect)
computeRect
in class javax.media.jai.OpImage
sources
- an array of source Rastersdest
- a WritableRaster tile containing the area to be computed.destRect
- the rectangle within dest to be processed.Copyright © 2006–2018 GeoSolutions. All rights reserved.