Ask Your Question

jkflash's profile - activity

2020-01-08 05:43:35 -0600 received badge  Famous Question (source)
2018-01-20 02:34:32 -0600 received badge  Good Question (source)
2015-06-11 12:56:48 -0600 received badge  Notable Question (source)
2014-09-17 01:16:53 -0600 received badge  Nice Question (source)
2014-06-19 07:54:30 -0600 received badge  Popular Question (source)
2013-01-13 10:56:39 -0600 commented answer Template Matching Algorithm

Thank you very much for your explanation, I understood you better than wikipedia :-P Now I understany CCORR, but as you said, the explanation of CCOEFF is still a mistery, because I don't know if the formulas are correct. I guess the Pearson Correlation Coefficient is the one that is used by OpenCV and I understand the basic stuff. Anyway, thank you very much :-)

2013-01-13 10:56:30 -0600 received badge  Scholar (source)
2013-01-13 10:56:26 -0600 received badge  Supporter (source)
2013-01-04 10:36:48 -0600 received badge  Student (source)
2013-01-02 07:08:05 -0600 received badge  Editor (source)
2013-01-02 07:07:31 -0600 asked a question Template Matching Algorithm

Hello OpenCV Community. I'm trying to understand how exactly the Template Matching algorithm works. I've read the documentation as well as the explanation in the o'reilly book on page 215ff and have a basic understanding of how the images are matched. However none of theses sources explains in detail why the formulas look like they do. So I'm searching for a mathematical explanation of the CV_TM_CCORR formula and especially the three parts of the CV_TM_CCOEFF formula. I tried to read how the cross correlation stuff works but I'm not a great mathematician and did not fully understand it. Additionally, the formulas in both linked sources seem to have one or two mistakes which does not make it easier to understand. I would very much appreciate if someone could help me with this, as I need it for my current university project.

Thanks in advance, j

Edit: sorry if you see a "maaan" in the title, I added it to force the suggestions-box to close because I couldn't type otherwise and then forgot to delete it again :-/