View previous topic :: View next topic 
Author 
Message 
Peter De Smidt
Joined: 05 Jan 2012 Posts: 233

Posted: Thu Apr 19, 2012 10:44 am Post subject: depth of field tests 


I'd like to do some depthoffield tests for my dslr film scanner project. It should help us narrow down the choices in negative positioning systems.
According to http://www.edmundoptics.com/products/displayproduct.cfm?productid=2482 ,
and http://www.edmundoptics.com/products/displayproduct.cfm?productid=1942 ,
they say that a 1x mitutoyo objective has a depth of focus of 306 μm, and a 2x has a depth of focus of 91 μm.
Depth of focus figures, though, rest on some assumption about allowable sized of circles of confusion, and I'd like to do some empirical tests. Do you have any advice as to the best way to do this? Photographing a ruler at a 45* angle? (Although I don't know of a ruler with fine enough gradations.
On my scanning rig, my D200 is mounted on a Velmex 20tpi linear slide. _________________ www.peterdesmidt.com/blog 

Back to top 


rjlittlefield Site Admin
Joined: 01 Aug 2006 Posts: 18235 Location: Richland, Washington State, USA

Posted: Thu Apr 19, 2012 11:35 am Post subject: 


There's a lot of confusion surrounding those figures.
It turns out that the "depth of focus" numbers listed by Edmund and Mitutoyo do not rest on any assumption about circles of confusion. Rather, they are based solely on wavefront error and thus represent what would be MTF effects as seen by a perfect analog sensor. In addition, their numbers reflect maximum deviation from perfect focus, so they give what we might call "singlesided DOF" rather than the "total DOF" that is given by classical formulas in photography.
My recommendation is to shoot one or more focus stacks of a finely textured subject, somewhat inclined to the lens, then run the images through focus stacking software and look for focus banding in the results. An example at high magnification is shown HERE and in the surrounding thread. Another illustration of the same concept at much lower magnification is given HERE. The appropriate angle of inclination depends on what magnification you are using. It must be shallow at high magnification as shown in the first link, but can be quite steep at low magnification as shown in the second. In both cases, the goal is to get the focus bands just wide enough in the composite image that fuzzy gaps can be easily detected if present.
Rik 

Back to top 


Peter De Smidt
Joined: 05 Jan 2012 Posts: 233

Posted: Thu Apr 19, 2012 3:59 pm Post subject: 


Thanks, Rik. Does that mean that doubling the figures gives a perfect world type of standard?
According to The Manual of Closeup Photography by Lester Lefkowitz,
at 1:1 magnification and an fstop setting on the lens of F4, the depth of field is 0.48mm. At F5.6, it's 0.67mm, and at F8, it's 0.96mm.
All of this assumes a maximum circle of confusion of 0.03mm (0.012 in.). That seems a little loose. Some suggest that for an APSc camera that a better coc is 0.019mm. Using the stricter coc in the DOF formula gives a DOF of 0.43mm at f5.6 on the lens.
Depth of field (at 1:1) = 4ac
a= aperture
c= circle of confusion
Does that seem right? _________________ www.peterdesmidt.com/blog 

Back to top 


elf
Joined: 18 Nov 2007 Posts: 1319

Posted: Thu Apr 19, 2012 6:59 pm Post subject: 


I use COC = pixel pitch * 1.6, which on my Olympus e330 is about .0088265 mm
p.s. The full formula (translated from Lefkowitz to Excel): DOF=2*COC*Fstop*(Magnification+1/(Magnification*Magnification)) 

Back to top 


newarts
Joined: 25 Mar 2012 Posts: 2 Location: Ames, IA USA

Posted: Mon Apr 23, 2012 9:23 am Post subject: 


elf wrote:  ...
p.s. The full formula (translated from Lefkowitz to Excel): DOF=2*COC*Fstop*(Magnification+1/(Magnification*Magnification)) 
I believe that for a nonreversed lens:
DOF=2*COC*Fstop*(Magnification/PupilaryRatio+1)/(Magnification*Magnification)[/quote]
Pupilary ratio = exit.pupil/entrance.pupil _________________ Wishes are not plans.... 

Back to top 


rjlittlefield Site Admin
Joined: 01 Aug 2006 Posts: 18235 Location: Richland, Washington State, USA

Posted: Mon Apr 23, 2012 11:06 am Post subject: 


Peter De Smidt wrote:  Thanks, Rik. Does that mean that doubling the figures gives a perfect world type of standard? 
That's correct. You can crosscheck by comparing against the calculator at http://www.microscopyu.com/tutorials/java/depthoffield/index.html. With the eslider pushed full left (e=4), the number computed by microscopyu will be a little more than double the number listed by Edmund/Mitutoyo. It would be exactly double if you could set e=0 corresponding to the perfectworld assumption.
Rik 

Back to top 


Peter De Smidt
Joined: 05 Jan 2012 Posts: 233

Posted: Mon Apr 23, 2012 12:30 pm Post subject: 


Thanks Folks. I appreciate the help! _________________ www.peterdesmidt.com/blog 

Back to top 


conkar
Joined: 18 Dec 2010 Posts: 200 Location: Sweden

Posted: Tue Apr 24, 2012 8:41 am Post subject: 


Here Is how Mitutoyo calculate their DOF numbers:
DOF=λ/2x(na)²
λ=0.55µm is used as the reference wavelength.
Here is the 2X Mitutoyo Plan Apo InfinityCorrected Long WD Objective discussed in this thread with the DOF i specified to 91µm
0.55/(2x0.055²)=90,909090909090909090909090909091µm
And the DOF calculation of their 10X Mitutoyo Plan Apo InfinityCorrected Long WD Objective specified to DOF 3.5µm looks like this:
0.55/(2x0.28²)=3,5076530612244897959183673469388
Reference:
http://www.mitutoyo.co.jp/eng/products/menu/QuickGuide_Microscopes.pdf
Regards,
Conny 

Back to top 


rjlittlefield Site Admin
Joined: 01 Aug 2006 Posts: 18235 Location: Richland, Washington State, USA

Posted: Tue Apr 24, 2012 7:20 pm Post subject: 


To clarify the basis for these numbers...
See http://photo.net/learn/optics/mtf/ for a good discussion of MTF in general. About 2/3 of the way down the page, there is a section that looks as follows:
The number computed by Mitutoyo is the deviation from perfect focus required to produce the blue line at 1/4 wave error. Under this condition, the mostaffected spatial frequency has its contrast cut to about 80% of what it would be at perfect focus.
It should be apparent that this choice is somewhat arbitrary. Smaller defocus will result in less loss of contrast, and larger defocus will result in more.
However, the loss of MTF increases steeply with wave error. At 1/2 wave error there is severe blurring, with the MTF at some frequencies being cut to around 25% of perfect focus. At 3/4 wave error, the MTF curve has actually dropped below zero and some features may either disappear entirely or develop inverted contrast. So if you're going to pick one value for DOF, the value for 1/4 wave error is better than most. Again, note this is a onesided number  the total fronttoback DOF is twice as big.
BTW, it's an amusing exercise to point a camera at a fine grid, turn the focus knob, and watch the black and white lines first blur and then swap places as the contrast inverts. But that's a topic for another day.
Rik 

Back to top 


Peter De Smidt
Joined: 05 Jan 2012 Posts: 233

Posted: Tue Apr 24, 2012 7:29 pm Post subject: 


Rik, thank you for the clear explanation! _________________ www.peterdesmidt.com/blog 

Back to top 


