Part of an image is given below. A pixel value is in the range [0,255]. A filter is applied to the image.
(a) (10pts) Given the filter below, calculate the filter output at the shaded pixels. For the border
extension, use the “wrap around” technique.
(b) (5pts) Using the filter, calculate the gradient vector at the center pixel.
(c) (5pts) Calculate the gradient magnitude and gradient direction at the center pixel.
(d) (5pts) Calculate the output at the center pixel, if “gamma mapping” with gamma value of 0.5 is
applied.
(e) (5pts) Calculate the output at the center pixel, if median filter, with filter size (3x3) is applied.