Tag Archives: opening and closing

Mathematical Morphology – Opening and Closing, Top Hat, Black Hat, Gradient in OpenCV

We discussed dilation and erosion in previous article where we discussed that one expands the object pixels and the other shrinks them. What if we combine these operations? Fine these interesting details written below. Opening An erosion operation followed by dilation operation with the same structuring element is known as opening operation. An opening removes… Read More »

Mathematical Morphology – Dilation in OpenCV

Mathematical Morphology – Dilation Mathematical morphology is a technique that is used for object of having spatial nature such as images, graphs and meshes. It is a framework for describing image processing and analysis operations. Consider two things while working with morphology Image Structure Element (Smaller then image but can be of different block size… Read More »