Question: The original image is shown in Figure 1. 0 0 0 0 000 000 0 0 0 0 0 0 0 0 0 0

The original image is shown in Figure 1. 0 0 0 0 

The original image is shown in Figure 1. 0 0 0 0 000 000 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 2* 2 2 2 2 2 0 0 0 0 2 2 2 2 2* 2 0 0 0 0 1* 1 1 1 1 1 0 0 0 00 (1). (2) 0 0 0 0 000 000 0000 0 0 0 Figure 1: The original image. The top-left corner pixel is (0,0) Show the resulting image obtained after convolution of the original image with the filter [-1, 0, 1] in the horizontal direction. Compute gradient magnitude and gradient orientation at pixels (2, 3), (2, 5) and (6, 4) (marked with * in the image) when applying filters [-1, 0, 1] and [-1, 0, 1 at those points in horizontal and vertical directions respectively.

Step by Step Solution

3.33 Rating (153 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To perform convolution with the given filter 1 0 1 in the horizontal direction well slide the filter ... View full answer

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 Programming Questions!