PhaseCorrelation(tile1,
tile2,
phase_only=True,
ilog=None)
| source code
|
Uses phase correlation to estimate the best integer displacement to
align the images. Also fits a quadradic to the correltaion surface to
determine a sub pixel estimate of displacement.
Returns four values as a tuple: max_corr, max_displacement, est_corr,
est_displacement max_corr - maximum correlation value.
max_displacement - displacement needed to obtain the maximum correlation.
(full pixel) est_corr - estimated corelation value if subpixel
displacement is used. est_displacement - estimated displacement
(subpixel)
see http://en.wikipedia.org/wiki/Phase_correlation
|