Fisheye distortion rectification with lookup table
问题 I have a fisheye lens: I would like to undistort it. I apply the FOV model: rd = 1 / ω * arctan (2 * ru * tan(ω / 2)) //Equation 13 ru = tan(rd * ω) / 2 / tan(ω / 2) //Equation 14 as found in equations (13) and (14) of the INRIA paper "Straight lines have to be straight" https://hal.inria.fr/inria-00267247/document. The code implementation is the following: Point2f distortPoint(float w, float h, float cx, float cy, float omega, Point2f input) { //w = width of the image //h = height of the