Opening (morphology)
From Wikipedia, the free encyclopedia
In computer vision and image processing, opening is, together with closing, a basic workhorse of morphological noise removal. Opening removes small objects, while closing removes small holes. These techniques can also be used to find specific shapes in an image. Opening can be used to find things into which a specific structuring element can fit (edges, corners, ...).
The Opening (morphology) is the Dilation (morphology) of the Erosion (morphology) of the set A. B is the structuring element.
One can think of B sweeping around the inside of the boundary of A, so that it does not extend beyond the boundary, and shaping the A boundary around the boundary of the element.
O(A,B) = (A − B) + B
where + is the Minkowski addition.