Resources:
- page=641 Ch. 9.2
Given that and are sets in , the erosion of by is defined as
Where
- is a set of foreground pixels
- is a structuring element
- are the foreground values (’s).
Conceptually it can be though of a morphological operation that “shrinks” objects in an image by removing pixels around the edges. Think of it as a way to thin or reduce the boundaries of shapes. It’s often used to remove small noise, separate objects that are close together, or make shapes smaller.