Catalano.Imaging.Filters
Class TopHat
- java.lang.Object
-
- Catalano.Imaging.Filters.TopHat
-
- All Implemented Interfaces:
- IApplyInPlace
public class TopHat extends java.lang.Object implements IApplyInPlace
Top-hat operator from Mathematical Morphology.
Top-hat morphological operator subtracts result of morphological opening on the input image from the input image itself.
Applied to binary image, the filter allows to get all those object (their parts) which were removed by opening filter, but never restored.
-
-
Constructor Summary
Constructors Constructor and Description TopHat()Initialize a new instance of the BottomHat class.TopHat(int radius)Initialize a new instance of the BottomHat class.TopHat(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
-
TopHat
public TopHat()
Initialize a new instance of the BottomHat class.
-
TopHat
public TopHat(int[][] se)
Initialize a new instance of the BottomHat class.- Parameters:
se- Structuring element.
-
TopHat
public TopHat(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