04-16-2008 06:31 AM
04-16-2008 06:53 AM
04-16-2008 07:46 AM
04-16-2008 08:09 AM
09-16-2009 08:50 AM
Pramod,
I'm in a similar situation right now. I'm looking for +1 to -1 values...did you determine what the solution was?
T
09-17-2009 04:52 AM - edited 09-17-2009 04:58 AM
Hi pbsalunkhe,
A popular definition for the Normalized Cross-Correlation is:
sum(A(i)B(i))/sqrt(sum(A(i)^2) sum(B(i)^2))
A & B are the two signals you would like to calculate. Hope this helps.
09-17-2009 07:51 PM
That formula only works if the local mean and standard deviation of the signal is constant. The best reference for Fast Normalized Correlation is:
J. P. Lewis Fast Normalized Cross-Correlation. Vision Interface 1995. (PDF)
See also this thread which relates to 2D cross-correlation, but the same code I wrote is easily modified for 1D NCC.
Cheers ~ Greg