Morphologically close image
performs morphological closing on the grayscale or binary image
J = imclose(I,SE)I, returning the closed image, J.
SE is a single structuring element object returned by the
strel or offsetstrel functions. The
morphological close operation is a dilation followed by an erosion, using the same
structuring element for both operations.