Catalano.Imaging.Filters
Class BinaryClosing
- java.lang.Object
-
- Catalano.Imaging.Filters.BinaryClosing
-
- All Implemented Interfaces:
- IApplyInPlace
public class BinaryClosing extends java.lang.Object implements IApplyInPlace
Binary Closing operator from Mathematical Morphology.Applied to binary image, the filter may be used connect or fill objects. Since dilatation is used first, it may connect/fill object areas. Then erosion restores objects. But since dilatation may connect something before, erosion may not remove after that because of the formed connection.
Properties:
- Supported types: Grayscale.
- Coordinate System: Matrix.
-
-
Constructor Summary
Constructors Constructor and Description BinaryClosing()Initializes a new instance of the BinaryClosing class.BinaryClosing(int radius)Initializes a new instance of the BinaryClosing class.BinaryClosing(int[][] se)Initializes a new instance of the BinaryClosing 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
-
BinaryClosing
public BinaryClosing()
Initializes a new instance of the BinaryClosing class.
-
BinaryClosing
public BinaryClosing(int[][] se)
Initializes a new instance of the BinaryClosing class.- Parameters:
se- Structuring element.
-
BinaryClosing
public BinaryClosing(int radius)
Initializes a new instance of the BinaryClosing 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