com.jhlabs.image
Class BinaryFilter
- BufferedImageOp, Cloneable
public abstract class BinaryFilter
The superclass for some of the filters which work on binary images.
iterations
protected int iterations
newColor
protected int newColor
getColormap
public Colormap getColormap()
Get the colormap to be used for the filter.
getIterations
public int getIterations()
Get the number of iterations the effect is performed.
getNewColor
public int getNewColor()
setBlackFunction
public void setBlackFunction(BinaryFunction blackFunction)
setColormap
public void setColormap(Colormap colormap)
Set the colormap to be used for the filter.
setIterations
public void setIterations(int iterations)
Set the number of iterations the effect is performed.
iterations
- the number of iterations
setNewColor
public void setNewColor(int newColor)