Skip to main content

Closing

Combines a dilation filter followed by an erosion filter.

Check options and parameters of close method

Opposed to opening, closing process first erodes an image and only then dilates it. It is a useful process for filling small holes in the image, while preserving the shape and size of large holes and 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]]