I would suggest using the calibration routines. Invert your image and use it as the calibration grid, with grid spacing of 1. I can't remember if one of the outputs of the calibration is the points of the grid. If not, you could just loop through a range of world coordinates that covers all possible situations and look up the corresponding pixel values.
Bruce
Bruce Ammons
Ammons Engineering