MatchTemplate documentation
Hi, I would like to use MatchTemplate, CV_TM_SQDIFF_NORMED, but I am not sure how to interpret the returned values (0 to 1). I think the equation described on http://docs.opencv.org/2.4/doc/tutori... is not right, - this is not what the code is doing. The algorithm seems to use some standard deviation of the data. Where can I find a more detailed documentation? Thanks a lot!
Why would this formula be wrong? It is simply a root mean squared deviation between the template and the targetted image, which is then normalised over the data range to fall in the range of 0-1.
... and where the code (L1052 and L901 ) is doing standard deviation ?