Question: 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.
 d) Let, F'=[-101-101-101]. What is the difference in functionality of filter

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!