Function to perform an erosion followed by a dilation morphological operation on binary and grayscale images.
Computes the oriented contour of objects.