Skip to main content

Opening

Combines an erosion filter followed by a dilation filter.

Check 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)

Parameters and default values

  • options

Options

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