com.pearsoneduc.ip.op
Class BinaryOpenOp

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

public class BinaryOpenOp
extends BinaryMorphologicalOp

Performs the morphological operation of opening 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
BinaryOpenOp(BinaryStructElement element)
          Creates a BinaryOpenOp 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 opening 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

BinaryOpenOp

public BinaryOpenOp(BinaryStructElement element)
Creates a BinaryOpenOp 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 opening of a binary image.
Parameters:
src - source image
dest - destination image, or null
Returns:
opened image.
Overrides:
filter in class StandardGreyOp