Skip to main content

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.

placeholderplaceholder
Ran in 0.00Ξs (Infinity ops/s)

Kinds of images compatible with algorithm​

Image propertyWhat it meansPossible values
bitDepthnumber of bits per channel[1,8,16]
componentsnumber of components[1]
alphais alpha channel allowedfalse

Parameters and default values​

info

Parameters and options for Images and Masks are the same.

  • options

Options​

PropertyRequiredDefault value
iterationsno1
kernelno[[1, 1, 1],[1, 1, 1],[1, 1, 1]]
info

The method is also available for Masks.