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