Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions