When a lens is used to form an image of some object, the distance from the object to the lens $u$, the distance from the lens to the image (i.e. film plane) $v$, and the focal length $f$ are related by: \[\frac {1}{f} = \frac{1}{u}+\frac{1}{v}\] which can be rewritten as e.g.: \[v=\frac{uf}{u-f}\] or \[v=\frac{uf}{u-f}\]
Jada jada…
\[N=\frac{f}{d}\]
| Format | CoC | CoC |
|---|---|---|
| 6 x 4.5 | ||
| 6 x 7 | ||
| 4“ x 5” |
The depth of field $d_F$ is simply the relative distance between the front and rear limits $d_f$ and $d_r$ respectively: \[d_F = d_r -d_f\]
\[d_f = \frac{uf^2}{f^2 + c^2N(u-f)}\] \[d_r = \frac{uf^2}{f^2 - c^2N(u-f)}\]
\[\text{DOF} \approx \frac{2u^{2}Nc}{f^{2}}\]
The depth of field, $D$, is directly related to the depth of focus, $\Delta d$, \[z=\frac{\Delta d}{2c}\]
fun = @(c, d) d ./ (2*c) c_normal = 0.089 c_critical = 0.030
A (view) camera is focused by