Definitionintro
Camera extrinsic parameters
Also called exterior orientation, camera pose parameters.
The rotation and translation that take world coordinates to camera coordinates, six degrees of freedom in all.
The extrinsic parameters of a camera are a rotation and a translation that take the coordinates of a point in a fixed world frame to its coordinates in the frame of the camera. They say where the camera is and which way it points, with 6 degrees of freedom: 3 for the rotation and 3 for the translation. They are the outer half of the camera projection matrix ; the inner half, the camera intrinsic matrix , maps the camera frame to pixels. Photogrammetry calls them the exterior orientation. The translation is not the position of the camera: the position is the center .
Definition
Frames. The world frame is any fixed right-handed frame, for example one tied to a calibration pattern. The camera frame has its origin at the center of projection, to the right, down and forward along the optical axis.
Parameters. The extrinsic parameters are a rotation , so and (see special orthogonal group), and a vector , such that for every point
As a matrix acting on homogeneous coordinates, this is the rigid body transformation
which maps world points to camera points (see homogeneous transformation matrix and special Euclidean group).
What the entries mean.
- The camera center is the world point with , so and . Then , and (HZ section 6.1).
- The rows of are the camera axes written in world coordinates: points right, down, and along the optical axis. So the depth of a world point is , and a point is in front of the camera if this is positive.
- The inverse map, from the camera to the world, is . Its matrix holds and . This is the pose of the camera in the world, the form that robotics and graphics code usually store.
Counting. has 3 degrees of freedom and has 3, so there are 6 in all. The 9 entries of are not free; code that estimates uses a minimal form, such as the rotation vector of the axis-angle representation with from the Rodrigues formula, or a unit quaternion.
Two cameras. For two cameras with extrinsics and in the same world frame, the motion from the frame of camera 1 to the frame of camera 2 is with and . This is the relative pose that stereo camera calibration estimates.
Examples and non-examples
A camera on the X axis. Put the center at and let the camera look at the world origin, with its axis along the world axis. The forward axis is , the down axis is , and the right axis is . So
is the rotation by degrees about the axis, with rotation vector , and . Check: the origin goes to , straight ahead at depth 2. The world point goes to , to the right of the axis. With of focal length 800 and principal point , these two points have the pixels and .
The translation is not the position. In the example, but . The relation holds only when .
Two cameras. With , and , the relative pose is and : camera 2 sits to the right of camera 1, at against .
Non-examples.
- A pair with orthogonal but . is a reflection, and the frame it gives is left-handed. Such a matrix appears when a linear method fits without a sign rule; the camera matrix decomposition page shows the fix.
- The camera pose given where is expected. Both describe the same camera, but they are inverse maps. Mixing them is the most common bug with extrinsics, and it often gives images that look nearly right for cameras close to the world origin.
- A matrix with not a rotation, for example a scaled or sheared one. It can be a camera matrix with , but its left block is and it must be decomposed before can be read.
- The full . The extrinsics say nothing about pixels; two cameras at the same place with different lenses have the same .
Related definitions
- Camera intrinsic matrix: the matrix from the camera frame to pixels.
- Camera projection matrix: , with 11 degrees of freedom in all, 5 intrinsic and 6 extrinsic.
- Perspective-n-point: the problem of finding from known and 2D to 3D matches.
- Homogeneous transformation matrix, special Euclidean group and rigid body transformation: the robotics pages on the matrix and the group of rigid motions.
References
- Richard Hartley and Andrew Zisserman, Multiple View Geometry in Computer Vision, second edition, Cambridge University Press, 2004, Section 6.1, Finite cameras (camera rotation and translation, the camera center and the form P = K R [I | -C])
- Richard Szeliski, Computer Vision, Algorithms and Applications, second edition, Springer, 2022, Chapter 2, Image formation (3D rotations and the camera extrinsics)
Where this leads
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 X5VYZG Edit this page History Report an error Markdown