Catalano.Imaging.Filters
Class BinaryDilatation
- java.lang.Object
-
- Catalano.Imaging.Filters.BinaryDilatation
-
- All Implemented Interfaces:
- IApplyInPlace
public class BinaryDilatation extends java.lang.Object implements IApplyInPlace
Binary Dilatation operator from Mathematical Morphology. The filter assigns maximum value of surrounding pixels to each pixel of the result image. Surrounding pixels, which should be processed, are specified by structuring element: 1 - to process the neighbor, 0 - to skip it. The filter especially useful for binary image processing, where it allows to grow separate objects or join objects.- Supported types: Grayscale.
- Coordinate System: Matrix.
-
-
Constructor Summary
Constructors Constructor and Description BinaryDilatation()Initialize a new instance of the Binary Dilatation class.BinaryDilatation(int radius)Initialize a new instance of the Binary Dilatation class.BinaryDilatation(int[][] se)Initialize a new instance of the Binary Dilatation 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
-
BinaryDilatation
public BinaryDilatation()
Initialize a new instance of the Binary Dilatation class.
-
BinaryDilatation
public BinaryDilatation(int[][] se)
Initialize a new instance of the Binary Dilatation class.- Parameters:
se- Structure element.
-
BinaryDilatation
public BinaryDilatation(int radius)
Initialize a new instance of the Binary Dilatation 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