Documentation - Template matching (C version) - Typo (Patch #3521)


Added by Raphael Marczak about 11 years ago. Updated about 11 years ago.


Status:Done Start date:2014-02-04
Priority:Low Due date:
Assignee:Raphael Marczak % Done:

0%

Category:documentation
Target version:-
Affected version:2.4.8 (latest release) Operating System:Any
Difficulty:Easy HW Platform:Any
Pull request:

Description

In the documentation
http://docs.opencv.org/doc/tutorials/imgproc/histograms/template_matching/template_matching.html

method=CV_TM_CCORR_NORMED
R(x,y)= \frac{\sum_{x',y'} (T(x',y') \cdot I'(x+x',y+y'))}{\sqrt{\sum_{x',y'}T(x',y')^2 \cdot \sum_{x',y'} I(x+x',y+y')^2}}

Should be (I think)

method=CV_TM_CCORR_NORMED
R(x,y)= \frac{\sum_{x',y'} (T(x',y') \cdot I(x+x',y+y'))}{\sqrt{\sum_{x',y'}T(x',y')^2 \cdot \sum_{x',y'} I(x+x',y+y')^2}}

Just a typo mistake, but I have been confused for a while by it.


Associated revisions

Revision cc1090cf
Added by Vadim Pisarevsky about 10 years ago

Merge pull request #3521 from ana-GT:registration_openni2

History

Updated by Dmitry Retinskiy about 11 years ago

Hi Raphael,

thanks for reporting this problem.
If you could describe the correction in the form of a pull request it would be very helpful.
(here is the instruction how to do it: http://www.code.opencv.org/projects/opencv/wiki/How_to_contribute)
Thanks.

  • Assignee set to Raphael Marczak
  • Status changed from New to Open
  • Category set to documentation
  • Affected version changed from branch 'master' (3.0-dev) to 2.4.8 (latest release)

Updated by Kirill Kornyakov about 11 years ago

  • Status changed from Open to Done

Also available in: Atom PDF