Question: img 1 : Image 1 . img 2 : Image 2 . c 1 : Center ( in image coordinate ) of the window in
img: Image
img: Image
c: Center in image coordinate of the window in image
C: Center in image coordinate of the window in image
R: R is the radius of the patch, R R is the window size
Returns:
NCC matching score for two input windows.
### YOUR CODE HERE
raise NotImplementedErrorDelete this line once you implement the function"
### END YOUR CODE
return matchingscore
:
# Here is the code for you to test your implementation
img nparray
img nparray
result nccmatchimg img nparray nparray
# should print
printfResult : result
result nccmatchimg img nparray nparray
# should print
printfResult : result
result nccmatchimg img nparray nparray
# should print
printfResult : result
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
