Questions about the Log Polar Transform.



Forgive me but I'm a bit new to all this; as I understand it, the polar
transform maps radial lines in Cartesian space to horizontal lines in polar
coordinate space:

Like this:

[1] r = sqrt ( ( x - xc ) ^2 + ( y - yc ) ^ 2 )
[2] a = tan-1 ( ( y - yc ) / ( x - xc ) )

So I can calculate r and a for each point in a source image using [1] and
[2].

Now correct me if I'm wrong, but I cannot apply a transform to the source
image purely by performing a linear interpolation of a pixel from the source
image at the destination image between r1 and r2 and a1 and a2 (where r1,
r2, a1, a2 are the minimum and maximum r and a in the source image).

How do I map the source pixel (x, y) through polar coordinates (r, a) onto a
destination image?

Should I use something like x = [r cos a], y = [r sin a]?

Thanks.








.


Loading