In mathematical morphology, the closing of a set A by a structuring element B is the erosion of the dilation of that set (Wikipedia).
In image processing, closing is, together with opening, the basic workhorse of morphological noise removal.
Opening removes small objects, while closing removes small holes.
In mathematical morphology, the closing of a set A by a structuring element B is the erosion of the dilation of that set (Wikipedia). In image processing, closing is, together with opening, the basic workhorse of morphological noise removal. Opening removes small objects, while closing removes small holes.
See
http://docs.opencv.org/2.4/doc/tutorials/imgproc/opening_closing_hats/opening_closing_hats.html
Param: image
Image to process.
Param: options
Close options.
Returns
Closed image.