Package com.jhlabs.image
Class BinaryFilter
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.WholeImageFilter
com.jhlabs.image.BinaryFilter
- All Implemented Interfaces:
BufferedImageOp
,Serializable
,Cloneable
- Direct Known Subclasses:
DilateFilter
,ErodeFilter
,LifeFilter
,OutlineFilter
,SkeletonFilter
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BinaryFunction
protected Colormap
protected int
protected int
Fields inherited from class com.jhlabs.image.WholeImageFilter
originalSpace, transformedSpace
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
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
-
Field Details
-
newColor
protected int newColor -
blackFunction
-
iterations
protected int iterations -
colormap
-
-
Constructor Details
-
BinaryFilter
public BinaryFilter()
-
-
Method Details
-
setIterations
public void setIterations(int iterations) -
getIterations
public int getIterations() -
setColormap
-
getColormap
-
setNewColor
public void setNewColor(int newColor) -
getNewColor
public int getNewColor() -
setBlackFunction
-
getBlackFunction
-