Ask Your Question

Revision history [back]

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/tutorials/imgproc/histograms/template_matching/template_matching.html 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!

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/tutorials/imgproc/histograms/template_matching/template_matching.html 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!