spiral.digitalize.filters
Class BinaryFilter
java.lang.Object
|
+--java.awt.image.ImageFilter
|
+--spiral.digitalize.filters.WholeImageFilter
|
+--spiral.digitalize.filters.BinaryFilter
- All Implemented Interfaces:
- java.lang.Cloneable, java.awt.image.ImageConsumer, java.io.Serializable
- Direct Known Subclasses:
- DilateFilter, SkeletonFilter
- public class BinaryFilter
- extends WholeImageFilter
This class is part of package downloaded from JH Labs - filters
Title: JH Labs - filters
Description: Superclass for implementing filters over binary images
Copyright: Copyright (C) Jerry Huxtable 1998
Company:
- See Also:
- Serialized Form
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 |
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 |
newColor
protected int newColor
blackFunction
protected BinaryFunction blackFunction
iterations
protected int iterations
colormap
protected Colormap colormap
BinaryFilter
public BinaryFilter()
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()