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, setDimensionsclone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColorpublic 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 PointFilterpublic java.lang.String toString()
toString in class java.lang.Object