Tom Axford
Forum Pro
There have been recent discussions on whether or not it is necessary to know the sensor size to work out the depth of field.
An object-space analysis of depth of field shows that three basic independent variables can be used to obtain the depth of field. If those variables are known, nothing else is required.
Diagram for Depth of Field in Object Space

The camera is focussed on the object plane. Point P is in the background and point S is in the foreground. Seen from point T at the top of the entrance pupil, P appears in line with Q. Seen from point U at the bottom of the entrance pupil, P appears in line with R. The lens creates an image by using all of the light from P that enters the entrance pupil. If Q and R are in sharp focus, then the point P will be seen as a blur that extends from Q to R. Similarly, the point S will be seen as a blur that extends from R to Q.
In the diagram above, the diameter of the entrance pupil is denoted by a, the diameter of the circle of confusion in object space is denoted by b, and the distance between the object plane and the entrance pupil is denoted by x. The camera is assumed to be focussed on the object plane.
The nearside depth of field is the distance between the object plane and point S. The farside depth of field is the distance between the object plane and point P.
If a, b and x are all known, then the depth of field can be worked out by simple geometry. It can be expressed in the following form:
Nearside depth of field = E/(1+D)
Farside depth of field = E/(1-D) if D<1 and = infinity if D>1
Total depth of field = 2E/(1-D^2) if D<1 and = infinity if D>1
where D = b/a and E = xD
Often b (the circle of confusion in object space) is not directly known, but it can be calculated from other variables that are known.
For example, b = c/m, where c is the circle of confusion in image space and m is the image magnification (i.e. ratio of the size of the image of an object to the size of that object).
Alternatively, b = d/R, where d is the diameter of the field of view in the object plane and R is the ratio of the image diameter to the circle of confusion (very often R is taken as 1500 or thereabouts).
Although the first object-space analysis of depth of field has been attributed to Moritz von Rohr sometime in the 1890s (see the Wikipedia entry for Moritz von Rohr), most modern treatments of depth of field use image-space analysis. Personally, I think that object-space analysis is much simpler and should be more widely known.
An object-space analysis of depth of field shows that three basic independent variables can be used to obtain the depth of field. If those variables are known, nothing else is required.
Diagram for Depth of Field in Object Space

The camera is focussed on the object plane. Point P is in the background and point S is in the foreground. Seen from point T at the top of the entrance pupil, P appears in line with Q. Seen from point U at the bottom of the entrance pupil, P appears in line with R. The lens creates an image by using all of the light from P that enters the entrance pupil. If Q and R are in sharp focus, then the point P will be seen as a blur that extends from Q to R. Similarly, the point S will be seen as a blur that extends from R to Q.
In the diagram above, the diameter of the entrance pupil is denoted by a, the diameter of the circle of confusion in object space is denoted by b, and the distance between the object plane and the entrance pupil is denoted by x. The camera is assumed to be focussed on the object plane.
The nearside depth of field is the distance between the object plane and point S. The farside depth of field is the distance between the object plane and point P.
If a, b and x are all known, then the depth of field can be worked out by simple geometry. It can be expressed in the following form:
Nearside depth of field = E/(1+D)
Farside depth of field = E/(1-D) if D<1 and = infinity if D>1
Total depth of field = 2E/(1-D^2) if D<1 and = infinity if D>1
where D = b/a and E = xD
Often b (the circle of confusion in object space) is not directly known, but it can be calculated from other variables that are known.
For example, b = c/m, where c is the circle of confusion in image space and m is the image magnification (i.e. ratio of the size of the image of an object to the size of that object).
Alternatively, b = d/R, where d is the diameter of the field of view in the object plane and R is the ratio of the image diameter to the circle of confusion (very often R is taken as 1500 or thereabouts).
Although the first object-space analysis of depth of field has been attributed to Moritz von Rohr sometime in the 1890s (see the Wikipedia entry for Moritz von Rohr), most modern treatments of depth of field use image-space analysis. Personally, I think that object-space analysis is much simpler and should be more widely known.