# Difference between revisions of "Field of View"

(Made clear that FoV is actually AoV and corrected the aspect ratio formula) |
(added Aspect Ratio for fisheyes) |
||

Line 7: | Line 7: | ||

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: | 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: | ||

Aspect Ratio = tan (HFoV / 2) / tan (VFoV / 2) | Aspect Ratio = tan (HFoV / 2) / tan (VFoV / 2) | ||

+ | |||

+ | For fisheye images (approximation): | ||

+ | Aspect Ratio = HFoV / VFoV | ||

== Conversion from focal length == | == Conversion from focal length == | ||

Line 16: | Line 20: | ||

Field of View = 2 x atan ( 35 / ( 2 x Focal Length ) ) | Field of View = 2 x atan ( 35 / ( 2 x Focal Length ) ) | ||

+ | |||

+ | See [[Fisheye Projection]] for formulas for [[Fisheyes]]. | ||

== Conversion from horizontal to vertical and vice versa == | == Conversion from horizontal to vertical and vice versa == | ||

− | For fisheye and equirectangular images: | + | For fisheye (approximation) and equirectangular images: |

vfov = height / width * hfov | vfov = height / width * hfov |

## Revision as of 10:56, 17 October 2005

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**. 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:

Aspect Ratio = tan (HFoV / 2) / tan (VFoV / 2)

For fisheye images (approximation):

Aspect Ratio = HFoV / VFoV

## Conversion from 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 lens, the field of view can be calculated like so:

Field of View = 2 x atan ( 35 / ( 2 x Focal Length ) )

See Fisheye Projection for formulas for Fisheyes.

## Conversion from horizontal to vertical and vice versa

For fisheye (approximation) and equirectangular images:

vfov = height / width * hfov hfov = width / height * vfov

For rectilinear images:

vfov = 2 * atan( tan(hfov/2) * height/width) hfov = 2 * atan( tan(vfov/2) * width/height)