1 | initial version |
To undistort your image, what is probably done:
(x,y)
in the destination image, compute the distorted pixel coordinate (x',y')
(x',y')
(x,y)
the interpolated pixel intensity at (x',y')
To undistort the pixel coordinate, this is another formula. Something like iteratively undistort the pixel coordinate. Remember that the distortion function is non-linear.