TOPICS
Search

Perspective Projection


A perspective projection with center C and image plane Pi not containing C maps a point P!=C in three-dimensional Euclidean space to the intersection of the line CP with Pi. If CP is parallel to Pi, its image is a point at infinity. All points on the same line through C have the same image, so distance from C along the line is lost.

Choose a coordinate system with C=(0,0,0) and image plane z=f. A point P=(X,Y,Z) with Z!=0 is mapped to the image point (x,y,f), where

 (x,y)=((fX)/Z,(fY)/Z).

In homogeneous coordinates, the same projection is represented by

 Z(x; y; 1)=(f 0 0 0; 0 f 0 0; 0 0 1 0)(X; Y; Z; 1).

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 C 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).


See also

Affine Transformation, Homogeneous Coordinates, Perspective, Point at Infinity, Projection, Vanishing Point, Vertical Perspective Projection

Explore with Wolfram|Alpha

References

Hartley, R. and Zisserman, A. Multiple View Geometry in Computer Vision, 2nd ed. Cambridge, England: Cambridge University Press, pp. 153-177, 2004. https://doi.org/10.1017/CBO9780511811685.010.Torralba, A.; Isola, P.; and Freeman, W. T. Foundations of Computer Vision. Cambridge, MA: MIT Press, 2024. https://visionbook.mit.edu/imaging.html.

Referenced on Wolfram|Alpha

Perspective Projection

Cite this as:

Weisstein, Eric W. "Perspective Projection." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/PerspectiveProjection.html

Subject classifications