[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41480] image package :normxcorr2 yields diffe
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #41480] image package :normxcorr2 yields different result from matlab |
Date: |
Fri, 07 Feb 2014 13:40:03 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 Iceweasel/26.0 |
Follow-up Comment #4, bug #41480 (project octave):
The deviation is not simply a matter of scaling. The normalized cross
correlation used in matlab is as defined in this article, formula (2):
http://scribblethink.org/Work/nvisionInterface/nip.pdf
This means, they use "centered 2nd moments" whereas the current implementation
in Octave uses "uncentered 2nd moments". Because the cross correlation itself
is given by the "uncentered mixed 2nd moment", the correlation coefficient (or
normalized cross correlation) is not simply given by a scaled cross
correlation. I suppose that the nomenclature creating the false impression
that these two quantities were related more closely is rather unfortunate.
(I will have a look at the tests when I have some more time.)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41480>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/