Depth of Field

A photographic image is only sharp in the focus plane. The farther an object is located in front of or behind the focus plane, the more it is blurred.

However, this blur is not recognizable if it stays below a certain amount. In classical photography which has a printed image as a goal (no matter whether digital or analog) the perception of the human eye is the limiting factor.

The human eye commonly accepts an edge as sharp, if the angle of view of the blur is smaller than 1 arc minute. Hence a point blurred to that amount has the diameter of 2 arc minutes, which is the same as 1/1700 of the viewing distance.

This is the allowed diameter of the so called Circle of Confusion. The normal viewing distance in classical photography is assumed to be equivalent to the printed image diagonal. The circle of confusion is the basis for most Depth of Field calculators or tables.

For VR panorama creation where one can zoom into the image, the limit must be the pixel distance in the viewable panorama - unless you don't allow to zoom in until 100% pixel view.

Since a pixel in an equirectangular panorama corresponds to a certain angle of view in reality, we can directly calculate the allowed angle of confusion in the shot image. It is 360� divided by the width of the equirectangular image.

For a standard angle of confusion of 2 arc minutes this would result in an equirect image with 10800*5400 pixel. Hence the Depth of Field for most VR panoramas is far bigger than for classical photography and standard depth of field calculators are of no big use.

Hyperfocal distance

In most cases a panorama should be sharp from the horizon to the nearest objects. Since the Depth of Field region is partly in front of and partly behind the focus plane, you sacrifice a fair amount of Depth of Field if you focus to infinity.

However, there is a distance you can focus on, that extends the Depth of Field exactly from infinity to a nearer limit. This is the hyperfocal distance. It can be calculated, if the allowed circle of confusion (see above) on the sensor is known.

Following the considerations on Depth of Field we can calculate a small table with