(a) For the following binary object, calculate the area, perimeter, and centroid. Explain briefly in plain English the morphological operations of dilation, erosion, and closing. Find out the images after performing these operations on this image with a 3x3 square structuring element.
(b) For the 5x5 grey level image shown in the figure here, obtain the median filtered image.
(c) Explain why contrast stretching using methods like histogram equalization is needed. Briefly discuss how histogram equalization is performed.
(d) For the same grey level image, compute the edge magnitude and direction at the central (shaded) pixel using the Sobel operator.
(e) Outline the steps of the Canny edge detection and linking algorithms and discuss the need for (and/or importance of) the processing done in each step.