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](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f39a616db8c_80066f39a60e0824.jpg)
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
Get step-by-step solutions from verified subject matter experts
