sentences:  Important operations are morphological opening and morphological closing which consist of erosion followed by dilation and dilation followed by erosion, respectively, using the same structuring element.Opening tends to enlarge small holes, remove small objects, and separate objects.Closing retains small objects, removes holes, and joins objects.