Log-polar transform of an image

it is inevitable to have leftovers in this type of log-polar mapping,

Yes, but if you apply the rotation transform, it fills the unknowns with black. Cant we do the same here?

PS: btw, why the logarithm is not used in your definition?

I could not get it work so I focused first on the polar one.