A perspective projection with center and image plane
not containing
maps a point
in three-dimensional Euclidean
space to the intersection of the line
with
. If
is parallel to
, its image is a point
at infinity. All points on the same line
through
have the same image, so distance from
along the line is lost.
Choose a coordinate system with and image plane
. A point
with
is mapped to the image point
, where
In homogeneous coordinates, the same projection is represented by
These formulas give the idealized geometry of imaging from a single viewpoint (Hartley and Zisserman 2004, Torralba et al. 2024).
A perspective projection maps lines not passing through
to lines. Images of parallel lines generally meet at a vanishing
point. Consequently, perspective projection does not preserve lengths,
angles, or parallelism, unlike
an affine transformation (Torralba et
al. 2024).
A finite aperture gives a family of perspective projections. In a straight-ray model, put the aperture in the plane and a screen in the plane
, with
.
For a point with transverse coordinates
in the object plane
,
with
, the ray through aperture point
meets the screen at transverse position
. Consequently, a point aperture at
gives an inverted image, while a finite aperture spreads each object point over a
scaled copy of the aperture. This calculation concerns the geometry of the rays;
diffraction is not included.
An Ames window is a rotating trapezoid with vertical sides of unequal length. It can appear to oscillate as its longer side is perceived as remaining nearer the viewer (Ames 1951, Veritasium 2023).
The figure shows a geometric ambiguity in a single view. With the center at the origin and image plane ,
a tilted rectangle with vertices
and
and a front-facing trapezoid with vertices
and
have the same projected outline. Their corresponding vertices
lie on the same projection rays, meeting the image plane
at
and
.