Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

d ) Let, F ' = [ - 1 0 1 - 1 0 1 - 1 0 1 ] . What is the difference

d) Let, F'=[-101-101-101]. What is the difference in functionality of filter F' and F of part (c)?
e)F=116[121242121]
Briefly describe what the filter in part (e) is doing to the image.
f)F=19[111111111]
What is the difference in functionality of the filters in part (e) and (f)?
Problem 2
a) Show that we can write correlation as a vector dot product,
G(i,j)=fTtij
Where f is the vector representation of the filter and is the vector representation of the
neighborhood patch of the image.
b) Implement the correlation operation in Matlab or Python which takes a filter F and a grayscale image I
and outputs G, where G=FoxI. Specifically, implement it using the dot product result of part (a),
otherwise it will be too slow. Remember to implement zero-padding to maintain correct sizes.
Test your code using the provided image "parrot.png" and the filters in problem 1.Manually calculate the output image GinR33 as a result of G=FoxI when the filter F is: d) Let, F'=[-101-101-101]. What is the difference in functionality of filter F' and F of part (c)?
e)F=116[121242121]
Briefly describe what the filter in part (e) is doing to the image.
f)F=19[111111111]
What is the difference in functionality of the filters in part (e) and (f)?
a)F=[000010000]
b)F=[100000000]
c)F=[111000-1-1-1]
Briefly describe what the filter in part (c) is doing to the image.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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