Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_ALPHA_TH
Default value for the threshold to decide whether a pixel is opaque (>=) or transparent (<).
|
static int |
DEFAULT_QUANTIZATION_COLORS
Default number of quantization colors used to build the index for the inverse color map.
|
Constructor and Description |
---|
InverseColorMapRasterOp(IndexColorModel destCM) |
InverseColorMapRasterOp(IndexColorModel destCM,
int quantizationColors,
int alphaThreshold) |
Modifier and Type | Method and Description |
---|---|
WritableRaster |
createCompatibleDestRaster(Raster src) |
WritableRaster |
filter(Raster src,
WritableRaster dest) |
Rectangle2D |
getBounds2D(Raster src) |
Point2D |
getPoint2D(Point2D srcPt,
Point2D dstPt) |
RenderingHints |
getRenderingHints() |
public static final int DEFAULT_QUANTIZATION_COLORS
public static final int DEFAULT_ALPHA_TH
public InverseColorMapRasterOp(IndexColorModel destCM, int quantizationColors, int alphaThreshold)
public InverseColorMapRasterOp(IndexColorModel destCM)
public WritableRaster createCompatibleDestRaster(Raster src)
createCompatibleDestRaster
in interface RasterOp
public WritableRaster filter(Raster src, WritableRaster dest)
public Rectangle2D getBounds2D(Raster src)
getBounds2D
in interface RasterOp
public Point2D getPoint2D(Point2D srcPt, Point2D dstPt)
getPoint2D
in interface RasterOp
public RenderingHints getRenderingHints()
getRenderingHints
in interface RasterOp
Copyright © 1996–2023 Geotools. All rights reserved.