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.


Variable Index

 o threshold

Constructor Index

 o ErodeFilter()

Method Index

 o getThreshold()
Return the threshold - the number of neighbouring pixels for dilation to occur.
 o imageComplete(int)
 o setThreshold(int)
Set the threshold - the number of neighbouring pixels for dilation to occur.
 o toString()

Variables

 o threshold
 protected int threshold

Constructors

 o ErodeFilter
 public ErodeFilter()

Methods

 o setThreshold
 public void setThreshold(int threshold)
Set the threshold - the number of neighbouring pixels for dilation to occur.

Parameters:
threshold - the new threshold
 o getThreshold
 public int getThreshold()
Return the threshold - the number of neighbouring pixels for dilation to occur.

Returns:
the current threshold
 o imageComplete
 public void imageComplete(int status)
Overrides:
imageComplete in class java.awt.image.ImageFilter
 o toString
 public java.lang.String toString()
Overrides:
toString in class java.lang.Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index