Let's talk about morphological image processing, which is related to the shape of the in an image. Morphological operations are according to a pixel's relative order among its neighbors.
Morphological filters are used to modify structures in binary images. Morphological operators modify the shape of pixel groups instead of their amplitude or value.
Morphological reconstructions are based on recurring uses of dilation or erosion until a marker point is moved. We can perform object boundary detection, hole filling, and region flooding.
The most common morphological operations are erosion and dilation. Dilation adds pixels to the boundaries of objects in an image. Erosion removes pixels on the object boundaries. Kernel size