Morphological operations on images

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 ...

Get Hands-On GPU-Accelerated Computer Vision with OpenCV and CUDA now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.