All Packages Class Hierarchy This Package Previous Next Index
Class com.jhlabs.image.ErodeFilter
java.lang.Object
|
+----java.awt.image.ImageFilter
|
+----com.jhlabs.image.WholeImageFilter
|
+----com.jhlabs.image.BinaryFilter
|
+----com.jhlabs.image.ErodeFilter
- public class ErodeFilter
- extends com.jhlabs.image.BinaryFilter
Given a binary image, this filter performs binary erosion, setting all removed pixels to the given 'new' color.
-
threshold
-
-
ErodeFilter()
-
-
getThreshold()
- Return the threshold - the number of neighbouring pixels for dilation to occur.
-
imageComplete(int)
-
-
setThreshold(int)
- Set the threshold - the number of neighbouring pixels for dilation to occur.
-
toString()
-
threshold
protected int threshold
ErodeFilter
public ErodeFilter()
setThreshold
public void setThreshold(int threshold)
- Set the threshold - the number of neighbouring pixels for dilation to occur.
- Parameters:
- threshold - the new threshold
getThreshold
public int getThreshold()
- Return the threshold - the number of neighbouring pixels for dilation to occur.
- Returns:
- the current threshold
imageComplete
public void imageComplete(int status)
- Overrides:
- imageComplete in class java.awt.image.ImageFilter
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
All Packages Class Hierarchy This Package Previous Next Index