You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With method SQDIFF_NORMEDmatchTemplate() returns 1.0 in all places where the actual result according to the formula in the documentation it should be >1.0. Notice that in contrast to the other _NORMED-methods the normalization of SQDIFF_NORMED is mathematically not guaranteed to be <=1.
With a larger array: you can see that there are multiple values with value exactly 1.0, so this already seems off, if you calculate the correct value at those points you see that they should be greater.
System information (version)
Detailed description
With method
SQDIFF_NORMED
matchTemplate()
returns 1.0 in all places where the actual result according to the formula in the documentation it should be >1.0. Notice that in contrast to the other_NORMED
-methods the normalization ofSQDIFF_NORMED
is mathematically not guaranteed to be <=1.Steps to reproduce
For one value:
With a larger array: you can see that there are multiple values with value exactly 1.0, so this already seems off, if you calculate the correct value at those points you see that they should be greater.
The text was updated successfully, but these errors were encountered: