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
filterListener
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, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGB
protected int newColor
protected BinaryFunction blackFunction
protected int iterations
protected Colormap colormap
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(org.zimowski.bambi.jhlabs.image.Colormap)
public void setNewColor(int newColor)
public int getNewColor()
public void setBlackFunction(BinaryFunction blackFunction)
public BinaryFunction getBlackFunction()
Copyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.