Package org.geotools.image.palette
Class InverseColorMapRasterOp
Object
InverseColorMapRasterOp
- All Implemented Interfaces:
RasterOp
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Default value for the threshold to decide whether a pixel is opaque (>=) or transparent (<).static final int
Default number of quantization colors used to build the index for the inverse color map. -
Constructor Summary
ConstructorsConstructorDescriptionInverseColorMapRasterOp
(IndexColorModel destCM, int quantizationColors, int alphaThreshold) -
Method Summary
Modifier and TypeMethodDescriptionfilter
(Raster src, WritableRaster dest) getBounds2D
(Raster src) getPoint2D
(Point2D srcPt, Point2D dstPt)
-
Field Details
-
DEFAULT_QUANTIZATION_COLORS
public static final int DEFAULT_QUANTIZATION_COLORSDefault number of quantization colors used to build the index for the inverse color map.- See Also:
-
DEFAULT_ALPHA_TH
public static final int DEFAULT_ALPHA_THDefault value for the threshold to decide whether a pixel is opaque (>=) or transparent (<).- See Also:
-
-
Constructor Details
-
InverseColorMapRasterOp
-
InverseColorMapRasterOp
-
-
Method Details
-
createCompatibleDestRaster
- Specified by:
createCompatibleDestRaster
in interfaceRasterOp
-
filter
-
getBounds2D
- Specified by:
getBounds2D
in interfaceRasterOp
-
getPoint2D
- Specified by:
getPoint2D
in interfaceRasterOp
-
getRenderingHints
- Specified by:
getRenderingHints
in interfaceRasterOp
-