MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Crosscorrelation with subpixel accuracy 

Subject: Crosscorrelation with subpixel accuracy From: Peter Bone Date: 4 Mar, 2009 16:52:02 Message: 1 of 4 
I'm performing phase only correlation between 2 images to find the displacement using FFT's, which gives a discrete correlation plain. Currently I'm finding the peak location simply from the maximum value of the correlation plane. Can anyone help me find a method to find the peak location with subpixel accuracy by looking at the neighbouring pixels around the peak? I've seen method that use curve fitting but this is too slow. I'm looking for a simple method that can be implemented quickly without iteration. Perhaps some kind of averaging of neighbouring locations using the values as weights? 
Subject: Crosscorrelation with subpixel accuracy From: Dave Robinson Date: 4 Mar, 2009 17:37:02 Message: 2 of 4 
"Peter Bone" <peterbone@hotmail.com> wrote in message <gombji$mri$1@fred.mathworks.com>... 
Subject: Crosscorrelation with subpixel accuracy From: Peter Bone Date: 4 Mar, 2009 17:51:02 Message: 3 of 4 
"Dave Robinson" <dave.robinson@somewhere.biz> wrote in message <gome7u$rgb$1@fred.mathworks.com>... 
Subject: Crosscorrelation with subpixel accuracy From: Robert Reed Date: 11 May, 2009 14:13:01 Message: 4 of 4 
Have you tried the elegant solution of Guizar et al, posted on the MATLAB Central File Share? 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.