Definition

A pinhole camera (camera obscura) lets light through a single small hole onto an image plane. Every scene point is projected along a straight line through the pinhole, which gives a linear perspective image. In the equivalent model used in computer vision, the image plane is placed at distance in front of the camera center.

Perspective projection

Image size is inversely proportional to depth: twice as far, half as big.

A real pinhole is too dark, and a larger hole makes the image blurry. A lens solves this and still gives the same linear perspective: a lens with focal length focused at infinity is equivalent to a pinhole at distance . That is why computer vision uses the pinhole model and ignores lenses unless images have to be undistorted.

Trap

The projection is not linear because of the division by . To write it as a matrix, we need homogeneous coordinates.

Appears in