Difference between revisions of "Field of View"

From PanoTools.org Wiki
Jump to navigation Jump to search
(basic page about field of view)
 
 
(15 intermediate revisions by 7 users not shown)
Line 1: Line 1:
The '''field of view''' of a photograph or camera is a measure of the proportion of a scene included in the image. A typical fixed lens camera might have a field of view of 50�, a [[Fisheye Projection|fisheye]] lens can have a field of view greater than 180� and a full [[equirectangular]] or [[cylindrical panorama]] would have a field of view of 360�.
+
{{Glossary|The angle in degrees that a projection covers.}}
 +
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°.
  
Field of view is often abbreviated as '''FoV''', it is also known as '''angle of coverage''' or '''angle of view'''.
+
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°).
Usually '''field of view''' refers to '''horizontal field of view''' (HFoV), some applications make use of the '''vertical field of view''' (VFoV) which can be calculated from the [[Aspect Ratio]] of the image:
+
Angle of view is also known as '''angle of coverage'''.
  
  Aspect Ratio = sin (HFoV / 2) / sin (VFoV / 2)
+
[[image:Field-of-view.svg|center]]
 +
 
 +
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).
 +
 
 +
Field of view is often abbreviated as '''FoV'''.
 +
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:
 +
 
 +
For rectilinear images:
 +
 
 +
<math>Aspect Ratio = \frac{tan(\frac{hFoV}{2})}{tan (\frac{vFoV}{2})}</math>
 +
 
 +
For fisheye images (approximation):
 +
 
 +
<math>Aspect Ratio = \frac{hFoV}{vFoV}</math>
  
 
== Conversion from focal length ==
 
== Conversion from focal length ==
Line 10: Line 24:
 
The other standard measure of the ''width'' or ''narrowness'' of a lens is [[Focal Length]].
 
The other standard measure of the ''width'' or ''narrowness'' of a lens is [[Focal Length]].
  
Assuming a 35mm negative width and a [[Rectilinear Projection|rectilinear]] lens, the field of view can be calculated like so:
+
Assuming a [[Rectilinear Projection|rectilinear]] lens, the field of view can be calculated like this (<math>size</math> being either width or height for the respective FoV):
 +
 
 +
<math>FoV = 2 * atan \left(\frac{size}{2 * Focal Length} \right) </math>
 +
 
 +
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].
 +
See [[Fisheye Projection]] for formulas for [[Fisheyes]].
 +
 
 +
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).
 +
 
 +
== Conversion from horizontal to vertical and vice versa ==
 +
 
 +
For fisheye (approximation) and equirectangular images:
 +
 
 +
<math>vFoV = hFoV * \frac{height}{width}\ </math>
 +
 
 +
<math>hFoV = vFoV * \frac{width}{height}\ </math>
 +
 
 +
For rectilinear images:
 +
 
 +
<math>vFoV = 2 * atan \left( tan \left(\frac{hFoV}{2} \right) * \frac{height}{width} \right)</math>
 +
 
 +
<math>hFoV =  2 * atan \left( tan \left(\frac{vFoV}{2} \right) * \frac{width}{height} \right)</math>
  
  Field of View = 2 x atan ( 35 / ( 2 x Focal Length ) )
+
[[Category:Glossary]]

Latest revision as of 19:52, 12 September 2018


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 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°.

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°). Angle of view is also known as angle of coverage.

Error creating thumbnail: /bin/bash: line 1: rsvg-convert: command not found

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

Field of view is often abbreviated as FoV. 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:

For rectilinear images:

For fisheye images (approximation):

Conversion from focal length

The other standard measure of the width or narrowness of a lens is Focal Length.

Assuming a rectilinear lens, the field of view can be calculated like this ( being either width or height for the respective FoV):

Please note that this is an approximation. The exact values depend on the location of the entrance pupil. More information on that in Rik Littlefield's paper. See Fisheye Projection for formulas for Fisheyes.

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 SrcPanoImage::calcFocalLength() for details).

Conversion from horizontal to vertical and vice versa

For fisheye (approximation) and equirectangular images:

For rectilinear images: