PanoHelp.com - Tips, techniques, and articles to help you create incredibly detailed panoramas
 You are here: PanoHelp.com » Measuring Lens Field of View (FOV)   Feedback  
Measuring Lens Field of View (FOV)
(aka: Locating the Lens Entrance Pupil)

Next Article >>

The Challenge: If you know a lot of information about a particular camera and lens, calculating the rated lens field of view is straightforward. However, can we measure actual lens field of view with NO prior knowledge about a particular camera and lens (and in the process find the lens entrace pupil location)?

Warning: Since field of view for a lens changes depending upon (a) the DSLR used, (b) the focal length, (c) focus distance, (d) etc, you must first decide what focal length and focus distance to test. For panorama photography, it is useful to use Hyperfocal Distance. After focusing on an object at a particular distance, you must turn your camera to manual focus to 'lock in' that focus distance for this entire test.

It is a little known fact that telephoto lenses can have a radically different actual focal length depending upon focus distance (Google 'focus breathing' for more info). For example, a Nikon AF-S 28-300mm f/3.5-5.6G ED VR lens set to 300mm will have the expected actual focal length near to 300mm when focused far away -- but has an actual focal length less than half that when focused at 18 inches!
FOV Measurement Setup
FOV Measurement Setup

x = DistanceFromWall
y = WallDistance/2
α = FOV° / 2

α = tan-1(y/x)
x = y / tan(α)
y = tan(α) * x

FOV° = 2 * tan-1(y/x)
  FOV formula
The Solution: Accurately measuring lens FOV requires the setup like you see to the right. It requires two separate sets of accurate measurements (one near and one far).

Repeat these steps, one near, with the camera close to the wall (like 3 feet), and another far, with the camera farther away from the wall (like 8 feet or more):
  1. Place your tripod in a large room, level and centered facing a wall (and perfectly square with the wall). Take note of the height to the center of the lens.
  2. Print out two registration grids and tape them to the wall with the center of the grid at exactly the same height as your lens. Adjust the left/right of the grids by looking in your camera viewfinder attempting to see just the very edge of the grid.
  3. Take a test digital photo and examine the image. The registration grids must be perfectly centered vertically on the left and right sides of the image (like the 'dotted outline photo on the wall in the setup example). If not, your tripod was not perfectly level. Adjust your tripod and repeat until level.
  4. Take a digital photo and closely examine where in each grid the digital picture edge is located. Do this on a computer by zooming into the image. Mark a red spot representing the photo edge on each grid on the wall.
  5. Note that the distance from both red points on the grids to the lens (front/center) must be the same distance. If not, your tripod was not 'square' with the wall. Adjust the tripod and try again.
  6. The distance between the two red dots on the wall is the "WallDistance".
  7. The distance from the wall the any common point on the lens/camera (front of lens; film plane mark on camera, etc) is the "DistanceFromWall".
How it works: The angular origin is somewhere and we actually don't have to know where! Instead, take measurments to a common point on the lens/camera. And take measurments from two distances away from the wall (one near, one far). We then know that there must be some unknown constant 'k' which needs to be added to both lens measurments. Because the FOV angle must be constant, the 'tan(y/x)' must be the same for both near and far measurements. Namely:
tan(near-measurement) = tan(far-measurement)
or more specifically:
y1
x1 + k
= y2
x2 + k
and solving for 'k' yields the following:
k = y1*x2 - x1*y2
y2 - y1
Entrance Pupil: 'k' is also the offset from the common measurment point to the location of the Entrance Pupil for your lens, also known as the Panorama Pivot Point.
After finding 'k', adjust both 'x' (Distance From Wall) values by this amount and use the formulas above to solve for the FOV°.

Here is a script that does all of that computation for you:

Near Distance From Wall
Near Wall Distance
Far Distance From Wall
Far Wall Distance
 

Near FOV° =
Far FOV° =
k =
Final FOV° =
Effective focal length =
To assist in understanding how this works, clicking on one of these links will fill in the table above with actual test data: Warning: Please note the even being off by 1/16th of an inch in your measurements will throw off the results a little. The results will only as accurate (or not) as the original measured data.



Measure FOV at the Mall: Really super size things! Go to the local mall and find a wall that is fairly 'in-line'. Take a picture, similar to the image below, where on each left/right side of the image you have windows to help you pinpoint exact edges. Remember to be 'square' with the mall wall (in my case, I just used the parking lot grid to help, which appeared fairly 'square' with the mall). Then simply count walking paces. Remember to start counting paces from directly under the camera lens.
Mall
Mall image (with top/bottom cropped) with vertical FOV center line
In my case, I was 81 paces from the mall, and the mall wall distance was 109 paces. Plugging these figures into the FOV formula above results in a FOV measurement of 67.87°. Remarkably close to the 67.66° calculated above considering the measuring tape is 'walking paces' and that the test was performed in about five minutes!

Optional: Take a friend and a 100-foot measuring tape with you and instead of counting paces, actually measure distances to the nearest inch. The resulting FOV measurement will be about as precise as you could ever get.
Copyright © 2007-2014 Jerry Jongerius