Question: Write the code only UNDER WRITE THE CODE HERE, do not create new functions Problem 5 . 2 : Naive Matching [ 8 points ]
Write the code only UNDER WRITE THE CODE HERE, do not create new functions Problem : Naive Matching points this, namely, for each corner in image find the best match from the detected corners in imageor if the NCC match score is too low, then return no match for that point
Write a function and call it as below. Examine your results for detected corners in each image.
Note: Your matches may not be perfect.
def naivematchingimg img corners corners R NCCth:
Compute NCC given two windows.
Args:
img: Image
img: Image
corners: Corners in image nx
corners: Corners in image nx
R: NCC matching radius
NCCth: NCC matching score threshold
Returns:
matching: NCC matching returns a list of tuple c c
c is the x corner location in image
c is the x corner location in image
### YOUR CODE HERE
raise NotImplementedErrorDelete this line once you implement the function"
### END YOUR CODE
return matching
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
