Catalano.Imaging.Filters
Class Opening
- java.lang.Object
-
- Catalano.Imaging.Filters.Opening
-
- All Implemented Interfaces:
- IApplyInPlace
public class Opening extends java.lang.Object implements IApplyInPlace
Opening operator from Mathematical Morphology.
Applied to binary image, the filter may be used for removing small object keeping big objects unchanged. Since erosion is used first, it removes all small objects. Then dilatation restores big objects, which were not removed by erosion.
-
-
Constructor Summary
Constructors Constructor and Description Opening()Initializes a new instance of the Opening class.Opening(int radius)Initializes a new instance of the Opening class.Opening(int[][] se)Initializes a new instance of the Opening class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyInPlace(FastBitmap fastBitmap)Apply filter to an image.
-
-
-
Constructor Detail
-
Opening
public Opening()
Initializes a new instance of the Opening class.
-
Opening
public Opening(int[][] se)
Initializes a new instance of the Opening class.- Parameters:
se- Structuring element.
-
Opening
public Opening(int radius)
Initializes a new instance of the Opening class.- Parameters:
radius- Radius.
-
-
Method Detail
-
applyInPlace
public void applyInPlace(FastBitmap fastBitmap)
Description copied from interface:IApplyInPlaceApply filter to an image.- Specified by:
applyInPlacein interfaceIApplyInPlace- Parameters:
fastBitmap- Image to be processed.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG