Hello, my problem is the following: A lasers gives out a bunch of data points which are reflected off a metal surface and recorded by a camera attached to the side of the laser. The image the camera receives is however distorted. In order to calibrate the camera I need to find a function of two variables (f(x,y)) which transforms the distortet(wrong) data points back into their originals so that the camera image can be used for accurate analysis. I know the location (x and y values) of the original image and their corresponding camera positions (x' and y'). How can I use these to find a transfer function between the two data sets? I have already used SVD and a 6th order polynom merit function for multidimensional fits I found in "Numerical Recipes", and although I get resonable results, they are not accurate enough. Any help is greatly appreciated!!