Wednesday, 24 February 2016

HW 1 (CH 3) - Spatial Filtering

HW 1 (CH 3) - Spatial Filtering ( Smoothing and Sharpening)
Due: 2 March 23:59, 2016

Create a MATLAB function that :

  • Takes a path to a grayscale image,
  • Finds blurred image of the given image employing a 6x6 averaging filter (larger than Fig. 3.32 (a) )
  • Finds gradient image of the given image by applying Sobel operators (see Fig. 3.41 (d-e) ) and Eq. 3.6-11,
  • And displays both images.
Note: Your gradient image might not be in the defined color range. So, you can normalize it or display it with imagesc() function.
For convolution, you can use conv2 function.

No comments:

Post a Comment