Morphological operations on Images
Image morphology deals with regions and shapes of 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. Image interacts with a small template which is called a structuring element which defines the region of interest or neighborhood in image morphology. There are various morphological operations that can be performed on Images. They 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 of 1's and 0's. Erosion is used to enlarge holes in the object, shrink boundary, eliminate the island and get rid of narrow peninsulas that might exist on Image boundary.
- Dilation: Dilation sets a center pixel to the maximum over all pixels in the neighborhood. The dilation increases...