public class LookupFilter extends PointFilter
canFilterIndexColorModel
Constructor and Description |
---|
LookupFilter()
Construct a LookupFilter.
|
LookupFilter(Colormap colormap)
Construct a LookupFilter.
|
Modifier and Type | Method and Description |
---|---|
int |
filterRGB(int x,
int y,
int rgb) |
Colormap |
getColormap()
Get the colormap to be used for the filter.
|
void |
setColormap(Colormap colormap)
Set the colormap to be used for the filter.
|
java.lang.String |
toString() |
filter, setDimensions
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
public LookupFilter()
public LookupFilter(Colormap colormap)
colormap
- the color mappublic void setColormap(Colormap colormap)
colormap
- the colormapgetColormap()
public Colormap getColormap()
setColormap(com.jhlabs.image.Colormap)
public int filterRGB(int x, int y, int rgb)
filterRGB
in class PointFilter
public java.lang.String toString()
toString
in class java.lang.Object