Algorithm Search⌘K

Modeladvanced

Division model of radial distortion

Also called Fitzgibbon division model.

Radial distortion as x_u = x_d / (1 + lambda r_d^2). The undistorted point is linear in lambda, so minimal problems with distortion stay polynomial.

The division model describes radial lens distortion with one parameter λ\lambda, and it writes the map in the direction from the distorted image point to the undistorted one: xu=xd/(1+λrd2)x_u = x_d / (1 + \lambda r_d^2). Fitzgibbon (2001) proposed it because, in homogeneous coordinates, the undistorted point is then linear in λ\lambda, so the distortion can be estimated together with a fundamental matrix or a homography by linear algebra. Lens distortion acts on normalized coordinates: project, distort, then apply KK. One parameter is enough for many lenses with moderate distortion, and both directions of the map have closed forms. For lenses with strong distortion or a wide field of view, the Brown-Conrady model with more terms or a fisheye model gives a better fit.

The machine

Input. A point of the world, the pose (R,t)(R, t), the intrinsic matrix KK, and the parameter λ\lambda.

Step 1: project. Xc=RXw+tX_c = R X_w + t, and the undistorted normalized point is xu=(X/Z,Y/Z)x_u = (X / Z, Y / Z), with ru=∥xu∥r_u = \lVert x_u \rVert.

Step 2: distort. The model is defined by its inverse:

xu=xd1+λrd2,rd=∥xd∥.x_u = \frac{x_d}{1 + \lambda r_d^2}, \qquad r_d = \lVert x_d \rVert .

So xdx_d lies on the same ray from the center as xux_u, and its radius solves λrurd2−rd+ru=0\lambda r_u r_d^2 - r_d + r_u = 0. For ru>0r_u > 0 the root that tends to rd=rur_d = r_u as λ→0\lambda \to 0 is

rd=1−1−4λru22λru,r_d = \frac{1 - \sqrt{1 - 4 \lambda r_u^2}}{2 \lambda r_u},

and xd=(rd/ru) xux_d = (r_d / r_u) \, x_u. With λ<0\lambda < 0 (barrel distortion) the root is real for all rur_u. With λ>0\lambda > 0 it is real only for ru≤1/(2λ)r_u \le 1 / (2 \sqrt{\lambda}).

Step 3: apply K. (u,v,1)T=K(xd,1)T(u, v, 1)^{\mathsf T} = K (x_d, 1)^{\mathsf T}.

Homogeneous form. Multiply the inverse map by 1+λrd21 + \lambda r_d^2:

x~u∼(xd,  yd,  1+λrd2)T=(xd,  yd,  1)T+λ (0,  0,  rd2)T.\tilde x_u \sim (x_d, \; y_d, \; 1 + \lambda r_d^2)^{\mathsf T} = (x_d, \; y_d, \; 1)^{\mathsf T} + \lambda \, (0, \; 0, \; r_d^2)^{\mathsf T}.

This is the main property of the model: the lifted point is affine in λ\lambda, with coefficients that are known from the measured image point.

Units and center. Many papers use pixel coordinates measured from a center of distortion, often the image center, instead of normalized coordinates. Then λ\lambda has the unit of one over a squared pixel, and λpixel=λnormalized/f2\lambda_{\text{pixel}} = \lambda_{\text{normalized}} / f^2 for square pixels with focal length ff. Check the convention before you use a published value.

What it counts

The model predicts where a ray meets the image, like the pinhole model, with one extra number. Estimation fits λ\lambda together with KK and the poses in camera calibration, or together with two view geometry when the camera is not calibrated. The usual cost is the reprojection error in the distorted image.

Worked example. Let λ=−0.2\lambda = -0.2 and the distorted normalized point xd=(0.5,0.25)x_d = (0.5, 0.25). Then rd2=0.3125r_d^2 = 0.3125 and 1+λrd2=0.93751 + \lambda r_d^2 = 0.9375, so xu=(0.5333,0.2667)x_u = (0.5333, 0.2667), farther from the center than xdx_d, as barrel distortion requires. In the other direction, ru2=0.35556r_u^2 = 0.35556, 1−4λru2=1.28444=1.13333\sqrt{1 - 4 \lambda r_u^2} = \sqrt{1.28444} = 1.13333, and rd=(1−1.13333)/(2⋅(−0.2)⋅0.59628)=0.55902=0.3125r_d = (1 - 1.13333) / (2 \cdot (-0.2) \cdot 0.59628) = 0.55902 = \sqrt{0.3125}, which gives xdx_d back.

Lines become circles. A line axu+byu+c=0a x_u + b y_u + c = 0 of the undistorted image becomes, after substitution and multiplication by 1+λrd21 + \lambda r_d^2,

cλ(xd2+yd2)+axd+byd+c=0,c \lambda (x_d^2 + y_d^2) + a x_d + b y_d + c = 0,

