Package org.geotools.image.palette
Class InverseColorMapRasterOp
Object
InverseColorMapRasterOp
- All Implemented Interfaces:
RasterOp
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault value for the threshold to decide whether a pixel is opaque (>=) or transparent (<).static final intDefault 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:
createCompatibleDestRasterin interfaceRasterOp
-
filter
-
getBounds2D
- Specified by:
getBounds2Din interfaceRasterOp
-
getPoint2D
- Specified by:
getPoint2Din interfaceRasterOp
-
getRenderingHints
- Specified by:
getRenderingHintsin interfaceRasterOp
-