Catalano.Imaging.Filters
Class BottomHat
- java.lang.Object
-
- Catalano.Imaging.Filters.BottomHat
-
- All Implemented Interfaces:
- IApplyInPlace
public class BottomHat extends java.lang.Object implements IApplyInPlace
Bottom-hat operator from Mathematical Morphology.
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 BottomHat()Initialize a new instance of the BottomHat class.BottomHat(int radius)Initialize a new instance of the BottomHat class.BottomHat(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
-
BottomHat
public BottomHat()
Initialize a new instance of the BottomHat class.
-
BottomHat
public BottomHat(int[][] se)
Initialize a new instance of the BottomHat class.- Parameters:
se- Structuring element.
-
BottomHat
public BottomHat(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