https://wiki.panotools.org/api.php?action=feedcontributions&user=Rook+Crimson&feedformat=atom PanoTools.org Wiki - User contributions [en] 2020-08-05T17:13:04Z User contributions MediaWiki 1.31.7 https://wiki.panotools.org/index.php?title=Field_of_View&diff=16031 Field of View 2018-09-12T17:52:21Z <p>Rook Crimson: /* Conversion from focal length */</p> <hr /> <div>{{Glossary|The angle in degrees that a projection covers.}}<br /> The '''angle of view''' of a photograph or camera is a measure of the proportion of a scene included in the image. Simply said: How many degrees of view are included in an image. A typical fixed lens camera might have an angle of view of 50°, a [[Fisheye Projection|fisheye]] lens can have an angle of view greater than 180° and a full [[equirectangular]] or [[cylindrical panorama]] would have an angle of view of 360°.<br /> <br /> Most people speak of '''field of view''' when in fact they mean '''angle of view'''. Field of view is the distance covered by a projection at a certain distance. So if an image exactly shows a 2 meter wide object at 1 meter distance, then the field of view is 2 meter (and the angle of view is 90°).<br /> Angle of view is also known as '''angle of coverage'''.<br /> <br /> [[image:Field-of-view.svg|center]]<br /> <br /> From here on and on the rest of the wiki we will only speak of field of view (although we should speak of angle of view).<br /> <br /> Field of view is often abbreviated as '''FoV'''.<br /> Usually '''field of view''' refers to the '''horizontal field of view''' (hFoV) of an image. Some applications make use of the '''vertical field of view''' (vFoV) which can be calculated from the [[Aspect Ratio]] of the image:<br /> <br /> For rectilinear images:<br /> <br /> &lt;math&gt;Aspect Ratio = \frac{tan(\frac{hFoV}{2})}{tan (\frac{vFoV}{2})}&lt;/math&gt;<br /> <br /> For fisheye images (approximation):<br /> <br /> &lt;math&gt;Aspect Ratio = \frac{hFoV}{vFoV}&lt;/math&gt;<br /> <br /> == Conversion from focal length ==<br /> <br /> The other standard measure of the ''width'' or ''narrowness'' of a lens is [[Focal Length]].<br /> <br /> Assuming a [[Rectilinear Projection|rectilinear]] lens, the field of view can be calculated like this (&lt;math&gt;size&lt;/math&gt; being either width or height for the respective FoV):<br /> <br /> &lt;math&gt;FoV = 2 * atan \left(\frac{size}{2 * Focal Length} \right) &lt;/math&gt;<br /> <br /> Please note that this is an approximation. The exact values depend on the location of the [[entrance pupil]]. More information on that in [http://www.janrik.net/PanoPostings/NoParallaxPoint/TheoryOfTheNoParallaxPoint.pdf Rik Littlefield's paper].<br /> See [[Fisheye Projection]] for formulas for [[Fisheyes]].<br /> <br /> Please also note that some software may modify somewhat the above relationship between FoV and focal length. For example, [[Hugin]] takes into account ratio of input image (see beginning of function [http://hugin.sourceforge.net/docs/html/SrcPanoImage_8cpp-source.html SrcPanoImage::calcFocalLength()] for details).<br /> <br /> == Conversion from horizontal to vertical and vice versa ==<br /> <br /> For fisheye (approximation) and equirectangular images:<br /> <br /> &lt;math&gt;vFoV = hFoV * \frac{height}{width}\ &lt;/math&gt;<br /> <br /> &lt;math&gt;hFoV = vFoV * \frac{width}{height}\ &lt;/math&gt;<br /> <br /> For rectilinear images:<br /> <br /> &lt;math&gt;vFoV = 2 * atan \left( tan \left(\frac{hFoV}{2} \right) * \frac{height}{width} \right)&lt;/math&gt;<br /> <br /> &lt;math&gt;hFoV = 2 * atan \left( tan \left(\frac{vFoV}{2} \right) * \frac{width}{height} \right)&lt;/math&gt;<br /> <br /> [[Category:Glossary]]</div> Rook Crimson