The pinhole camera model
A pinhole camera maps a 3D point (in camera coordinates) to a 2D pixel by perspective projection:
In homogeneous form this is , where and the intrinsic matrix is
are focal lengths in pixels; is the principal point (typically near image center); is the skew (zero for modern sensors). The pinhole model is linear after the perspective divide โ that linearity is what makes calibration tractable. The division by destroys depth: all 3D points on the same ray project to the same pixel, so the inverse mapping is a ray, not a unique 3D location.
