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