which is a circle (or a line through the center if c=0c = 0). For λ=−0.2\lambda = -0.2 the line xu=0.5x_u = 0.5 becomes xd2+yd2+10xd−5=0x_d^2 + y_d^2 + 10 x_d - 5 = 0, the circle (xd+5)2+yd2=30(x_d + 5)^2 + y_d^2 = 30. The points (0.4772,0)(0.4772, 0) and (0.4142,0.8284)(0.4142, 0.8284) lie on it, and both map to xu=0.5x_u = 0.5. So the plumb line method for this model fits circles to the images of straight edges, and three points on an edge fix one circle.

Relation to other models

  • Pinhole. λ=0\lambda = 0.
  • Brown-Conrady. The Brown-Conrady model goes from undistorted to distorted with a polynomial; the division model goes from distorted to undistorted with a rational function. With one parameter each, they agree to first order in r2r^2 with λ≈−k1\lambda \approx -k_1. Neither one contains the other. A division model with more terms, 1+λ1rd2+λ2rd4+…1 + \lambda_1 r_d^2 + \lambda_2 r_d^4 + \ldots in the denominator, is also used, but it loses the linear structure in the parameters for the extra terms in most problems.
  • Para-catadioptric camera. The unified model with ξ=1\xi = 1 lifts a normalized image point (x,y)(x, y) to the ray (2x,2y,1−x2−y2)(2x, 2y, 1 - x^2 - y^2). With x′=2xx' = 2x, y′=2yy' = 2y and λ=−1/4\lambda = -1/4, the division lifting gives (x′,y′,1−(x′2+y′2)/4)=(2x,2y,1−x2−y2)(x', y', 1 - (x'^2 + y'^2)/4) = (2x, 2y, 1 - x^2 - y^2), the same ray. So a parabolic mirror with an orthographic camera is a division model with a fixed λ\lambda in suitable units (theorem, checked by direct substitution). This explains why lines map to circles in both models.
  • Two view geometry. For fundamental matrix estimation the epipolar constraint becomes (p′+λz′)TF(p+λz)=0(p' + \lambda z')^{\mathsf T} F (p + \lambda z) = 0 with p=(xd,yd,1)p = (x_d, y_d, 1) and z=(0,0,rd2)z = (0, 0, r_d^2). This is quadratic in λ\lambda and linear in the entries of FF.

Known results in the model

  • Quadratic eigenvalue problem (theorem). Fitzgibbon (2001) writes the epipolar constraints of a set of matches, with the same λ\lambda in both images, as (D1+λD2+λ2D3)f=0(D_1 + \lambda D_2 + \lambda^2 D_3) f = 0, where ff is the vector of the 9 entries of FF and each row of D1,D2,D3D_1, D_2, D_3 comes from one match. With 9 matches the matrices are square. This is a quadratic eigenvalue problem, and the standard linearization turns it into a generalized eigenvalue problem of twice the size. With more matches it is solved in the least squares sense. The same idea applies to homographies.
  • Minimal problem (theorem). FF has 7 degrees of freedom and λ\lambda adds 1, so 8 matches are minimal. Kukelova and Pajdla (2011) solve this case with the rank constraint det⁡F=0\det F = 0 by a Groebner basis minimal solver. Minimal solvers of this kind go inside RANSAC, which then finds the distortion and the outliers together.
  • Lines to circles (theorem). As shown above, every straight line of the scene maps to a circle or to a line through the center of distortion. Circle fitting to straight edges gives λ\lambda and the center without a calibration target.
  • Monotonicity. With λ<0\lambda < 0 the distortion map is defined and one to one for every undistorted radius, and rd<1/−λr_d < 1 / \sqrt{-\lambda}. With λ>0\lambda > 0 it is defined only up to a radius, and the model cannot describe a ray beyond it.
  • Quality of fit (heuristic and benchmark). One division parameter often fits a lens with moderate distortion about as well as one or two Brown-Conrady terms. This is an empirical observation that depends on the lens and the field of view, not a theorem.

References

  1. Andrew W. Fitzgibbon, Simultaneous linear estimation of multiple view geometry and lens distortion, IEEE Conference on Computer Vision and Pattern Recognition, 2001, volume 1, 125-132, the division model, and the estimation of the fundamental matrix and lambda together as a quadratic eigenvalue problem
  2. Zuzana Kukelova and Tomas Pajdla, A minimal solution to radial distortion autocalibration, IEEE Transactions on Pattern Analysis and Machine Intelligence 33(12), 2011, 2410-2422, the minimal problem of the fundamental matrix with one division parameter, solved with a Groebner basis solver
  3. Richard Hartley and Andrew Zisserman, Multiple View Geometry in Computer Vision, second edition, Cambridge University Press, 2004, Section 7.4, Radial distortion (the general radial correction function that the division model is one case of)

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/WW5HWP/text.yaml