Catalano.Imaging.Filters
Class BinaryBottomHat
- java.lang.Object
-
- Catalano.Imaging.Filters.BinaryBottomHat
-
- All Implemented Interfaces:
- IApplyInPlace
public class BinaryBottomHat extends java.lang.Object implements IApplyInPlace
Binary Bottom-hat operator from Mathematical Morphology.
Binary Bottom-hat morphological operator subtracts input image from the result of morphological closing on the the input image.
Applied to binary image, the filter allows to get all object parts, which were added by closing filter, but were not removed after that due to formed connections/fillings.- Supported types: Grayscale.
- Coordinate System: Matrix.
-
-
Constructor Summary
Constructors Constructor and Description BinaryBottomHat()Initialize a new instance of the BottomHat class.BinaryBottomHat(int radius)Initialize a new instance of the BottomHat class.BinaryBottomHat(int[][] se)Initialize a new instance of the BottomHat 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
-
BinaryBottomHat
public BinaryBottomHat()
Initialize a new instance of the BottomHat class.
-
BinaryBottomHat
public BinaryBottomHat(int[][] se)
Initialize a new instance of the BottomHat class.- Parameters:
se- Structuring element.
-
BinaryBottomHat
public BinaryBottomHat(int radius)
Initialize a new instance of the BottomHat 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