Modeladvanced
Unified omnidirectional camera model
Also called unified camera model, Geyer-Daniilidis model, Mei 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.
The unified model describes a central omnidirectional camera in two steps: first project the scene point onto a unit sphere around the center of the camera, then project the point on the sphere into an image plane from a second center that lies on the axis of the sphere at distance from its middle. Geyer and Daniilidis (2000) showed that every central catadioptric camera, a camera that looks at a curved mirror and still has one effective viewpoint, fits this scheme, with fixed by the shape of the mirror. The case is the pinhole camera. The model has a closed form in both directions, and with close to 1 it also fits many fisheye lenses, which is why it is a common alternative to the Kannala-Brandt model in calibration tools and in visual odometry.
The machine
Input. A point in the camera frame (after the pose), the parameter , the intrinsic matrix , and optionally distortion parameters.
Step 1: onto the sphere. .
Step 2: shift the center. Move the center of projection to the point , which is the same as adding to the third coordinate: .
Step 3: perspective division. .
Step 4: distortion (optional). Lens distortion acts on normalized coordinates: project, distort, then apply . Mei and Rives (2007) apply the Brown-Conrady radial and tangential terms to here, to absorb the errors of a real mirror and lens.
Step 5: apply K. . The focal length in now combines the focal length of the camera and the shape of the mirror, so it is often called the generalized focal length.
Inverse (lifting). Given with , let
Then is the unit vector of the ray. This is a closed form, unlike the inverse of the Kannala-Brandt or Brown-Conrady models.
Domain. The division in Step 3 needs . For the model is one to one on the rays with , so the field of view is ; at this is all rays except the one straight back. For two rays can map to the same point, and the model is used only for ; the lifting then needs .
What it counts
The model gives the pixel of each ray of a central camera with 5 intrinsic numbers (, , , , ), plus distortion terms if used. Calibration fits them by minimizing the reprojection error. The parameters and the focal length are strongly correlated, so a good start matters; Mei and Rives start from images of straight lines, which map to conics in this model.
Worked example. Let . A ray at angle to the optical axis has (in its own vertical plane) and , so . For = 0, 45, 90, 120 and 140 degrees this gives 0, 0.4692, 1.25, 2.8868 and 18.93. A pinhole camera gives at 45 degrees and infinity at 90 degrees. The largest angle is degrees, a field of view of 286 degrees. The lifting formula recovers each of these rays (checked with a script). For the limit is degrees, and the image radius stops at .
Relation to other models
- Pinhole. gives .
- Catadioptric cameras. Baker and Nayar (1999) listed the mirror and camera pairs with a single effective viewpoint: a plane, an ellipsoid or a hyperboloid of two sheets with a perspective camera at the right point, and a paraboloid with an orthographic camera (the cone and the sphere give only degenerate cases). Geyer and Daniilidis (2000) showed that the useful ones are all the sphere model: the parabolic mirror gives , the hyperbolic and elliptic mirrors give , and the plane gives .
- Division model. For the lifting is the ray , which is the division model with in coordinates scaled by 2. So the parabolic camera is a one parameter division model.
- Fisheye models. The model is not derived from fisheye optics, but with near 1 it fits many fisheye lenses fairly well. The extended unified model and the double sphere model of Usenko, Demmel and Cremers (2018) add one parameter to fit them better, and keep the closed form inverse. The Kannala-Brandt model fits with a polynomial instead and needs iteration to invert.
- Generalized camera. All these models are central. A mirror seen from the wrong point gives a non central camera, which needs the generalized camera model.
Known results in the model
- Unifying theorem. Geyer and Daniilidis (2000): every central catadioptric projection is equal to the two step sphere projection for some , up to the affine map .
- Lines map to conics (theorem). A scene line and the center span a plane through the center of the sphere, which cuts the sphere in a great circle. The projection of a circle on the sphere from a point is a conic. So in the image every line becomes a conic, and for a circle, because the projection from a point of the sphere onto a plane is stereographic and maps circles to circles or lines.
- Closed form both ways (theorem). Projection and lifting are both closed forms with one square root, as above. This makes the model cheap in bundle adjustment and direct methods, where many points are projected and lifted in each step.
- Degeneracy in calibration (heuristic). With a narrow field of view, and the focal length cannot be separated well, because the model is then close to a pinhole with a different focal length. Calibration data should cover the edge of the image.
References
- Christopher Geyer and Kostas Daniilidis, A unifying theory for central panoramic systems and practical implications, European Conference on Computer Vision, 2000, 445-461, the equivalence of central catadioptric projections to a projection onto a sphere followed by a projection from a point on its axis, and the images of lines as conics
- Simon Baker and Shree K. Nayar, A theory of single-viewpoint catadioptric image formation, International Journal of Computer Vision 35(2), 1999, 175-196, the classification of mirror and camera pairs that have a single effective viewpoint
- Christopher Mei and Patrick Rives, Single view point omnidirectional camera calibration from planar grids, IEEE International Conference on Robotics and Automation, 2007, 3945-3950, the unified model with added radial and tangential distortion, and its calibration from images of a planar grid
- Vladyslav Usenko, Nikolaus Demmel and Daniel Cremers, The double sphere camera model, International Conference on 3D Vision, 2018, 552-560, the unified model and its extensions as fisheye models, with closed form projection and unprojection
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 CCWFX3 Edit this page History Report an error Markdown