public class BinaryOpening extends java.lang.Object implements IApplyInPlace
Applied to binary image, the filter may be used for removing small object keeping big objects unchanged. Since erosion is used first, it removes all small objects. Then dilatation restores big objects, which were not removed by erosion.
| Constructor and Description |
|---|
BinaryOpening()
Initializes a new instance of the Binary Opening class.
|
BinaryOpening(int radius)
Initializes a new instance of the Binary Opening class.
|
BinaryOpening(int[][] se)
Initializes a new instance of the Binary Opening class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(FastBitmap fastBitmap)
Apply filter to an image.
|
public BinaryOpening()
public BinaryOpening(int[][] se)
se - Structuring element.public BinaryOpening(int radius)
radius - Radius.public void applyInPlace(FastBitmap fastBitmap)
IApplyInPlaceapplyInPlace in interface IApplyInPlacefastBitmap - Image to be processed.