org.geotools.image.palette
Class InverseColorMapOp
Object
InverseColorMapOp
- All Implemented Interfaces:
- BufferedImageOp
public final class InverseColorMapOp
- extends Object
- implements BufferedImageOp
This class provide an Image oriented interface for the
EfficientInverseColorMapComputation
. Specifically, it is designed in
order to implement the BufferedImage
for processing
BufferedImage
s efficiently accessing the raster pixels directly but
it also provide a method to process general RenderedImage
s
implementations.
- Author:
- Simone Giannecchini - GeoSolutions SAS
- See Also:
EfficientInverseColorMapComputation
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rasterOp
protected final InverseColorMapRasterOp rasterOp
icm
protected final IndexColorModel icm
alphaThreshold
protected final int alphaThreshold
hasAlpha
protected final boolean hasAlpha
transparencyIndex
protected final int transparencyIndex
InverseColorMapOp
public InverseColorMapOp(IndexColorModel destCM,
int quantizationColors,
int alphaThreshold)
InverseColorMapOp
public InverseColorMapOp(IndexColorModel destCM)
createCompatibleDestImage
public BufferedImage createCompatibleDestImage(BufferedImage src,
ColorModel destCM)
- Specified by:
createCompatibleDestImage
in interface BufferedImageOp
filter
public BufferedImage filter(BufferedImage src,
BufferedImage dest)
- Specified by:
filter
in interface BufferedImageOp
filterRenderedImage
public BufferedImage filterRenderedImage(RenderedImage src)
getBounds2D
public Rectangle2D getBounds2D(BufferedImage src)
- Specified by:
getBounds2D
in interface BufferedImageOp
getPoint2D
public Point2D getPoint2D(Point2D srcPt,
Point2D dstPt)
- Specified by:
getPoint2D
in interface BufferedImageOp
getRenderingHints
public RenderingHints getRenderingHints()
- Specified by:
getRenderingHints
in interface BufferedImageOp
getIcm
public IndexColorModel getIcm()
Copyright © 1996-2010 Geotools. All Rights Reserved.