Camera models and calibration
Problems
- Camera calibration
Estimate the intrinsic, extrinsic and distortion parameters of a camera from images of points whose 3D positions or structure are known.
intro - Stereo camera calibration
Estimate the intrinsics of two cameras and the rigid motion between them from shared views of a pattern, as needed for rectification and metric depth.
core - Self-calibration
Find the intrinsic parameters of a moving camera, and a metric reconstruction, from images of an unknown rigid scene alone, using only assumptions such as constant K or zero skew.
advanced - Vanishing point detection
Find the points where the images of parallel scene lines meet, and decide which line segment belongs to which point, from the segments of one image with outliers.
advanced
Algorithms
- Camera matrix decomposition
Recover K, R and the camera center from a camera matrix by an RQ decomposition of its left 3 by 3 block and the null vector of P.
1 languagescore - Direct linear transformation for camera resectioning
Estimate the 3 by 4 camera matrix from six or more world to image point pairs as the null vector of a linear system, found by SVD.
1 languagescore - Zhang's calibration method
Calibrate a camera from several views of a planar pattern, getting K in closed form from the homographies and refining all parameters with Levenberg-Marquardt.
1 languagescore - Calibration from vanishing points
Get the focal length, the principal point and the rotation from the vanishing points of three orthogonal directions: the principal point is the orthocenter of their triangle.
1 languagesadvanced - Tsai's calibration method
Calibrate in two stages, first the rotation, T_x, T_y and the x scale factor by the radial alignment constraint, which radial distortion does not affect, then f, T_z and the distortion.
1 languagesadvanced
Concepts
- Homogeneous coordinates
Represent a point of the plane by a 3-vector up to scale, so that projective maps are linear, points at infinity are finite vectors and lines are vectors too.
intro - Image of the absolute conic
The conic omega = (K K^T)^-1 where the absolute conic projects. It depends only on K, gives the angle between any two rays, and finding it calibrates the camera.
advanced
Definitions
- Camera extrinsic parameters
The rotation and translation that take world coordinates to camera coordinates, six degrees of freedom in all.
intro - Camera intrinsic matrix
The upper triangular 3 by 3 matrix of focal lengths, skew and principal point that maps camera coordinates of a ray to pixel coordinates.
intro - Camera projection matrix
The 3 by 4 matrix P = K[R | t] that maps a world point in homogeneous coordinates to its image point, with 11 degrees of freedom.
core
Theorems
- Kruppa equations
For two views with fundamental matrix F, the duals of the absolute conic images satisfy [e']x omega*' [e']x^T ~ F omega* F^T: two equations per image pair on K K^T.
advanced
Models
- Affine camera model
A camera whose last row of P is (0, 0, 0, 1), so parallel lines stay parallel; a good model when the depth of the scene is small next to its distance.
core - Brown-Conrady distortion model
Lens distortion as even polynomials in the radius (radial terms k1, k2, k3) plus decentering terms p1, p2, applied to normalized image coordinates before K.
core - Division model of radial distortion
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.
advanced - Kannala-Brandt fisheye model
Model a fisheye lens by the image radius as an odd polynomial of the angle between the ray and the optical axis, which covers fields of view of 180 degrees and more.
advanced - Rolling shutter camera model
A camera that exposes its rows one after another, so each row has its own pose, and moving scenes or cameras bend straight lines.
advanced - Unified omnidirectional camera model
Model every central catadioptric camera as a projection onto a unit sphere followed by a perspective projection from a point on the sphere axis at distance xi from the center.
advanced - Generalized camera model
Model a camera as a set of rays in space, one per pixel, written in Plucker coordinates. Rays need not meet in one point, so central cameras and multi-camera rigs are special cases.
research