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, transformSpace
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
protected int newColor
protected BinaryFunction blackFunction
protected int iterations
public BinaryFilter()
public void setIterations(int iterations)
iterations
- the number of iterationsgetIterations()
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()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses