Question: 5 Template Matching ( 2 0 points ) Figure 1 : Left: gray scale values of a ( 7 times 9 )
Template Matching points
Figure : Left: gray scale values of a times image. Right: gray scale values of a times template.
As shown in Figure we have an image and a template. To determine which one of the three positions in the image indicated by the shaded pixels best matches the template, we can use either Sum of squared difference SSD or Normalized cross correlation NCC Do zero padding at the border if necessary.
Compute the sum of squared difference SSD at the three positions indicated by the shaded pixels. Explain which position is the best match. points
Compute the normalized cross correlation NCC at the three positions indicated by the shaded pixels. Explain which position is the best match. points
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
