public class RasterAccessorExt
extends javax.media.jai.RasterAccessor
Modifier and Type | Field and Description |
---|---|
static int |
GRAY_EXPANSION_MASK
The bits of a FormatTag associated with the gray expansion.
|
static int |
GRAY_SCALE
Flag indicating the gray bands should be rescaled to the target type
|
static int |
GRAY_TO_RGB
Flag indicating the gray bands should be expanded to RGB
|
static int |
UNEXPANDED
Flag indicating the gray bands should not be expanded
|
bandDataOffsets, bandOffsets, binaryDataArray, byteDataArrays, COPIED, COPY_MASK, DATATYPE_MASK, DEFAULTEXPANSION, doubleDataArrays, EXPANDED, EXPANSION_MASK, floatDataArrays, formatTagID, intDataArrays, numBands, pixelStride, raster, rectHeight, rectWidth, rectX, rectY, scanlineStride, shortDataArrays, TAG_BYTE_EXPANDED, TAG_BYTE_UNCOPIED, TAG_DOUBLE_COPIED, TAG_DOUBLE_UNCOPIED, TAG_FLOAT_COPIED, TAG_FLOAT_UNCOPIED, TAG_INT_COPIED, TAG_INT_UNCOPIED, TAG_SHORT_UNCOPIED, TAG_USHORT_UNCOPIED, UNCOPIED
Constructor and Description |
---|
RasterAccessorExt(Raster raster,
Rectangle rect,
javax.media.jai.RasterFormatTag rft,
ColorModel theColorModel,
int targetBands,
int targetDataType) |
Modifier and Type | Method and Description |
---|---|
static Range |
expandNoData(Range noData,
javax.media.jai.RasterFormatTag rft,
RenderedImage sourceImage,
RenderedImage destImage) |
static javax.media.jai.RasterFormatTag[] |
findCompatibleTags(RenderedImage[] srcs,
RenderedImage dst)
Finds the appropriate tags for the constructor, based on the SampleModel and ColorModel of
all the source and destination.
|
clampDataArrays, copyBinaryDataToRaster, copyDataToRaster, findCompatibleTag, getBandOffset, getBandOffsets, getBinaryDataArray, getByteDataArray, getByteDataArrays, getDataArray, getDataType, getDoubleDataArray, getDoubleDataArrays, getFloatDataArray, getFloatDataArrays, getHeight, getIntDataArray, getIntDataArrays, getNumBands, getOffsetForBand, getOffsetsForBands, getPixelStride, getScanlineStride, getShortDataArray, getShortDataArrays, getWidth, getX, getY, isBinary, isDataCopy, needsClamping
public static final int GRAY_EXPANSION_MASK
public static final int UNEXPANDED
public static final int GRAY_TO_RGB
public static final int GRAY_SCALE
public RasterAccessorExt(Raster raster, Rectangle rect, javax.media.jai.RasterFormatTag rft, ColorModel theColorModel, int targetBands, int targetDataType)
public static javax.media.jai.RasterFormatTag[] findCompatibleTags(RenderedImage[] srcs, RenderedImage dst)
srcs
- The operations sources; may be null
which is taken to be equivalent
to zero sources.dst
- The operation destination.RasterFormatTag
s for the sources in the first
src.length elements and a RasterFormatTag
for the destination in the
last element.NullPointerException
- if dst
is null
.public static Range expandNoData(Range noData, javax.media.jai.RasterFormatTag rft, RenderedImage sourceImage, RenderedImage destImage)
Copyright © 2006–2017 GeoSolutions. All rights reserved.