
A macro photograph illustrating the effect of depth of field on a tilted object.
For many cameras, depth of field (DOF) is the distance between the nearest and the farthest objects that are in acceptably sharp focus in an image. The depth of field can be calculated based on focal length, distance to subject, the acceptable circle of confusion size, and aperture. A particular depth of field may be chosen for technical or artistic purposes. Limitations of depth of field can sometimes be overcome with various techniques/equipment.
Factors affecting depth of field[]
Effect of aperture on blur and DOF. The points in focus (2) project points onto the image plane (5), but points at different distances (1 and 3) project blurred images, or circles of confusion. Decreasing the aperture size (4) reduces the size of the blur spots for points not in the focused plane, so that the blurring is imperceptible, and all points are within the DOF.
For Cameras that can only focus on one object distance at a time, Depth of field is the distance between the nearest and the farthest objects that are in acceptably sharp focus.[1] "Acceptably sharp focus" is defined using a property called the circle of confusion.
The depth of field can be determined by focal length, distance to subject, the acceptable circle of confusion size, and aperture.[2] The approximate depth of field can be given by:
for a given circle of confusion (c), focal length (f), F-number (N), and distance to subject (u).[3][4]
As distance or the size of the acceptable circle of confusion increases, the depth of field increases; however, increasing the size of the aperture or increasing the focal length reduces the depth of field. Depth of Field changes linearly with F-number and circle of confusion, but changes in proportional to the square of the focal length and the distance to the subject. As a result, photos taken at extremely close range have a proportionally much smaller depth of field.
Sensor size affects DOF only in that changing the sensor size on a camera requires changing the focal length to get the same picture. It is the change in focal length that then affects the DOF.[5][6][7]
Effect of lens aperture[]
Points in an image produce a blur spot shaped like the aperture. Custom shaped apertures and bright points of light can be used artistically to produce images like this
For a given subject framing and camera position, the DOF is controlled by the lens aperture diameter, which is usually specified as the f-number (the ratio of lens focal length to aperture diameter). Reducing the aperture diameter (increasing the f-number) increases the DOF because only the light travelling at shallower angles passes through the aperture. Because the angles are shallow, the light rays are within the acceptable circle of confusion for a greater distance.[8]
Motion pictures make only limited use of this control; to produce a consistent image quality from shot to shot, cinematographers usually choose a single aperture setting for interiors and another for exteriors, and adjust exposure through the use of camera filters or light levels. Aperture settings are adjusted more frequently in still photography, where variations in depth of field are used to produce a variety of special effects.Page Template:Multiple image/styles.css must have content model "Sanitized CSS" for TemplateStyles (current model is "wikitext").
Effect of circle of confusion[]
Precise focus is only possible at an exact distance from the lens;[n 1] at that distance, a point object will produce a point image. Otherwise, a point object will produce a blur spot shaped like the aperture, typically and approximately a circle. When this circular spot is sufficiently small, it is visually indistinguishable from a point, and appears to be in focus. The diameter of the largest circle that is indistinguishable from a point is known as the acceptable circle of confusion, or informally, simply as the circle of confusion. Points that produce a blur spot smaller than this acceptable circle of confusion are considered acceptably sharp.
The acceptable circle of confusion depends on how the final image will be used. It is generally accepted to be 0.25 mm for an image viewed from 25 cm away.[10]
For 35 mm motion pictures, the image area on the film is roughly 22 mm by 16 mm. The limit of tolerable error was traditionally set at 0.05 mm (0.002 in) diameter, while for 16 mm film, where the size is about half as large, the tolerance is stricter, 0.025 mm (0.001 in).[11] More modern practice for 35 mm productions set the circle of confusion limit at 0.025 mm (0.001 in).[12]
Camera movements[]
Scheimpflug principle
The plane of focus (POF) in object space is normally parallel to the image plane. However, tilting the lens relative to the sensor can rotate the POF.
When the POF is rotated, the near and far limits of DOF are no longer parallel; the DOF becomes wedge-shaped, with the apex of the wedge nearest the camera.[13][14]
In some cases, rotating the POF can better fit the DOF to the scene, and achieve the required sharpness at a smaller f-number. Alternatively, rotating the POF, in combination with a small f-number, can minimize the part of an image that is within the DOF.
Object field calculation methods[]
Traditional depth-of-field formulas can be hard to use in practice. As an alternative, the same effective calculation can be done without regard to the focal length and f-number.[n 2] Moritz von Rohr and later Merklinger observe that the effective absolute aperture diameter can be used for similar formula in certain circumstances.[15]
Moreover, traditional depth-of-field formulas assume equal acceptable circles of confusion for near and far objects. Merklinger[n 3] suggested that distant objects often need to be much sharper to be clearly recognizable, whereas closer objects, being larger on the film, do not need to be so sharp.[15] The loss of detail in distant objects may be particularly noticeable with extreme enlargements. Achieving this additional sharpness in distant objects usually requires focusing beyond the hyperfocal distance, sometimes almost at infinity. For example, if photographing a cityscape with a traffic bollard in the foreground, this approach, termed the object field method by Merklinger, would recommend focusing very close to infinity, and stopping down to make the bollard sharp enough. With this approach, foreground objects cannot always be made perfectly sharp, but the loss of sharpness in near objects may be acceptable if recognizability of distant objects is paramount.
Other authors such as Ansel Adams have taken the opposite position, maintaining that slight unsharpness in foreground objects is usually more disturbing than slight unsharpness in distant parts of a scene.[16]
Overcoming DOF limitations[]
Some methods and equipment allow altering the apparent DOF, and some even allow the DOF to be determined after the image is made. For example, Focus stacking combines multiple images focused on different planes, resulting in an image with a greater (or less, if so desired) apparent depth of field than any of the individual source images. Similarly, in order to reconstruct the 3-dimensional shape of an object, a depth map can be generated from multiple photographs with different depths of field. This method is called "shape from focus."[17]
Other technologies use a combination of lens design and post-processing: Wavefront coding is a method by which controlled aberrations are added to the optical system so that the focus and depth of field can be improved later in the process.[18]
The lens design can be changed even more: in colour apodization the lens is modified such that each colour channel has a different lens aperture. For example, the red channel may be f/2.4, green may be f/2.4, whilst the blue channel may be f/5.6. Therefore, the blue channel will have a greater depth of field than the other colours. The image processing identifies blurred regions in the red and green channels and in these regions copies the sharper edge data from the blue channel. The result is an image that combines the best features from the different f-numbers.[19]
At the extreme, a plenoptic camera captures 4D light field information about a scene, so the focus and depth of field can be altered after the photo is taken.
Diffraction and DOF[]
Diffraction causes images to lose sharpness at high F-numbers, and hence limits the potential depth of field.[20] In general photography this is rarely an issue; because large f-numbers typically require long exposure times, motion blur may cause greater loss of sharpness than the loss from diffraction. However, diffraction is a greater issue in close-up photography, and the tradeoff between DOF and overall sharpness can become quite noticeable as photographers are trying to maximise depth of field with very small apertures.[21][22]
Hansma and Peterson have discussed determining the combined effects of defocus and diffraction using a root-square combination of the individual blur spots.[23][24] Hansma's approach determines the f-number that will give the maximum possible sharpness; Peterson's approach determines the minimum f-number that will give the desired sharpness in the final image, and yields a maximum depth of field for which the desired sharpness can be achieved.[n 4] In combination, the two methods can be regarded as giving a maximum and minimum f-number for a given situation, with the photographer free to choose any value within the range, as conditions (e.g., potential motion blur) permit. Gibson gives a similar discussion, additionally considering blurring effects of camera lens aberrations, enlarging lens diffraction and aberrations, the negative emulsion, and the printing paper.[20][n 5] Couzin gave a formula essentially the same as Hansma's for optimal f-number, but did not discuss its derivation.[25]
Hopkins,[26] Stokseth,[27] and Williams and Becklund[28] have discussed the combined effects using the modulation transfer function.[29][30]
DOF scales[]
Detail from a lens set to Template:F/. The point half-way between the 1 m and 2 m marks, the DOF limits at Template:F/, represents the focus distance of approximately 1.33 m (the reciprocal of the mean of the reciprocals of 1 and 2 being 4/3).
DOF scale on Tessina focusing dial
Many lenses include scales that indicate the DOF for a given focus distance and f-number; the 35 mm lens in the image is typical. That lens includes distance scales in feet and meters; when a marked distance is set opposite the large white index mark, the focus is set to that distance. The DOF scale below the distance scales includes markings on either side of the index that correspond to f-numbers. When the lens is set to a given f-number, the DOF extends between the distances that align with the f-number markings.
Photographers can use the lens scales to work backwards from the desired depth of field to find the necessary focus distance and aperture.[31] For the 35 mm lens shown, if it were desired for the DOF to extend from 1 m to 2 m, focus would be set so that index mark was centered between the marks for those distances, and the aperture would be set to f/11.[n 6]
On a view camera, the focus and f-number can be obtained by measuring the depth of field and performing simple calculations. Some view cameras include DOF calculators that indicate focus and f-number without the need for any calculations by the photographer.[32][33]
Hyperfocal distance[]
Zeiss Ikon Contessa with red marks for hyperfocal distance 20 ft at Template:F/8
Some cameras have their hyperfocal distance marked on the focus dial. For example, on the Minox LX focusing dial there is a red dot between 2 m and infinity; when the lens is set at the red dot, that is, focused at the hyperfocal distance, the depth of field stretches from 2 m to infinity.
Near:far distribution[]
The DOF beyond the subject is always greater than the DOF in front of the subject. When the subject is at the hyperfocal distance or beyond, the far DOF is infinite, so the ratio is 1:∞; as the subject distance decreases, near:far DOF ratio increases, approaching unity at high magnification. For large apertures at typical portrait distances, the ratio is still close to 1:1.
DOF formulae[]
This section covers some additional formula for evaluating depth of field; however they are all subject to significant simplifying assumptions: for example, they assume paraxial (Gaussian). They are suitable for practical photography, lens designers would use significantly more complex ones.
Focus and f-number from DOF limits[]
For given near and far DOF limits and , the required f-number is smallest when focus is set to
the harmonic mean of the near and far distances. In practice, this is equivalent to the arithmetic mean for shallow depths of field.[34] Sometimes, view camera users refer to the difference as the focus spread.[35]
Foreground and background blur[]
If a subject is at distance and the foreground or background is at distance , let the distance between the subject and the foreground or background be indicated by
The blur disk diameter of a detail at distance from the subject can be expressed as a function of the subject magnification , focal length , f-number , or alternatively the aperture , according to
The minus sign applies to a foreground object, and the plus sign applies to a background object.
The blur increases with the distance from the subject; when is less than the circle of confusion, the detail is within the depth of field.
See also[]
Page Template:Div col/styles.css must have content model "Sanitized CSS" for TemplateStyles (current model is "wikitext").- Angle of view
- Bokeh
- Camera angle
- Depth-of-field adapter
- Depth of focus
- Frazier lens (very deep DOF)
- Light-field camera
- Miniature faking
- Numerical aperture
- Perspective distortion
Notes[]
References[]
Citations[]
- ↑ Salvaggio & Stroebel 2009, pp. 110-.
- ↑ Barbara London; Jim Stone; John Upton (2005). Photography (8th ed.). Pearson. pp. 58. ISBN 978-0-13-448202-6.
- ↑ Elizabeth Allen; Sophie Triantaphillidou (2011). The Manual of Photography. Taylor & Francis. pp. 111–. ISBN 978-0-240-52037-7. https://books.google.com/books?id=IfWivY3mIgAC&pg=PA111.
- ↑ "Depth of field". graphics.stanford.edu.
{{cite web}}
: - ↑ "Digital Camera Sensor Sizes: How it Influences Your Photography". www.cambridgeincolour.com.
{{cite web}}
: - ↑ "Sensor Size, Perspective and Depth of Field". Photography Life.
{{cite web}}
: - ↑ Vinson, Jason (22 January 2016). "The Smaller the Sensor Size, the Shallower Your Depth of Field". Fstoppers.
{{cite web}}
: - ↑ Why Does a Small Aperture Increase Depth of Field?
- ↑ "photoskop: Interactive Photography Lessons". April 25, 2015.
{{cite web}}
: - ↑ Savazzi 2011, p. 109.
- ↑ Film and Its Techniques. University of California Press. 1966. p. 56. https://books.google.com/books?id=Ocfs3ZsLresC&pg=PA56&dq=35+mm+motion+picture+film+circle+of+confusion&hl=en&sa=X&ved=0ahUKEwjLqLnVt4_LAhVQwmMKHSmRBXoQ6AEITTAJ#v=onepage&q=35%20mm%20motion%20picture%20film%20circle%20of%20confusion&f=false. Retrieved 24 February 2016.
- ↑ Thomas Ohanian and Natalie Phillips (2013). Digital Filmmaking: The Changing Art and Craft of Making Motion Pictures. CRC Press. p. 96. ISBN 9781136053542. https://books.google.com/books?id=usMqBgAAQBAJ&pg=PA96&dq=35+mm+motion+picture+film+circle+of+confusion&hl=en&sa=X&ved=0ahUKEwi93Nqquo_LAhVY6mMKHcQIAlQQ6AEILTAD#v=onepage&q=35%20mm%20motion%20picture%20film%20circle%20of%20confusion&f=false. Retrieved 24 February 2016.
- ↑ Merklinger 1993, pp. 31–32.
- ↑ Tillmanns 1997, p. 71.
- ↑ 15.0 15.1 Merklinger 1992.
- ↑ Adams 1980, p. 51.
- ↑ Xiong, Yalin, and Steven A. Shafer. "Depth from focusing and defocusing." Computer Vision and Pattern Recognition, 1993. Proceedings CVPR'93., 1993 IEEE Computer Society Conference on. IEEE, 1993.
- ↑ Mary, D.; Roche, M.; Theys, C.; Aime, C. (2013). "Introduction to Wavefront Coding for Incoherent Imaging". EAS Publications Series 59: 77–92. doi:10.1051/eas/1359005. ISSN 1633-4760.
- ↑ Kay 2011.
- ↑ 20.0 20.1 Gibson 1975, p. 64.
- ↑ Gibson 1975, p. 53.
- ↑ Lefkowitz 1979, p. 84.
- ↑ Hansma 1996.
- ↑ Peterson 1996.
- ↑ Couzin 1982.
- ↑ Hopkins 1955.
- ↑ Stokseth 1969.
- ↑ Williams & Becklund 1989.
- ↑ "Depth of Field in Depth", Jeff Conrad
- ↑ "Photographic Lenses Tutorial", David M. Jacobson, 26 October 1996
- ↑ Ray 1994, p. 315.
- ↑ Tillmanns 1997, p. 67-68.
- ↑ Ray 1994, p. 230-231.
- ↑ https://www.largeformatphotography.info/articles/DoFinDepth.pdf
- ↑ Hansma 1996, p. 55.
Sources[]
- Salvaggio, Nanette; Stroebel, Leslie (2009). Basic Photographic Materials and Processes. Taylor & Francis. pp. 110–. ISBN 978-0-240-80984-7. https://books.google.com/books?id=71uE_OrGw5oC&pg=PA110.
- Adams, Ansel (1980) (in en). The Camera. New York Graphic Society. ISBN 9780821210925. https://books.google.co.uk/books?id=H-5jQgAACAAJ&dq=Adams%2C%20Ansel.%201980.%20%27%27The%20Camera%27%27&source=gbs_book_other_versions.
- Template:Wikicite
- Template:Wikicite
- Template:Wikicite Available as GIF images on the Large Format page.
- Template:Wikicite
- Template:Wikicite
- Template:Wikicite
- Template:Wikicite
- Template:Wikicite
- Template:Wikicite
- Template:Wikicite
- Template:Wikicite
- Template:Wikicite
- Template:Wikicite
- Template:Wikicite
- Template:Wikicite
- Template:Wikicite
- Template:Wikicite
- Template:Wikicite
- Template:Wikicite
- Savazzi, Enrico (2011). Digital Photography for Science (Hardcover). Lulu.com. ISBN 978-0-557-91133-2. https://books.google.com/books?id=YabFAQAAQBAJ&pg=PA109.
Further reading[]
- Hummel, Rob (editor). 2001. American Cinematographer Manual. 8th ed. Hollywood: ASC Press. ISBN 0-935578-15-3
External links[]

- Depth of Field in Photography - Beginner's Guide
- Online Depth of Field Calculator Simple depth of field and hyperfocal distance calculator
- photoskop: Interactive Photography Lessons – Interactive Depth of Field
- Bokeh simulator and depth of field calculator Interactive depth of field calculator with background blur simulation feature
- Lens Comparison: Nikon 50mm f/1.4D vs. 50mm f/1.4G Demonstration of varying apertures on Depth of Field
Template:Photography subject
Template:Cinematic techniques
Cite error: <ref>
tags exist for a group named "n", but no corresponding <references group="n"/>
tag was found