com.pearsoneduc.ip.op
Class BinaryErodeOp

java.lang.Object
  |
  +--com.pearsoneduc.ip.op.StandardGreyOp
        |
        +--com.pearsoneduc.ip.op.BinaryMorphologicalOp
              |
              +--com.pearsoneduc.ip.op.BinaryErodeOp

public class BinaryErodeOp
extends BinaryMorphologicalOp

Performs the morphological operation of erosion on a binary image. 'Binary image' is taken here to mean a greyscale image with just two values, one of which is zero.

Version:
1.0 [1999/08/30]
Author:
Nick Efford

Fields inherited from class com.pearsoneduc.ip.op.BinaryMorphologicalOp
nonZeroValue
 
Constructor Summary
BinaryErodeOp(BinaryStructElement element)
          Creates a BinaryErodeOp that uses the specified structuring element.
 
Method Summary
 java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dest)
          Performs morphological erosion of a binary image.
 
Methods inherited from class com.pearsoneduc.ip.op.BinaryMorphologicalOp
checkImage
 
Methods inherited from class com.pearsoneduc.ip.op.StandardGreyOp
createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryErodeOp

public BinaryErodeOp(BinaryStructElement element)
Creates a BinaryErodeOp that uses the specified structuring element.
Parameters:
element - structuring element
Method Detail

filter

public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src,
                                           java.awt.image.BufferedImage dest)
Performs morphological erosion of a binary image.
Parameters:
src - source image
dest - destination image, or null
Returns:
eroded image.
Overrides:
filter in class StandardGreyOp