I used the following inverse mapping algorithms on my input images. x and y are nomralized between 0 and 1.
to be continued...
copyright 2005 dave morris.