View Full Version : http://www.dofmaster.com/dofjs.html - Anyone know how it works?
mjHession
22nd of March 2010 (Mon), 19:04
I'm a bit of a math nerd, and use a really high end math software, Mathematica. I'd like to write a program to make these calculations, mostly for fun, thou I might find it more useful then the sight. It would probably run faster on my iPhone the loading this page would w/o wifi connection.
So is anyone aware of the Algorithm? Or even have some information on how to calculate DOF
theextremist04
22nd of March 2010 (Mon), 19:28
There's a free app called "Field Tools" or something to that effect that's decent for the price.
mjHession
22nd of March 2010 (Mon), 19:36
There's a free app called "Field Tools" or something to that effect that's decent for the price.
Cool. Still interested in the mathematics behind it. Just for the Math nerdiness. :mrgreen:
plus I love just know the how and why behind things.
gcflora
22nd of March 2010 (Mon), 20:16
All the formulae are on the wikipedia page for depth of field
JeffreyG
22nd of March 2010 (Mon), 20:43
I created my own just writing the formulas into Excel. It's very simple, you can get all the relevant equations at Wikipedia.
Couple notes - set you CoC as a user defined variable and you can adjust DOF to match your own pickiness as well as intended print size.
mjHession
23rd of March 2010 (Tue), 05:17
^^ Great thanks.
Jon
23rd of March 2010 (Tue), 13:56
I'm a bit of a math nerd, and use a really high end math software, Mathematica. I'd like to write a program to make these calculations, mostly for fun, thou I might find it more useful then the sight. It would probably run faster on my iPhone the loading this page would w/o wifi connection.
So is anyone aware of the Algorithm? Or even have some information on how to calculate DOFDon actually posts the formulas he uses right on the site. Scroll down past the green box and you'll see Depth of Field Definition
Hyperfocal, near, and far distances are calculated using these equations (http://www.dofmaster.com/equations.html).
Circles of confusion for digital cameras are listed here (http://www.dofmaster.com/digital_coc.html).
WaltA
23rd of March 2010 (Tue), 15:54
You might also want to look for The Ins and Outs of Focus by Harold Merklinger.
Its quite technology dated as it was written for film cameras in the 90's but seems to have a lot of the math your looking for.
This site has for free download .
http://www.cs.cmu.edu/~ILIM/courses/vision-sensors/readings/TIAOOFe.pdf
or Google for more places that have it online.
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.