About Morphological Processing Functions
• erode—Wears away the edges of an image.
• dilate—Enlarges light objects in an image or reassembles an image which has become disjointed.
• open, close—Performs binary morphological opening or closing of an image.
• thin, skeleton—Transforms objects in an image into a set of lines that run roughly down the center of each object.