📷 This repository is focused on having various feature implementation of OpenCV in Python. The aim is to have a minimal implementation of all OpenCV features together, under one roof.
-Erosion is useful for removing small white noises and Dilation .In cases like noise removal, erosion is followed by dilation. Because, erosion removes white noises, but it also shrinks our object. So we dilate it. Since noise is gone, they won’t come back, but our object area increases.
Please check the image 1 and 2
Possible solution
A python code using OpenCv showing implementation of Erosion and Dilation
Erosion and Dilation
-Erosion is useful for removing small white noises and Dilation .In cases like noise removal, erosion is followed by dilation. Because, erosion removes white noises, but it also shrinks our object. So we dilate it. Since noise is gone, they won’t come back, but our object area increases.
Possible solution