Computer Graphics: Difference between revisions

Line 105: Line 105:
===Perspective Projection Matrix===
===Perspective Projection Matrix===
[https://www.scratchapixel.com/lessons/3d-basic-rendering/perspective-and-orthographic-projection-matrix/building-basic-perspective-projection-matrix https://www.scratchapixel.com/lessons/3d-basic-rendering/perspective-and-orthographic-projection-matrix/building-basic-perspective-projection-matrix]
[https://www.scratchapixel.com/lessons/3d-basic-rendering/perspective-and-orthographic-projection-matrix/building-basic-perspective-projection-matrix https://www.scratchapixel.com/lessons/3d-basic-rendering/perspective-and-orthographic-projection-matrix/building-basic-perspective-projection-matrix]
Notes: In computer vision, this is called the calibration matrix <math>K</math>.
It contains the intrinsic parameters of your pinhole camera such as field of view and focal length (which determines the resolution of your output).


===Inverting the projection===
===Inverting the projection===