Opening
Combines an erosion filter followed by a dilation filter.
ðžïļ Image options and parameters of open
method
ð Mask options and parameters of open
method
Opening process in morphology involves a dilation of an image, followed by its erosion. This process allows removing small objects and thin lines while preserving the shape and size of larger objects.
![placeholder](/img/picture-placeholder.png)
![placeholder](/img/picture-placeholder.png)
Kinds of images compatible with algorithmâ
Image property | What it means | Possible values |
---|---|---|
bitDepth | number of bits per channel | [1,8,16] |
components | number of components | [1] |
alpha | is alpha channel allowed | false |
Parameters and default valuesâ
info
Parameters and options for Images and Masks are the same.
options
Optionsâ
Property | Required | Default value |
---|---|---|
iterations | no | 1 |
kernel | no | [[1, 1, 1],[1, 1, 1],[1, 1, 1]] |
info
The method is also available for Masks.