Modelresearch
Generalized camera model
Also called non-central camera, Pless generalized camera.
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.
The generalized camera model drops the one assumption that all other camera models on this list share: that every ray passes through one center. A generalized camera is just a map from pixels to rays in space, and each ray can be anywhere. Grossberg and Nayar (2001) used this form to describe any imaging system, and Pless (2003) wrote the rays in Plucker coordinates, which turns two view geometry for such cameras into linear algebra. The model covers rigs of several cameras treated as one, cameras that look at a mirror from a point where it has no single viewpoint, push-broom sensors, and a rolling shutter camera in motion. The pinhole camera and all other central cameras are the special case where all rays meet in one point.
The machine
Input. A pixel index (a pixel of one of the cameras of a rig, for example).
Output. A ray in space, a line with a direction.
Plucker coordinates. A line through the point with direction is the pair with . The moment does not depend on which point of the line is used, and . Two lines and meet (or are parallel) exactly when
Rigid motion. If points move by , a line moves to .
The machine as a table. In the most general form, calibration stores one ray per pixel, with no formula at all. In practice the rays come from a few parts: a rig of central cameras gives each pixel the ray from the center of its camera along the direction , so and .
Special classes.
- Central: all rays pass through one point. With that point at the origin, for every ray.
- Axial: all rays meet one line, as in a stereo pair or a camera placed on the axis of a mirror of revolution but not at its special point.
- X-slit: all rays meet two lines.
- Non-central: no such structure.
What it counts
The model counts only the geometry of rays: which ray each pixel sees. It says nothing about the image formation inside each camera, which is left to the central models of each part. Problems in the model are posed on rays: relative pose from matched rays, absolute pose from rays and known points, triangulation, and bundle adjustment, where the residual can be the distance from a point to its ray or the reprojection error in the camera that owns the pixel.
Generalized epipolar constraint. If a scene point lies on the ray seen at time 1 and on the ray seen at time 2, then the moved first ray meets the second ray, and the intersection test gives
In block form this is
For a central camera , and only is left, the constraint of the essential matrix.
Worked example. Let and , and let the point be at time 1, so . At time 1 a camera with center sees it along , and . At time 2 a camera at the origin sees it along with . Then , so , and . The sum is 0, as the constraint requires. With instead, the first term becomes and the sum is . So, unlike for a central camera, the length of is visible in the data. A script also checked the constraint on random rays and motions, with residuals of about .
Relation to other models
- Central models. The pinhole, Brown-Conrady, Kannala-Brandt and unified models all describe central cameras. The generalized model contains them as the case where all rays meet in one point, and then the relative pose problem loses its scale.
- Catadioptric cameras. A mirror seen from a point other than the special one of Baker and Nayar gives a non central camera, with rays that touch a caustic surface instead of meeting in one point.
- Rolling shutter. A rolling shutter camera that moves during the exposure has a different center for each row, so its image is a generalized camera image.
- Multi-camera rigs. A rig of calibrated cameras with known relative poses, for example on a car, is one generalized camera. Its motion is then one rigid motion with 6 degrees of freedom, scale included.
Known results in the model
- Generalized epipolar constraint (theorem). As above, after Pless (2003). It is linear in the 18 entries of and , so with 17 matches in general position a linear method finds them up to scale.
- Degeneracy of the linear method (theorem). Li, Hartley and Kim (2008) showed that this linear method is degenerate for several common rig configurations, so that the linear system has more than a one dimensional solution space, and they gave a linear method that avoids the problem.
- Minimal relative pose (theorem). The motion has 6 degrees of freedom and each ray match gives one equation, so 6 matches are minimal. Stewenius, Nister, Oskarsson and Astrom (2005) solved this case with at most 64 solutions, with a minimal solver for a polynomial system.
- Minimal absolute pose (theorem). For perspective-n-point with a generalized camera, 3 rays and 3 known points are minimal, and Nister (2004) showed there are at most 8 solutions, twice the at most 4 of the central P3P problem.
- Metric scale (theorem). For a non central camera, the translation is found with its length, as the example shows. If the rays are close to central, for example a rig with a short baseline compared with the scene depth, the scale is poorly conditioned in practice.
References
- Michael D. Grossberg and Shree K. Nayar, A general imaging model and a method for finding its parameters, IEEE International Conference on Computer Vision, 2001, volume 2, 108-115, the model of a camera as a map from pixels to rays (raxels), and its calibration with structured light
- Robert Pless, Using many cameras as one, IEEE Conference on Computer Vision and Pattern Recognition, 2003, 587-593, rays in Plucker coordinates, the generalized epipolar constraint, and the analysis of motion estimation for camera rigs
- David Nister, A minimal solution to the generalised 3-point pose problem, IEEE Conference on Computer Vision and Pattern Recognition, 2004, absolute pose of a generalized camera from 3 rays and 3 known points, with at most 8 solutions
- Henrik Stewenius, David Nister, Magnus Oskarsson and Kalle Astrom, Solutions to minimal generalized relative pose problems, Workshop on Omnidirectional Vision (OMNIVIS), 2005, relative pose of a generalized camera from 6 ray matches, with up to 64 solutions
- Hongdong Li, Richard Hartley and Jae-hak Kim, A linear approach to motion estimation using generalized camera models, IEEE Conference on Computer Vision and Pattern Recognition, 2008, the degeneracy of the plain linear solution of the generalized epipolar constraint for common camera rigs, and a linear method that avoids it
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.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag GWFY8A Edit this page History Report an error Markdown