Question: 1. [5 points] Fill in the empty table (below-right) with the resulting image obtained after convolution of the original image (bottom-left image) with the following

 1. [5 points] Fill in the empty table (below-right) with the

1. [5 points] Fill in the empty table (below-right) with the resulting image obtained after convolution of the original image (bottom-left image) with the following approximation of the derivative filter [1,0, -1] in the horizontal direction. Assume that the image is zero padded. The origin is located at the top-left corner with coordinates [0,0]. This question is to be done by hand; use fprintf() in MATLAB to output your response. -5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 7 0 0 0 0 0 0 0 0 2 1 3 - 1 1 0 0 0 0 1 1 1 - 1 2 0 0 1 1 1 0 0 0 0 0 0 0 0 3 0 0 0 1 0 0 0 5 0 0 0 -1 0 0 0 4000 0 0 0 0 0 0 0 0 0 -1 3 0 0 0 0 0 0 2. [5 points) Compute the gradient magnitude at pixels [2, 3], [4,3] and [4,6] in the left image in Q1.1 (the image pixels marked in bold). Hint: Assume the same derivative filter approximation used for the horizontal direction is used for the vertical direction. Use fprintf() in MATLAB to output your response

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!