Image morphology deals with the regions and shapes of an image. It is used to extract image components that are useful to represent shapes and regions. Image morphology treats the image as an ensemble of sets unlike, other Image processing operations seen earlier. The image interacts with a small template, which is called a structuring element, and which defines the region of interest or neighborhood in the image morphology. There are various morphological operations that can be performed on images, which are explained one by one in this section:
- Erosion: Erosion sets a center pixel to the minimum over all pixels in the neighborhood. The neighborhood is defined by the structuring element, which is a matrix ...