Definition

The projection matrix describes the whole forward projection, from world coordinates to pixel coordinates, as a single matrix product in homogeneous coordinates.

flowchart LR
  W["World<br/>(U, V, W)"] -- "M_ext" --> C["Camera<br/>(X, Y, Z)"] -- "M_proj" --> F["Film<br/>(x, y)"] -- "M_aff" --> P["Pixel<br/>(u, v)"]

Formula

: rotation and translation (extrinsics). : focal length, pixel sizes, principal point (intrinsics). Pixel coordinates come from dividing by the third homogeneous coordinate.

Trap

Only the step camera → film loses information (depth). Computer vision is mostly about going backwards (backward projection) with stereo, motion or learned priors.

Appears in