-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
Erosion is quite a similar process as dilation. But the pixel value computed here is minimum rather than the maximum in dilation. The image is replaced under the anchor point with that minimum pixel value.
With this procedure, the areas of dark regions grow in size and bright regions reduce. For example, the size of an object in the dark shade or black shade increases, while it decreases in the white shade or bright shade.
You can perform this operation on an image using the erode() method of the OpenCV imgproc class.
Check the project documentation for more information related to the project setup and contributions.