Catalano.Imaging.Filters
Class BinaryOpening
- java.lang.Object
-
- Catalano.Imaging.Filters.BinaryOpening
-
- All Implemented Interfaces:
- IApplyInPlace
public class BinaryOpening extends java.lang.Object implements IApplyInPlace
Binary 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.
- Supported types: Grayscale.
- Coordinate System: Matrix.
-
-
Constructor Summary
Constructors Constructor and Description BinaryOpening()Initializes a new instance of the Binary Opening class.BinaryOpening(int radius)Initializes a new instance of the Binary Opening class.BinaryOpening(int[][] se)Initializes a new instance of the Binary 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
-
BinaryOpening
public BinaryOpening()
Initializes a new instance of the Binary Opening class.
-
BinaryOpening
public BinaryOpening(int[][] se)
Initializes a new instance of the Binary Opening class.- Parameters:
se- Structuring element.
-
BinaryOpening
public BinaryOpening(int radius)
Initializes a new instance of the Binary 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