Zerene Stacker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
stacker:docs:tables:macromicrodof [2020/01/07 18:24]
rjlittlefield add formulas for DOF calculations
stacker:docs:tables:macromicrodof [2023/02/16 06:16] (current)
rjlittlefield add link to interactive calculator
Line 1: Line 1:
 ====== DOF Estimates For Macro/Micro (depth of field, step sizes) ====== ====== DOF Estimates For Macro/Micro (depth of field, step sizes) ======
  
 +\\
 +** NEW: --> [[https://​zerenesystems.com/​cms/​stacker/​docs/​dofcalculator|interactive calculator for macro/micro DOF]] **
 +
 +\\
 The best step size for macro/micro applications depends strongly on several things: The best step size for macro/micro applications depends strongly on several things:
  
Line 93: Line 97:
 ^  2.0  |  0.020 mm  |  **0.039 mm **  |  **0.079 mm **  |  **0.16 mm **  |  //0.32 mm //  |  //0.60 mm //  |  //1.3 mm //  |  //2.4 mm //  | ^  2.0  |  0.020 mm  |  **0.039 mm **  |  **0.079 mm **  |  **0.16 mm **  |  //0.32 mm //  |  //0.60 mm //  |  //1.3 mm //  |  //2.4 mm //  |
 ^  2.5  |  0.017 mm  |  **0.034 mm **  |  **0.069 mm **  |  //0.14 mm //  |  //0.28 mm //  |  //0.52 mm //  |  //1.1 mm //  |  //2.1 mm //  | ^  2.5  |  0.017 mm  |  **0.034 mm **  |  **0.069 mm **  |  //0.14 mm //  |  //0.28 mm //  |  //0.52 mm //  |  //1.1 mm //  |  //2.1 mm //  |
-^  3.5  |  **0.015 mm **  |  **0.029 mm **  |  **0.058 mm **  |  //0.11 mm //  |  //0.23 mm //  |  //0.44 mm //  |  //0.93 mm //  |  //1.8 mm //  |+^  3.5  |  **0.014 mm **  |  **0.028 mm **  |  **0.058 mm **  |  //0.11 mm //  |  //0.23 mm //  |  //0.44 mm //  |  //0.93 mm //  |  //1.8 mm //  |
 ^  5.0  |  **0.013 mm **  |  **0.025 mm **  |  //0.051 mm //  |  //0.099 mm //  |  //0.20 mm //  |  //0.38 mm //  |  //0.81 mm //  |  //1.5 mm //  | ^  5.0  |  **0.013 mm **  |  **0.025 mm **  |  //0.051 mm //  |  //0.099 mm //  |  //0.20 mm //  |  //0.38 mm //  |  //0.81 mm //  |  //1.5 mm //  |
-^  7.0  |  **0.011 mm **  |  //0.023 mm //  |  //0.046 mm //  |  //0.090 mm //  |  //0.18 mm //  |  //0.35 mm //  |  //0.74 mm //  |  //1.4 mm //  | +^  7.0  |  **0.011 mm **  |  //0.022 mm //  |  //0.046 mm //  |  //0.090 mm //  |  //0.18 mm //  |  //0.35 mm //  |  //0.74 mm //  |  //1.4 mm //  | 
-^  10  |  //0.011 mm //  |  //0.021 mm //  |  //0.043 mm //  |  //0.083 mm //  |  //0.17 mm //  |  //0.32 mm //  |  //0.68 mm //  |  //1.3 mm //  | +^  10  |  //0.011 mm //  |  //0.021 mm //  |  //0.042 mm //  |  //0.083 mm //  |  //0.17 mm //  |  //0.32 mm //  |  //0.68 mm //  |  //1.3 mm //  | 
-^  14  |  //0.010 mm //  |  //0.020 mm //  |  //0.040 mm //  |  //0.079 mm //  |  //0.16 mm //  |  //0.31 mm //  |  //0.65 mm //  |  //1.2 mm //  | +^  14  |  //0.0100 mm //  |  //0.020 mm //  |  //0.040 mm //  |  //0.079 mm //  |  //0.16 mm //  |  //0.31 mm //  |  //0.65 mm //  |  //1.2 mm //  | 
-^  20  |  //0.0097 mm //  |  //0.019 mm //  |  //0.039 mm //  |  //0.076 mm //  |  //0.16 mm //  |  //0.29 mm //  |  //0.62 mm //  |  //1.2 mm //  | +^  20  |  //0.0096 mm //  |  //0.019 mm //  |  //0.039 mm //  |  //0.076 mm //  |  //0.16 mm //  |  //0.29 mm //  |  //0.62 mm //  |  //1.2 mm //  | 
-Numbers in the above table can be reproduced by the formula DOF = (0.0022*N*N*(m+1)*(m+1))/​(m*m) , where N is the F-number and m is magnification. \\+ 
 +Numbers in the above table can be closely ​reproduced by the simplified ​formula ​\\ DOF = (0.0022*N*N*(m+1)*(m+1))/​(m*m) , where N is the F-number and m is magnification. \\
 Example: F-number 5.6 and magnification 0.50 computes as DOF = (0.0022*5.6*5.6*(0.50+1)*(0.50+1))/​(0.50*0.50) = 0.6209 . Example: F-number 5.6 and magnification 0.50 computes as DOF = (0.0022*5.6*5.6*(0.50+1)*(0.50+1))/​(0.50*0.50) = 0.6209 .
  
Line 125: Line 130:
 ^  0.50  |  0.035 mm  |  0.069 mm  |  0.14 mm  |  0.28 mm  |  **0.56 mm **  |  **1.1 mm **  |  **2.3 mm **  |  //4.3 mm //  | ^  0.50  |  0.035 mm  |  0.069 mm  |  0.14 mm  |  0.28 mm  |  **0.56 mm **  |  **1.1 mm **  |  **2.3 mm **  |  //4.3 mm //  |
 ^  0.70  |  0.018 mm  |  0.035 mm  |  0.072 mm  |  0.14 mm  |  **0.29 mm **  |  **0.54 mm **  |  **1.1 mm **  |  //2.2 mm //  | ^  0.70  |  0.018 mm  |  0.035 mm  |  0.072 mm  |  0.14 mm  |  **0.29 mm **  |  **0.54 mm **  |  **1.1 mm **  |  //2.2 mm //  |
-^  1.0  |  0.0088 mm  |  0.017 mm  |  0.035 mm  |  0.069 mm  |  **0.14 mm **  |  **0.27 mm **  |  **0.56 mm **  |  //1.1 mm //  | +^  1.0  |  0.0087 mm  |  0.017 mm  |  0.035 mm  |  0.069 mm  |  **0.14 mm **  |  **0.27 mm **  |  **0.56 mm **  |  //1.1 mm //  | 
-^  1.4  |  0.0045 mm  |  0.0088 mm  |  0.018 mm  |  0.035 mm  |  **0.072 mm **  |  **0.14 mm **  |  **0.29 mm **  |  //0.54 mm //  | +^  1.4  |  0.0043 mm  |  0.0087 mm  |  0.018 mm  |  0.035 mm  |  **0.072 mm **  |  **0.14 mm **  |  **0.29 mm **  |  //0.54 mm //  | 
-^  2.0  |  0.0022 mm  |  0.0043 mm  |  0.0088 mm  |  0.017 mm  |  **0.035 mm **  |  **0.067 mm **  |  **0.14 mm **  |  //0.27 mm //  | +^  2.0  |  0.0021 mm  |  0.0042 mm  |  0.0087 mm  |  0.017 mm  |  **0.035 mm **  |  **0.066 mm **  |  **0.14 mm **  |  //0.27 mm //  | 
-^  2.5  |  0.0014 mm  |  0.0028 mm  |  0.0056 mm  |  0.011 mm  |  **0.023 mm **  |  **0.043 mm **  |  **0.090 mm **  |  //0.17 mm //  | +^  2.5  |  0.0013 mm  |  0.0026 mm  |  0.0055 mm  |  0.011 mm  |  **0.022 mm **  |  **0.042 mm **  |  **0.090 mm **  |  //0.17 mm //  | 
-^  3.5  |  0.00072 mm  |  0.0014 mm  |  0.0029 mm  |  0.0056 mm  |  **0.011 mm **  |  **0.022 mm **  |  **0.046 mm **  |  //0.087 mm //  | +^  3.5  |  0.00053 mm  |  0.0013 mm  |  0.0027 mm  |  0.0055 mm  |  **0.011 mm **  |  **0.022 mm **  |  **0.046 mm **  |  //0.087 mm //  | 
-^  5.0  |  ---  |  0.00069 mm  |  0.0014 mm  |  0.0028 mm  |  **0.0056 mm **  |  **0.011 mm **  |  **0.023 mm **  |  //0.043 mm //  | +^  5.0  |  ---  |  0.00050 mm  |  0.0013 mm  |  0.0026 mm  |  **0.0055 mm **  |  **0.011 mm **  |  **0.022 mm **  |  //0.042 mm //  | 
-Numbers in the above table can be reproduced by the formula DOF = (0.0022*N*N)/​(m*m),​ where N is the F-number and m is magnification. \\ +Numbers in the above table can be closely ​reproduced by the simplified ​formula ​\\ DOF = (0.0022*N*N)/​(m*m),​ where N is the F-number and m is magnification. \\ 
-Example: F-number 5.6 and magnification 0.35 computes as DOF = (0.0022*5.6*5.6)/​(0.50*0.50) = 0.2760 .+Example: F-number 5.6 and magnification 0.50 computes as DOF = (0.0022*5.6*5.6)/​(0.50*0.50) = 0.2760 .
  
 \\ \\
Line 145: Line 150:
 |  0.14  |  0.028 mm  | |  0.14  |  0.028 mm  |
 |  0.2  |  0.014 mm  | |  0.2  |  0.014 mm  |
-|  0.25  |  0.0088 mm  | +|  0.25  |  0.0087 mm  | 
-|  0.3  |  0.0061 mm  | +|  0.3  |  0.0060 mm  | 
-|  0.4  |  0.0034 mm  | +|  0.4  |  0.0033 mm  | 
-|  0.5  |  0.0022 mm  | +|  0.5  |  0.0021 mm  | 
-|  0.55  |  0.0018 mm  | +|  0.55  |  0.0017 mm  | 
-Numbers in the above table can be reproduced by the formula DOF = 0.00055/​(NA*NA) . \\+ 
 +Numbers in the above table can be closely ​reproduced by the simplified ​formula DOF = 0.00055/​(NA*NA) . \\
 Example: NA 0.25 computes as DOF = 0.00055/​(0.25*0.25) = 0.0088 . Example: NA 0.25 computes as DOF = 0.00055/​(0.25*0.25) = 0.0088 .
  
 \\ \\
 \\ \\
-**Notes:​** ​ You may be surprised that there'​s nothing in these tables about circle of confusion (COC), like you'd find in most DOF tables. That's because COC is essentially bundled into your choice of aperture. Once you've chosen the aperture setting, then using the numbers in these tables will guarantee that you won't see “focus banding” no matter how good a camera or lens you're using, or how closely you choose to look at the captured images. ​ The math underlying these tables makes assumptions that are reasonable for most lenses, then proceeds using a math formulation that is based on wave optics and guarantees no more than 1/4-lambda wavefront error for green light at the worst focus distances. Roughly speaking, this corresponds to no loss of fine detail and no more than 26% reduction of MTF at any spatial frequency. Send email to [[support@zerenesystems.com]] if you want more information.+**Notes:​** ​ You may be surprised that there'​s nothing in these tables about circle of confusion (COC), like you'd find in most DOF tables. That's because COC is essentially bundled into your choice of aperture. Once you've chosen the aperture setting, then using the numbers in these tables will guarantee that you won't see “focus banding” no matter how good a camera or lens you're using, or how closely you choose to look at the captured images. ​ The math underlying these tables makes assumptions that are reasonable for most lenses, then proceeds using a math formulation that is based on wave optics and guarantees no more than 1/4-lambda wavefront error for green light at the worst focus distances. Roughly speaking, this corresponds to no loss of fine detail and no more than 26% reduction of MTF at any spatial frequency. ​If you need to operate far to the left of the bold section, say to get particularly soft bokeh, then the step sizes listed here will be unnecessarily small because resolution will be limited by the camera sensor and not the optics. ​ In that case a better estimate would be provided by a conventional DOF calculator, using COC set to approximately twice the pixel pitch.  ​Send email to [[support@zerenesystems.com]] if you want more information.
stacker/docs/tables/macromicrodof.txt · Last modified: 2023/02/16 06:16 by rjlittlefield
Copyright 2009-2024, Zerene Systems LLC, all rights reserved.