Skip to content

Feature: adding Erosion to the filtering operations #19

@dilumdesilva

Description

@dilumdesilva

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions