5,337
edits
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
We want to find a rotation and translation from <math>(x,y)</math> to <math>(x',y')</math> such that <math>I_1(x,y) = I_2(x', y')</math>.<br> | We want to find a rotation and translation from <math>(x,y)</math> to <math>(x',y')</math> such that <math>I_1(x,y) = I_2(x', y')</math>.<br> | ||
This is represented as:<br> | This is represented as:<br> | ||
\[ | |||
\begin{align} | |||
x' &= a_1 x + a_2 y + a_3\\ | |||
y' &= a_4 x + a_5 y + a_6 | |||
\end{align} | |||
\] | |||
This can also be written as:<br> | This can also be written as:<br> | ||
<math> | <math> | ||
Line 29: | Line 33: | ||
See Wolberg and Zokai<ref name="wolberg2000robust">George Wolberg, and Siavash Zokai. ''Robust Image Registration Using Log-Polar Transform'' URL:[https://home.cis.rit.edu/~cnspci/references/wolberg2000.pdf https://home.cis.rit.edu/~cnspci/references/wolberg2000.pdf]. | See Wolberg and Zokai<ref name="wolberg2000robust">George Wolberg, and Siavash Zokai. ''Robust Image Registration Using Log-Polar Transform'' URL:[https://home.cis.rit.edu/~cnspci/references/wolberg2000.pdf https://home.cis.rit.edu/~cnspci/references/wolberg2000.pdf]. | ||
The log-polar transformation is defined as follows:<br> | The log-polar transformation is defined as follows:<br> | ||
\[ | |||
\begin{align} | |||
r &= \sqrt{(x-x_c)^2 + (y-y_c)^2}\\ | |||
a &= \operatorname{arctan2}(y-y_c, x-x_c) | |||
\end{align} | |||
\] | |||
where <math>(x_c, y_c)</math> is the center of the image. | where <math>(x_c, y_c)</math> is the center of the image. | ||
Here a rotation in Cartesian coordinates <math>(x, y)</math> around the center \((x_c, y_c)\) corresponds to a shift in \(a\) in log-polar coordinates.<br> | |||
These translations can be found using [[Wikipedia: Cross-correlation]]. | |||
==References== | ==References== |