Pinhole Camera Models
Coordinate Systems
World Coordinates
- The coordinate system of the world where the objects/scene live.
Camera Coordinates
- The coordinate system with respect to the camera.\
- The origin is the optical center or the focal point.
- Principal axis is the axis orthogonal to the image plane, which aligns with the
-axis. - The
-axis points downwards.
Image Coordinates
- The 2D coordinate system with respect to the image plane.
- The
-axis of the camera coordinates intersects with the image plane at the principal point. - There is usually an offset from the origin to the principal point.
- The
- and -axis points to the same direction as the camera coordinates.
Perspective Projection
The perspective projection transforms from camera coordinates to image coordinates. Let the image coordinates be
Axis Skew
Axis skew causes shear distortion of the projected image. The skew can be defined as the shift on the
Principal Point Offset
The origin of the image coordinates may deviate from the principal point. We parameterize this with an offset on the
Perspective Projection in Matrix Representation
Putting the above together, if we write
where
Chaining Transformations
The transformation from the world coordinates to the camera coordinates can be parameterized as a rotation matrix