public class GenericPiecewiseOpImage<T extends PiecewiseTransform1DElement>
extends javax.media.jai.ColormapOpImage
GenericPiecewise.CRIF
inner class, where "CRIF" stands for
ContextualRenderedImageFactory
. The image operation name is "GenericPiecewise".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
|
protected boolean |
isByteData
Boolean indicating if the output samplemodel has a Byte dataType
|
static String |
OPERATION_NAME
The operation name.
|
static boolean |
TILE_CACHED
Constant indicating that the inner random iterators must cache the current tile position
|
Constructor and Description |
---|
GenericPiecewiseOpImage(RenderedImage image,
PiecewiseTransform1D<T> lic,
javax.media.jai.ImageLayout layout,
Integer bandIndex,
javax.media.jai.ROI roi,
Range nodata,
RenderingHints hints,
boolean cobbleSources)
Constructs a new
RasterClassifier . |
Modifier and Type | Method and Description |
---|---|
protected void |
computeRect(Raster[] sources,
WritableRaster dest,
Rectangle destRect) |
protected void |
transformColormap(byte[][] colormap)
Transform the colormap according to the rescaling parameters.
|
initializeColormapOperation, isColormapOperation
computeTile, dispose, 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 String OPERATION_NAME
public static final boolean ARRAY_CALC
public static final boolean TILE_CACHED
protected boolean isByteData
public GenericPiecewiseOpImage(RenderedImage image, PiecewiseTransform1D<T> lic, javax.media.jai.ImageLayout layout, Integer bandIndex, javax.media.jai.ROI roi, Range nodata, RenderingHints hints, boolean cobbleSources)
RasterClassifier
.image
- The source image.lic
- The DefaultPiecewiseTransform1D.bandIndex
- index used for defining the band to calculateroi
- ROI
used for reducing computation areanodata
- Range
used for defining NoData valueshints
- The rendering hints.protected void computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect)
computeRect
in class javax.media.jai.OpImage
protected void transformColormap(byte[][] colormap)
transformColormap
in class javax.media.jai.ColormapOpImage
Copyright © 2006–2015 GeoSolutions. All rights reserved.