Question: Question 4 Patch Matching. ( 1 6 pts total ) We have discussed different scoring functions for measuring how well two patches of pixels match

Question 4 Patch Matching. (16 pts total)
We have discussed different scoring functions for measuring how well two patches of pixels
match each other. Three of these functions were sum of squared differences (SSD),
correlation, and normalized correlation. Let two intensity patches f and g be:
f=([1,0,2],[1,0,2],[1,0,2]),g=([3,0,0],[3,0,0],[3,0,0])
A.(5pts) Compute the raw correlation score Cfg between patches f and g . Enter answer
rounded to two decimal places.
B.(5 pts) Compute the SSD score between patches f and g . Enter answer rounded to two
decimal places.
C.(5 pts) Compute NCC, the normalized cross correlation score between patches f and g .
Enter answer rounded to two decimal places.
D.(1 pts) Is f a separable filter? (i.e. can we write f= imfilter(r, c ,'conv','full') for a suitable
choice of row filter r and column filter c ). Choose the correct answer.
Question 4 Patch Matching. ( 1 6 pts total ) We

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