public abstract class BinaryFilter extends WholeImageFilter
| Modifier and Type | Field and Description |
|---|---|
protected BinaryFunction |
blackFunction |
protected Colormap |
colormap |
protected int |
iterations |
protected int |
newColor |
originalSpace, transformedSpace| Constructor and Description |
|---|
BinaryFilter() |
| Modifier and Type | Method and Description |
|---|---|
BinaryFunction |
getBlackFunction() |
Colormap |
getColormap()
Get the colormap to be used for the filter.
|
int |
getIterations()
Get the number of iterations the effect is performed.
|
int |
getNewColor() |
void |
setBlackFunction(BinaryFunction blackFunction) |
void |
setColormap(Colormap colormap)
Set the colormap to be used for the filter.
|
void |
setIterations(int iterations)
Set the number of iterations the effect is performed.
|
void |
setNewColor(int newColor) |
filter, filterPixels, transformSpaceclone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColorprotected int newColor
protected BinaryFunction blackFunction
protected int iterations
protected Colormap colormap
public void setIterations(int iterations)
iterations - the number of iterations, min-value 0getIterations()public int getIterations()
setIterations(int)public void setColormap(Colormap colormap)
colormap - the colormapgetColormap()public Colormap getColormap()
setColormap(com.jhlabs.image.Colormap)public void setNewColor(int newColor)
public int getNewColor()
public void setBlackFunction(BinaryFunction blackFunction)
public BinaryFunction getBlackFunction()