Open matejak opened 9 years ago
Might look into scikit-image, which has implemented this: https://github.com/scikit-image/scikit-image/blob/master/skimage/feature/register_translation.py#L195
They use the reference Manuel Guizar-Sicairos, Samuel T. Thurman, and James R. Fienup, "Efficient subpixel image registration algorithms," Optics Letters 33, 156-158 (2008).
Just stubled upon A study of sub-pixel motion estimation using phase correlation, which uses fitting of a sinc function to the peak in the phase correlation. It claims to perform better (both resource and time wise) than up-sampling-techniques.
I have added linear interpolation to the log-polar stuff. It mostly improves things, but not always. Depends on #11
It seems that the resampling way is more robust than the interpolation.
This can be achieved by doing smart things when evaluating the phase correlation.