org.jscience.media.pictures.filters
Class BinaryFilter

java.lang.Object
  extended by java.awt.image.ImageFilter
      extended by org.jscience.media.pictures.filters.WholeImageFilter
          extended by org.jscience.media.pictures.filters.BinaryFilter
All Implemented Interfaces:
java.awt.image.ImageConsumer, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
DilateFilter, ErodeFilter, LifeFilter, OutlineFilter, SkeletonFilter

public class BinaryFilter
extends WholeImageFilter

DOCUMENT ME!

See Also:
Serialized Form

Field Summary
protected  BinaryFunction blackFunction
          DOCUMENT ME!
protected  Colormap colormap
          DOCUMENT ME!
protected  int iterations
          DOCUMENT ME!
protected  int newColor
          DOCUMENT ME!
 
Fields inherited from class org.jscience.media.pictures.filters.WholeImageFilter
canFilterIndexColorModel, defaultRGBModel, inBytePixels, inPixels, originalSpace, transformedSpace
 
Fields inherited from class java.awt.image.ImageFilter
consumer
 
Fields inherited from interface java.awt.image.ImageConsumer
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT
 
Constructor Summary
BinaryFilter()
           
 
Method Summary
 BinaryFunction getBlackFunction()
          DOCUMENT ME!
 Colormap getColormap()
          DOCUMENT ME!
 int getIterations()
          DOCUMENT ME!
 int getNewColor()
          DOCUMENT ME!
 void setBlackFunction(BinaryFunction blackFunction)
          DOCUMENT ME!
 void setColormap(Colormap colormap)
          DOCUMENT ME!
 void setIterations(int iterations)
          DOCUMENT ME!
 void setNewColor(int newColor)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.media.pictures.filters.WholeImageFilter
setColorModel, setDimensions, setPixels, setPixels, transformSpace
 
Methods inherited from class java.awt.image.ImageFilter
clone, getFilterInstance, imageComplete, resendTopDownLeftRight, setHints, setProperties
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

newColor

protected int newColor
DOCUMENT ME!


blackFunction

protected BinaryFunction blackFunction
DOCUMENT ME!


iterations

protected int iterations
DOCUMENT ME!


colormap

protected Colormap colormap
DOCUMENT ME!

Constructor Detail

BinaryFilter

public BinaryFilter()
Method Detail

setIterations

public void setIterations(int iterations)
DOCUMENT ME!

Parameters:
iterations - DOCUMENT ME!

getIterations

public int getIterations()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setColormap

public void setColormap(Colormap colormap)
DOCUMENT ME!

Parameters:
colormap - DOCUMENT ME!

getColormap

public Colormap getColormap()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setNewColor

public void setNewColor(int newColor)
DOCUMENT ME!

Parameters:
newColor - DOCUMENT ME!

getNewColor

public int getNewColor()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setBlackFunction

public void setBlackFunction(BinaryFunction blackFunction)
DOCUMENT ME!

Parameters:
blackFunction - DOCUMENT ME!

getBlackFunction

public BinaryFunction getBlackFunction()
DOCUMENT ME!

Returns:
DOCUMENT ME!