# 景深

**景深**（Depth of field）是指在给定镜头对焦设定的情况下，场景中从最近到最远的物体之间能够呈现可接受清晰度的距离范围。<sup>[1](https://www.rp-photonics.com/depth_of_field.html)</sup><sup> • </sup><sup>[2](https://www.toshiba-teli.co.jp/en/technology/technical/t0019_DoF_HyperfocalDistance.htm)</sup> 镜头将来自某一特定距离的光线聚焦到一个清晰的平面上；比这个平面更近或更远的物体在技术上都是失焦的，而景深回答的是一个实际问题：一个物体可以偏离该平面多远，才会被观看者察觉到模糊。<sup>[3](https://focalmath.com/guides/understanding-depth-of-field/)</sup> 该术语用于摄影以及大多数其他成像仪器，这些仪器同样只能在有限的观察距离范围内提供清晰图像。<sup>[1](https://www.rp-photonics.com/depth_of_field.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 在给定对焦设定下，以合理清晰焦点成像的最近和最远物体之间的距离<sup>[1](https://www.rp-photonics.com/depth_of_field.html)</sup> |
| 清晰度标准 | 当模糊圆盘（弥散圆）保持在选定直径以下时，散焦是可接受的；对于数字传感器而言，弥散圆从一个像素间距的十分之一增大到三分之一可能并无影响<sup>[3](https://focalmath.com/guides/understanding-depth-of-field/)</sup><sup> • </sup><sup>[1](https://www.rp-photonics.com/depth_of_field.html)</sup> |
| 主要控制因素 | 景深通常随焦距增大、光圈孔径增大以及相机到被摄体距离减小而减小<sup>[4](https://www.govinfo.gov/content/pkg/GOVPUB-TD2-PURL-gpo65198/pdf/GOVPUB-TD2-PURL-gpo65198.pdf)</sup> |
| 超焦距 | \( H = f^{2}/(N \cdot c) \)，即远限延伸至无穷远的对焦设定；从该距离的一半到无穷远的所有物体均可接受地清晰<sup>[5](https://people.csail.mit.edu/fredo/comp-photo-book/02-fundamentals-03-lens-image-formation.html)</sup><sup> • </sup><sup>[6](https://aperture.stanford.edu/courses/cs178-12/applets/dof.html)</sup> |
| 缩小光圈的代价 | 较小的光圈会扩大景深，但会损失光线，迫使延长曝光时间或提高ISO，而当光圈过小时，衍射会使整个图像变软<sup>[5](https://people.csail.mit.edu/fredo/comp-photo-book/02-fundamentals-03-lens-image-formation.html)</sup> |
| 相关量 | 焦深是像方对应的量：在物体保持可接受清晰度的情况下，传感器沿光轴可以位移多远<sup>[1](https://www.rp-photonics.com/depth_of_field.html)</sup><sup> • </sup><sup>[2](https://www.toshiba-teli.co.jp/en/technology/technical/t0019_DoF_HyperfocalDistance.htm)</sup> |

## 弥散圆

景深依赖于一种感知上的折衷，而非仅由镜头本身的属性决定。一个未被完美聚焦的光点不会呈现为一个点，而是呈现为一个小圆盘，即弥散圆；恰好位于焦平面上的点产生无限小的圆盘，而离焦平面越远的点产生的圆盘越大。当圆盘尺寸低于某一阈值时，观看正常尺寸的照片或屏幕的观察者根本无法分辨该圆盘与真正点光源之间的差别。<sup>[3](https://focalmath.com/guides/understanding-depth-of-field/)</sup>

不同的标准可以定义可接受的极限。一种方式是在实测图像质量（例如点扩散函数）明显劣于对焦状态时定义该极限，但当对焦时的图像质量远超实际需要时，这种做法并不合理：对于数码相机传感器而言，弥散圆从一个像素间距的十分之一增大到三分之一并无影响。常见的替代方案是固定一个最大弥散圆直径，而不管最佳对焦能有多清晰。<sup>[1](https://www.rp-photonics.com/depth_of_field.html)</sup> 清晰范围的近端和远端边界分别称为近限和远限；最佳对焦点前方和后方的距离有时分别称为前景景深和后景景深。<sup>[5](https://people.csail.mit.edu/fredo/comp-photo-book/02-fundamentals-03-lens-image-formation.html)</sup><sup> • </sup><sup>[2](https://www.toshiba-teli.co.jp/en/technology/technical/t0019_DoF_HyperfocalDistance.htm)</sup>

## 计算

使用固定的最大弥散圆直径 \( C \) 和几何光学，当对焦设定为 \( d_{\mathrm{f}} \) 时，最近和最远的清晰距离为

\[ d_{\mathrm{near}} = \frac{d_{\mathrm{f}}}{1 + \dfrac{(d_{\mathrm{f}} - f) \cdot C}{f \cdot D}} \qquad d_{\mathrm{far}} = \frac{d_{\mathrm{f}}}{1 - \dfrac{(d_{\mathrm{f}} - f) \cdot C}{f \cdot D}} \]

当 \( (d_{\mathrm{f}} - f) \cdot C \ge f \cdot D \) 时，远限等于 \( \infty \)；其中 \( f \) 为焦距，\( D \) 为孔径光阑的直径。这些公式假设薄透镜，入瞳和出瞳与透镜重合，且仅在小角度条件下成立——这一条件在摄影中通常能得到很好的满足，但在显微镜中则不适用。<sup>[1](https://www.rp-photonics.com/depth_of_field.html)</sup>

[超焦距](https://www.edgepedia.org/zh/hyperfocal-distance)表现为远限达到无穷远时的对焦设定。用焦距 \( f \)、f数 \( N \) 和弥散圆 \( c \) 表示，即为 \( H = f^{2}/(N \cdot c) \)。<sup>[5](https://people.csail.mit.edu/fredo/comp-photo-book/02-fundamentals-03-lens-image-formation.html)</sup> 摄影师将其作为经验法则使用：将对焦设定为超焦距，则从该距离的一半到无穷远的所有物体都是清晰的。<sup>[6](https://aperture.stanford.edu/courses/cs178-12/applets/dof.html)</sup> 由于传统景深的近限位于超焦距的一半处，该处的弥散圆等于选定的最大可接受弥散圆直径。<sup>[7](https://www.cs.cmu.edu/~ILIM/courses/vision-sensors/readings/TIAOOFe.pdf)</sup><sup> • </sup><sup>[17](https://www.mhohner.de/formulas.php)</sup>

## 景深的控制因素

在实践中，三个变量起主导作用。景深通常随焦距增大、光圈孔径增大以及相机到被摄体距离减小而减小。<sup>[4](https://www.govinfo.gov/content/pkg/GOVPUB-TD2-PURL-gpo65198/pdf/GOVPUB-TD2-PURL-gpo65198.pdf)</sup> 反之，在给定物距和光阑开孔下，较短的焦距给出更大的景深。<sup>[8](https://www.govinfo.gov/content/pkg/GOVPUB-W-8437513111df125d981c9e26ca2b8810/html/GOVPUB-W-8437513111df125d981c9e26ca2b8810.htm)</sup> 长焦镜头由于视角窄、放大倍率大，往往产生较浅的景深：可见的背景更少，而已经失焦的背景被放大了。<sup>[9](https://www.sony.com/electronics/support/e-mount-body-nex-3-series/nex-c3a/articles/00031291)</sup>

**缩小光圈**是摄影师的主要控制手段，但有代价。较小的光圈进光量更少，因此迫使延长曝光时间或提高ISO从而增加噪点，而且光圈缩得过小时，衍射会使整个图像变软，而非扩展清晰范围。<sup>[5](https://people.csail.mit.edu/fredo/comp-photo-book/02-fundamentals-03-lens-image-formation.html)</sup>

**传感器尺寸与构图。** 当实际焦距、光圈和被摄体距离保持完全相同时，较小的传感器要求更小的可接受弥散圆，即更严格的清晰度阈值，这本身会收窄景深；25毫米镜头在f/8下，微四分之三系统的景深小于全画幅上同一镜头在f/8下的景深。在实践中，较小传感器配合较短焦距来构图同一场景，而在给定光圈和距离下，更短的焦距增加了景深。<sup>[3](https://focalmath.com/guides/understanding-depth-of-field/)</sup>

一种常见的构图选择源于几何关系：每张照片中有一个平面是真正清晰的，而它前方和后方同样落在可接受焦点范围内的区域构成了景深，景深可能非常浅，也可能非常深。<sup>[10](https://www.startypes.com/pdf/e-books/ArtofFocuStacking.pdf)</sup>

## 应对有限的景深

当单一对焦设定无法使整个被摄体清晰成像时，摄影师转而使用**焦点堆叠**：在不同对焦距离拍摄多张图像，软件只保留每张中的清晰部分，合成一幅扩展景深的图像。<sup>[11](https://www.cambridgeincolour.com/tutorials/focus-stacking.htm)</sup> 该技术在近摄和微距摄影中最为有用，此时镜头的最大f值（单反相机上通常为f/22或f/32）不够用，它甚至可以克服极小光圈下衍射造成的清晰度损失。<sup>[11](https://www.cambridgeincolour.com/tutorials/focus-stacking.htm)</sup> 好的堆叠需要重叠的对焦切片；帧与帧之间的模糊间隙会给融合过程带来问题。<sup>[12](https://diglloyd.com/articles/lenspire/lenspire-20160804-FocusStacking.html)</sup>

在另一个极端，智能手机无法在光学上产生浅景深，因为其短焦距和小光圈拍摄的图像几乎全部处于焦点内。<sup>[13](https://arxiv.org/abs/1806.04171)</sup> 软件则取而代之进行合成。谷歌的“人像模式”从相机的双像素自动对焦硬件计算出有噪声的深度图，并结合人物分割掩膜来施加与深度相关的模糊，在数款谷歌品牌手机上推出。<sup>[14](https://graphics.stanford.edu/papers/portrait/wadhwa-portrait-sig18.pdf)</sup> 关于散景（专业摄影中具有审美价值的焦外模糊）渲染的研究认为，令人信服的结果必须建模深度关系、保持对焦区域清晰，并渲染物理上准确的弥散圆。<sup>[15](https://arxiv.org/abs/2306.04506)</sup>

同样的定性效果也出现在计算机图形学中。游戏中实时景深可追溯到1981年的工作，相关技术分为光线追踪、累积缓冲、合成和z缓冲等方法；《使命召唤4：现代战争》中使用的z缓冲聚集方法利用每个像素的弥散圆在下采样图像之间进行混合。<sup>[16](https://developer.nvidia.com/gpugems/gpugems3/part-iv-image-effects/chapter-28-practical-post-process-depth-field)</sup>

## References

1. [Depth of Field, RP Photonics Encyclopedia, Dr. Rüdiger Paschotta](https://www.rp-photonics.com/depth_of_field.html)
2. [Useful knowledge of optics: Depth of field, hyperfocal distance, and hyperfocal sequence, Toshiba Teli Corporation](https://www.toshiba-teli.co.jp/en/technology/technical/t0019_DoF_HyperfocalDistance.htm)
3. [Understanding Depth of Field (and Hyperfocal Distance), FocalMath](https://focalmath.com/guides/understanding-depth-of-field/)
4. [Depth of field typically decreases with longer focal length lens, larger aperture sizes, and smaller camera-to-subject distances, U.S. Government Publishing Office](https://www.govinfo.gov/content/pkg/GOVPUB-TD2-PURL-gpo65198/pdf/GOVPUB-TD2-PURL-gpo65198.pdf)
5. [Lens Image Formation, Computational Photography (Frédo Durand, MIT CSAIL)](https://people.csail.mit.edu/fredo/comp-photo-book/02-fundamentals-03-lens-image-formation.html)
6. [Depth of field applet, Stanford CS178](https://aperture.stanford.edu/courses/cs178-12/applets/dof.html)
7. [The INs and OUTs of FOCUS](https://www.cs.cmu.edu/~ILIM/courses/vision-sensors/readings/TIAOOFe.pdf)
8. [Basic Photography, TM 1-219, U.S. War Department, 1941](https://www.govinfo.gov/content/pkg/GOVPUB-W-8437513111df125d981c9e26ca2b8810/html/GOVPUB-W-8437513111df125d981c9e26ca2b8810.htm)
9. [What is depth of field (DOF)?, Sony USA](https://www.sony.com/electronics/support/e-mount-body-nex-3-series/nex-c3a/articles/00031291)
10. [The Art of Focus Stacking, introduction to second edition](https://www.startypes.com/pdf/e-books/ArtofFocuStacking.pdf)
11. [Using Focus Stacking to Extend Depth of Field, Cambridge in Colour](https://www.cambridgeincolour.com/tutorials/focus-stacking.htm)
12. [Depth of Field Challenges: Bypass the Limits with Focus Stacking, diglloyd.com](https://diglloyd.com/articles/lenspire/lenspire-20160804-FocusStacking.html)
13. [Synthetic Depth-of-Field with a Single-Camera Mobile Phone, arXiv:1806.04171](https://arxiv.org/abs/1806.04171)
14. [Synthetic Depth-of-Field with a Single-Camera Mobile Phone, SIGGRAPH 2018 (Wadhwa et al., Google Research)](https://graphics.stanford.edu/papers/portrait/wadhwa-portrait-sig18.pdf)
15. [Defocus to focus: Photo-realistic bokeh rendering by fusing defocus and radiance priors, arXiv:2306.04506](https://arxiv.org/abs/2306.04506)
16. [Chapter 28. Practical Post-Process Depth of Field, GPU Gems 3, NVIDIA](https://developer.nvidia.com/gpugems/gpugems3/part-iv-image-effects/chapter-28-practical-post-process-depth-field)
17. [Optical formulas](https://www.mhohner.de/formulas.php)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 25, 2026 · Edited: Oct 15, 2026; Oct 25, 2026 · Last review: Oct 25, 2026*

Topic: 艺术与文化 › 视觉艺术与设计 › 摄影技法、类型与历史

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/depth-of-field

English original: https://www.edgepedia.org/depth-of-field
