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