public class LookupFilter extends PointFilter
Modifier and Type | Field and Description |
---|---|
private Colormap |
colormap |
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.
|
String |
toString() |
filter, setDimensions
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
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
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses