com.jhlabs.image
Class BinaryFilter

java.lang.Object
  extended by com.jhlabs.image.AbstractBufferedImageOp
      extended by com.jhlabs.image.WholeImageFilter
          extended by com.jhlabs.image.BinaryFilter
All Implemented Interfaces:
java.awt.image.BufferedImageOp, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
DilateFilter, ErodeFilter, LifeFilter, OutlineFilter, SkeletonFilter

public abstract class BinaryFilter
extends WholeImageFilter

See Also:
Serialized Form

Field Summary
protected  BinaryFunction blackFunction
           
protected  Colormap colormap
           
protected  int iterations
           
protected  int newColor
           
 
Fields inherited from class com.jhlabs.image.WholeImageFilter
originalSpace, transformedSpace
 
Constructor Summary
BinaryFilter()
           
 
Method Summary
 BinaryFunction getBlackFunction()
           
 Colormap getColormap()
           
 int getIterations()
           
 int getNewColor()
           
 void setBlackFunction(BinaryFunction blackFunction)
           
 void setColormap(Colormap colormap)
           
 void setIterations(int iterations)
           
 void setNewColor(int newColor)
           
 
Methods inherited from class com.jhlabs.image.WholeImageFilter
filter, filterPixels, transformSpace
 
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

newColor

protected int newColor

blackFunction

protected BinaryFunction blackFunction

iterations

protected int iterations

colormap

protected Colormap colormap
Constructor Detail

BinaryFilter

public BinaryFilter()
Method Detail

setIterations

public void setIterations(int iterations)

getIterations

public int getIterations()

setColormap

public void setColormap(Colormap colormap)

getColormap

public Colormap getColormap()

setNewColor

public void setNewColor(int newColor)

getNewColor

public int getNewColor()

setBlackFunction

public void setBlackFunction(BinaryFunction blackFunction)

getBlackFunction

public BinaryFunction getBlackFunction()