New DoF online calculator
Moderators: rjlittlefield, ChrisR, Chris S., Pau
- enricosavazzi
- Posts: 1457
- Joined: Sat Nov 21, 2009 2:41 pm
- Location: Västerås, Sweden
- Contact:
New DoF online calculator
I made a new DoF calculator available on my web site at
http://savazzi.freehostia.com/photography/applet.htm
It is pre-configured with sensor data from several current cameras, but its real strength is being fully configurable in almost all respects I can think of.
Some debugging might still be needed.
http://savazzi.freehostia.com/photography/applet.htm
It is pre-configured with sensor data from several current cameras, but its real strength is being fully configurable in almost all respects I can think of.
Some debugging might still be needed.
--ES
- Charles Krebs
- Posts: 5865
- Joined: Tue Aug 01, 2006 8:02 pm
- Location: Issaquah, WA USA
- Contact:
-
- Posts: 5786
- Joined: Sun Mar 09, 2008 2:17 am
- Location: Reading, Berkshire, England
- enricosavazzi
- Posts: 1457
- Joined: Sat Nov 21, 2009 2:41 pm
- Location: Västerås, Sweden
- Contact:
- rjlittlefield
- Site Admin
- Posts: 23220
- Joined: Tue Aug 01, 2006 8:34 am
- Location: Richland, Washington State, USA
- Contact:
Correction: F(effective) = magnification/(2*NA)ChrisR wrote:Is it reasonable to only use F(effective) = 1/2*NA?
Example: 10X at NA 0.25 gives F(effective) = 10/(2*0.25) = f/20.
Or you can go the other direction that F(nominal) = (m/(m+1)) * (1/(2*NA)).
Example: 10X at NA 0.25 gives F(nominal) = f/1.8
They are, but that's already incorporated into the NA specification when the objective is used at rated magnification. If you push them far off rated magnification then the calculations will go astray.I'm thinking that the PMF of many scope objectives would be far from unity, but I don't know.
--Rik
- enricosavazzi
- Posts: 1457
- Joined: Sat Nov 21, 2009 2:41 pm
- Location: Västerås, Sweden
- Contact:
It is already implicit in Rik's answer, but to be clear, the NA of an objective is already an effective aperture, specified for the magnification for which the lens/objective is designed. So there is no good reason to have a table of values, because the lens preferably should be used at just one magnification (and in addition there is no need to enter a pupil ratio because, as Rik says, it is already included in the NA figure).ChrisR wrote:It works well for me
I was looking for somewhere to input "NA" for the higher magnifications.
Is it reasonable to only use F(effective) = 1/2*NA?
I'm thinking that the PMF of many scope objectives would be far from unity, but I don't know.
--ES
- rjlittlefield
- Site Admin
- Posts: 23220
- Joined: Tue Aug 01, 2006 8:34 am
- Location: Richland, Washington State, USA
- Contact:
To further clarify (I hope!), the NA actually specifies effective aperture on the subject side. The effective aperture on the camera side will be different from that by the magnification factor. If you have an infinity objective, there is no problem adjusting the magnification by changing the length of the tube lens, but in that case the effective aperture (as seen by the camera!) will change in proportion also.enricosavazzi wrote:It is already implicit in Rik's answer, but to be clear, the NA of an objective is already an effective aperture, specified for the magnification for which the lens/objective is designed.
--Rik
I got that wrong by a word and a typo then -
I meant to write
f(nominal) = 1/(2*NA)
but still would have been wrong by M/(M+1). (Actually not too big an error for M>=10 or so)
Nominalish?
The chart uses marked lens apertures, not effective apertures. I can't see how it's to be used at all for microscope objectives. I can use it with a nominalish aperture but they're awkward for M< 10 or so
If I think of a 10x NA 0.25 lens as behaving like an f/2 lens - as given by 1/(2*NA), I get the right number - ish.
For larger M lenses 1/(2*NA) also works, I believe.
For a 2x NA0.1 lens,
2/(2+1) * (1/(2*0.1)) gives f(nominal) = 3.33
I meant to write
f(nominal) = 1/(2*NA)
but still would have been wrong by M/(M+1). (Actually not too big an error for M>=10 or so)
Nominalish?
The chart uses marked lens apertures, not effective apertures. I can't see how it's to be used at all for microscope objectives. I can use it with a nominalish aperture but they're awkward for M< 10 or so
If I think of a 10x NA 0.25 lens as behaving like an f/2 lens - as given by 1/(2*NA), I get the right number - ish.
For larger M lenses 1/(2*NA) also works, I believe.
For a 2x NA0.1 lens,
2/(2+1) * (1/(2*0.1)) gives f(nominal) = 3.33
Would it not be useful, for anyone using whichever type of lens the situation suits?So there is no good reason to have a table of values
Last edited by ChrisR on Mon Nov 21, 2011 3:03 pm, edited 1 time in total.
-
- Posts: 5786
- Joined: Sun Mar 09, 2008 2:17 am
- Location: Reading, Berkshire, England
Installed and working. Thanks.enricosavazzi wrote:This is probably because you don't have a compatible Java runtime system installed. After installing it, you should be able to use the applet.Harold Gough wrote:I see it for a second and am diverted to a java download site.
Harold
Harold
My images are a medium for sharing some of my experiences: they are not me.
- naturephoto1
- Posts: 509
- Joined: Sun Nov 13, 2011 5:37 pm
- Location: Breinigsville, PA
- Contact:
- enricosavazzi
- Posts: 1457
- Joined: Sat Nov 21, 2009 2:41 pm
- Location: Västerås, Sweden
- Contact:
It can be done by adding data to a configuration file, no need to change the code itself. Will probably extend the list in the next release. In the meantime, it is always possible to manually enter the sensor data in the configuration panel.naturephoto1 wrote:Enrico,
Thank you. But we need more cameras listed like my Panasonic Lumix G1 micro 4/3.
Rich
--ES
- enricosavazzi
- Posts: 1457
- Joined: Sat Nov 21, 2009 2:41 pm
- Location: Västerås, Sweden
- Contact:
I uploaded a new version of the applet at
http://savazzi.freehostia.com/photography/applet101.htm
Links and bookmarks to the earlier version no longer work (this is necessary to make sure you are running the new version, not the original version that is probably still cached in your web browser or Java runtime system).
Changes:
- Fixed a localizaton bug that caused the applet to crash on some non-English systems.
- Added a few camera models.
http://savazzi.freehostia.com/photography/applet101.htm
Links and bookmarks to the earlier version no longer work (this is necessary to make sure you are running the new version, not the original version that is probably still cached in your web browser or Java runtime system).
Changes:
- Fixed a localizaton bug that caused the applet to crash on some non-English systems.
- Added a few camera models.
--ES