object=1 • Slide the structuring element over the pixels • Other: Structuring elements do not necessarily have to be symmetric • Application of a transformation • Erosion: If any pixel in the mask is background (value 0), then the central pixel becomes background (i.e., min) • Dilation: If any pixel in the mask is part of the object (value > 0), then the central pixel becomes part of the object (i.e., max) • Others: Erosion followed by dilation (Opening); Dilation followed by erosion (Closing) Top: Opening Bottom: Closing NHSM - 4th year: Digital Image Processing - Restoration (Week 14-15) - M. Hachama (
[email protected]) 19/21