public class BinaryClosing extends java.lang.Object implements IApplyInPlace
Applied to binary image, the filter may be used connect or fill objects. Since dilatation is used first, it may connect/fill object areas. Then erosion restores objects. But since dilatation may connect something before, erosion may not remove after that because of the formed connection.
Properties:
| Constructor and Description |
|---|
BinaryClosing()
Initializes a new instance of the BinaryClosing class.
|
BinaryClosing(int radius)
Initializes a new instance of the BinaryClosing class.
|
BinaryClosing(int[][] se)
Initializes a new instance of the BinaryClosing class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(FastBitmap fastBitmap)
Apply filter to an image.
|
public BinaryClosing()
public BinaryClosing(int[][] se)
se - Structuring element.public BinaryClosing(int radius)
radius - Radius.public void applyInPlace(FastBitmap fastBitmap)
IApplyInPlaceapplyInPlace in interface IApplyInPlacefastBitmap - Image to be processed.