PDA

View Full Version : Diffraction Limits of Lenses and Scanning



Ken Lee
6-Feb-2016, 07:49
According to this article on the LF Forum How to Select the F/stop (http://www.largeformatphotography.info/fstop.html), diffraction limits resolution as follows:

http://www.kenleegallery.com/images/forum/DiffractionLimits.jpg

The chart states that if we take a photo at f/22 with a (hypothetically) perfect lens and film, we can get up to 68 lp/mm (just over 1700 line pairs per inch), but no higher. The article points out that these numbers apply irrespective of focal length.

1) If we encounter lens tests made at f/22 which report resolution higher than that number, should we be suspicious ?

2) To effectively scan that (hypothetical) image, would we need a scanner capable of twice that resolution ?

Thank you !

Jim Jones
6-Feb-2016, 09:39
The information in the above chart agrees fairly well with much research and many lens tests. It is dependent on several factors such as the wavelength of light used in testing and the ability of the person making the test. Sometimes resolution tests do indicate higher resolution than charts, formulae, and experience suggest. For example, this can be due to spurious lines in images of lens test charts. MTF tests eliminate some human error. We should also consider that the optical resolution of a lens alone may be greater than that of the lens and film combined.

I would prefer a scanner with more than twice the hypothetical resolution when scanning resolution tests. However, in the somewhat mystical world of diffraction limited optics, strange things happen. For example, even some experts have proclaimed that a pinhole camera cannot resolve line pairs smaller than the pinhole diameter. I've repeatedly proven this wrong in tests.

Taija71A
6-Feb-2016, 10:43
Quick Answer:

'In general'... Yes and Yes.
--
Of course, in LF 'Real World' image capture...
One is not going to come 'close' to putting these types of Resolution Numbers on Film and/or Paper
(For numerous different reasons).

Regards, -Tim.

BetterSense
6-Feb-2016, 11:00
The chart is "correct" but as pointed out above, exceptions exist. In particular, in the semiconductor industry we even resolve lines smaller than the wavelength of the light, but use special techniques and huge apertures to do it.

The fact that the chart applies irrespective of focal length is correct but subtle since photographs are routinely enlarged. When normalized for enlargement differences and applying a practical definition of resolution e.g. defined as a fraction of the print diagonal or similar metric, then the result is that if you use a lens of twice the focal length, you only need half the resolution at the film plane. Resolution in lp/mm at the film plane is a good metric for certain things like printing chips or technical photography but may be a confusing metric when comparing camera formats. For pictorial photography resolution should really be formulated in terms of total-system solid angular resolution but I have never seen that done. The closest thing is Zeiss's sharpness criterion of 1/1760 of the final print diameter, which works for all formats. It is typically used for depth of field but is equally valid way to think about resolution and MTF for pictorial photography. When thinking this way you will find the aperture diameter d is the more useful parameter than _camera_ fstop, because the aperture diameter together with the final print+viewer system form basically a "total system numeric aperture". In practice manufacturers quote metrics in terms if the camera system only i.e. in lp/mm on the film. This ignores the total system and end use of the images, but is simple and unambiguous.

Drew Wiley
8-Feb-2016, 10:10
Gosh. Does anyone ever think about this stuff taking a picture? I hope not. Maybe purchasing a lens. Movements complicate it all anyway. I stop down based on
the nature of the subject matter itself - the composition - in relation to my actual experience with a particular lens, the realistic LENGTH of exposure I have in mind, and what I need to do in terms of handling the degree of film plane flatness, which is a far more important variable than nitpicking MTF data. I am perfectly
aware of the point at which diffraction becomes apparent; but this is related to degree of magnification in the print.

Nodda Duma
8-Feb-2016, 11:57
Since this is a technical discussion and not an artistic one..

For anyone wondering how those numbers were derived.

The sampling frequencies listed at the indicated f/#'s correspond to 7.5% contrast (modulation) for a diffraction-limited optic. That's between the two accepted minimum perceivable contrast metrics of 5% and 10% -- depending on the application.

For a square wave input -- ie bar target -- it's a little higher. About 10%. Square-wave mtf values (contrast transfer) always run higher than sinusoidal target MTF (modulation), which is why some testing can indicate better-than-thought-possible performance...rather than human error (except using an incorrect target image to measure MTF).

The best way to measure the MTF of a lens is on an MTF test station such as is available from Optikos. They are pricey, though. When you have access to one, you can easily get spoiled. :)


By the way: lp/mm (line pairs per millimeter) implies a bar target and contrast transfer function. cyc/mm (cycles per millimeter) implies a sinusoidal target and modulation transfer function (MTF). They are not interchangeable units. Analogous to talking about pixels for film or grains for digital imagers.

jp
8-Feb-2016, 13:45
Ken tends to use smooth lenses rather than hypothetically perfect lenses....

The weak link is the scanner. The Epsons like many of use don't seem to go up linearly in quality as the resolution increases. I think 3200dpi on the scanner is not twice as good as half the DPI.

Nodda Duma
8-Feb-2016, 14:28
Well smooth lenses won't be anywhere near those numbers, and in that case it makes much more sense to talk -- from an optical design point of view -- in terms of ray fans, Seidel aberrations, and spot sizes. Which doesn't help this particular topic, but is much better at describing what the images from a soft lens will look like.

Ken Lee
8-Feb-2016, 15:34
I have some soft lenses and some sharp lenses and appreciate both styles. When both sharpness and softness combine in one image, the results can be very gratifying, since each magnifies the effect of the other.

I ask about optics because it's good to both appreciate and understand, according to our capacity. As with sharpness and softness, the two can often enhance one another. Photography requires a grasp of both technology and aesthetics. :cool:

I long wondered why LF lens tests (often performed at f/22) seem to peak at around that limit. Now I know why.

It's amusing to observe that as we choose larger sized film/sensors for better image quality and less dependence on scanner/enlarger quality, we have to increase focal length, which causes depth of field to decline. As we stop down further to recover depth of field, we lose information due to diffraction (be it square or sinusoidal). I'm fishing around to find the sweet-spot.

Drew Wiley
8-Feb-2016, 16:19
Likewise, I wonder about all the fuss when the bottleneck is often a so-so film plane, or even film that isn't particularly flat in the holder in the first place. Optical
bench testing is one thing, real cameras and holders often, alas, quite another.

Jim Jones
8-Feb-2016, 19:19
Drew brings up valuable practical points in posts #5 & #10. Just the tolerance in film holders make using typical lenses on press cameras wide open a gamble. Lens tests suggest f/22 as a sweet aperture for many 4x5 lenses, but at that aperture diffraction is terribly conspicuous in fine grain 35mm negatives of detailed subjects. The f.64 group were justified in using that aperture for much of their photography. Harold Merklinger and others have written much more on the subject than we can cover here.

BetterSense
8-Feb-2016, 22:48
It's amusing to observe that as we choose larger sized film/sensors for better image quality and less dependence on scanner/enlarger quality, we have to increase focal length, which causes depth of field to decline.

What's really happening as format increases is speed is decreasing, because you are exposing more film. It takes 4 times as many photons to expose a composition on 8x10 than it does 4x5. Photographers often respond to this fact by using larger absolute apertures on the larger format i.e. the same f-number to achieve the same exposure time; that reduces depth of field, but it's because the absolute aperture was opened up. Photographers think longer lenses reduce depth of field because they express aperture casually as a function of focal length without thinking it through. Its nearly circular thinking.


Lens tests suggest f/22 as a sweet aperture for many 4x5 lenses, but at that aperture diffraction is terribly conspicuous in fine grain 35mm negatives of detailed subjects.

That's because f22 on 35mm is not the same as f22 on large format. Fstop is the wrong figure to use for comparing different formats here unless you intend to enlarge the 35mm the same 1-4x enlargement as LF and still view it from the same distance, which nobody does.

You can easily see that absolute aperture is what matters here. With normal- ish lenses, a 10mm aperture may be f/10 on 35mm, f/20 on 4x5, and f/40 on 8x10. Those are not-coincidentally the optimum fstops for each respective format. That's because it is the aperture diameter that matters. Below 10mm diffraction starts to become significant, regardless of what film you put behind it. And of course good results are obtained with apertures down to 5mm and below for non critical work (f/20, f/40, f/80 respectively).

Ken Lee
9-Feb-2016, 02:47
as format increases is speed is decreasing, because you are exposing more film. It takes 4 times as many photons to expose a composition on 8x10 than it does 4x5. Photographers often respond to this fact by using larger absolute apertures on the larger format i.e. the same f-number to achieve the same exposure time;

A 300mm lens at f/10 gives the same amount of light as a 150mm lens at f/10, whether we use it on 4x5 film or 8x10 film. If we had to compensate for focal length, f/stops (and shutter speeds) would not be the convenient and interchangeable measures that they are, no ?

With larger film we choose longer lenses to get equivalent angle of view. At the same distance from the subject, a 300mm lens gives the same angle of view on 8x10 as a 150mm lens on 4x5. However, the 300mm lens gives 1/2 the depth of field, at the same aperture, as the 150mm lens. To get the same depth of field, the 300mm lens needs to be stopped down by 2 more f/stops. A 600mm lens will require 4 more stops, etc.


You can easily see that absolute aperture is what matters here.

Not according to the article (http://www.largeformatphotography.info/fstop.html) quoted in post # 1 (emphasis mine). Is the author confused ?

"Strictly speaking, diffraction is a function of aperture size or the physical size of the hole and that is how it would be defined in a physics textbook. Which means that the larger area aperture in a 300mm lens at f/16 (as compared to a 50mm lens at f/16) should provide lower diffraction. However, diffraction patterns are angular patterns and as such are dependent on how far from the aperture you place the screen used to view it also. In photography, the aperture is at the optical center of the lens and the screen is (for infinity focus) one focal length away. The physical size of the diffraction blur is then the focal length divided by the apparent size of the aperture i.e., the definition of the f stop. Thus, in photography, diffraction is only a function of f stop and not a function of the focal length. In simpler terms, the larger aperture of the 300mm lens does offer lesser diffraction at the diaphragm (i.e., less bending around the diaphragm) but since the light now has a longer distance to travel (as compared to the 50mm lens), the smaller bending still results in a fair bit of blur at the viewing screen. - N Dhananjay"

BetterSense
9-Feb-2016, 05:54
Thus, in photography, diffraction is only a function of f stop and not a function of the focal length

This is 100% correct, when diffraction is expressed in terms of resolution at the film plane, which, perhaps because of lithographic influence, is how it's done for some reason. However, we have seen that is a very awkward measure for pictorial photography because it does not match the photographic use-case. Film-plane resolution must be corrected to account for final magnification differences, and when you do that, the focal length drops back out of the equations. Photographs are routinely enlarged to comfortable sizes, and when they are enlarged to different sizes, they are routinely presented so as to be viewed from different distances depending on the size. So the much better comparison is not lp/mm at the "film plane", but system angular resolution, or if you must avoid angles, "print resolution when final magnification is taken into account"...what other figure of merit than print sharpness? Formulated this way, you will find that it's only absolute aperture that matters both for DOF and diffraction concerns, for any format from minox to ULF. Yes, you can formulate either in terms of f-stop, but to fairly compare different formats you must normalise by magnification which amounts to dividing all the figures by the focal length and then multiplying them all by the focal length again.

To use absolute but artificial nunbers, the quoted passage is saying e.g. that if you use a 3mm aperture on 35mm it may be f/11 and diffraction-limit you to 50lp/mm at the film. Using that same (absolute) aperture on a 10x bigger format (for a much larger fstop) would be f/110 and limit you to 5lp/mm at the film. But after you contact print the larger format, enlarge the 35mm film 10x to match the large format print, and compare them as photographic prints, the print resolutions will be identical, a confirmation of the fact that only the absolute aperture matters when formulated in terms of relative print resolution which is what matters in pictorial photography. You can also do like Ziess and think about it in terms of the image diagonal.

mdarnton
9-Feb-2016, 06:28
In doing art copying and slide duping years ago, and now camera scanning, I have been struck by how much supposedly-good lenses vary in both sharpness and contrast, and how their actual optimum apertures can be all over the place. I really think that if this kind of stuff bothers you, theory can take one only so far, and testing gives the only good answer. In the duping cases above, both times, 40 years apart, I ended up with unlikely lenses doing the jobs the best, perhaps because of the various lenses I had in my hand at the time. In the first case, even though the ungodly-expensive motorized bells-and-whistles Bencher copy setup I was using came with a Componon as stock, I ended up putting that camera aside and using my own OM-1 and 50/3.5 Oly Macro lens. Currently, a 63/2.8N El-Nikkor is doing neg scanning duty at f11 (which previously I had found to be too small with other lenses), having beat out every other option I have, and I'm really blown away by that one.

ic-racer
9-Feb-2016, 07:28
According to this article ...

And according to physical properties of electromagnetic radiation.


1) If we encounter lens tests made at f/22 which report resolution higher than that number, should we be suspicious ?

Lines per millimeters and line-pairs per millimeter can be confused. Also, Modulation Transfer Function is more of an industry standard then lines per millimeter.

Emmanuel BIGLER
9-Feb-2016, 07:53
Coming late to this discussion and since Ken's original question is "diffraction and scanning" it should be added that the original table implies that the f-number is the effective f-number = N(1+M) where N is the engraved f-number as usual, and M the magnification ratio.
Scanner lenses probably do not operate in the infinity-focus position.

Imagine that you use a lens in infinity-focus position, stopped down to f/11 as engraved, when focusing down to the 1:1 magnification ratio, the effective f-number becomes 11x(1+1) = 22, hence the diffraction-limited resolution limit is twice as big with respect to the infinity-focus position, if the aperture ring is unchanged.

See the attached pdf file with official MTF charts for the 240 mm apo-ronar.
The MTF curve at 1:1 ratio for N=22 is plotted above the MTF curve at 1:20 for N=22 and it is obvious if you look at the 20 cy/mm MTF curve that the apo ronar is better at 1:20 than at 1:1, a kind of a paradox for a lens optimized for 1:1 use ;)
The reason is simply that the effective number for N=22 "engraved", is Neff = 22x(1+1/20) = 23.1 at 1:20 and Neff = 22 x 2 = 44 (actually = 45) at 1:1.

The MTF charts for the 240 mm apo ronar also show us that the curves are very flat up to 360 mm of image circle at 1/1 and only half this value, 180 mm at 1:20.
On one hand, the minimum detectable optical period at constant N is doubled when changing from infinity-focus to 1:1, because Neff is doubled; but on the other hand, the image circle is doubled, in consequence the total number of resolved points remains constant !!


2) To effectively scan that (hypothetical) image, would we need a scanner capable of twice that resolution ?

Yes, but in order to avoid to be confused with various factors like 1.2 (in the formula of Rayleigh's criterion for the diffraction limit) or any fudge factor around 1.2 taking into account the minimal acceptable contrast, plus the factor 2x for the number of samples required per one optical / analog period, I prefer to express the diffraction limit in terms of the absolute analogue cut-off period in a diffraction-limited optical image

cut-off period = Neff λ
cut-off frequency = 1/(Neff λ) in cycles per mm or mm-1

where Neff = N(1+M) as explained above;
λ = wavelength of light

now we can take a safety margin of 80% for the cut-off frequency of 1.2 for the cut-off period in order to maintain a minimum contrast, and with the 1.2 factor we get Rayleigh's resolution criterion = 1.2 N λ

The sampling theorem simply states that you need two samples per analogue period.
imagine that you have a diffraction-limited image behind an optical system with Neff = 11, the cut-off period for, say, red light λ=0.65 micron is 11x0.65 = 7.2 microns - cut-off frequency = 140 cycles/mm, in principle you should use a sampling rate at 280 cy/mm i.e. about 7100 samples per inch ...

Drew Wiley
11-Feb-2016, 14:19
For film duping work I got addicted to Apo Nikkor 4-element graphics lenses. The only thing better that I'm aware of are the Apo El Nikkors at absurdly higher pricing. A few seconds with a high-quality grain magnifier tells me way more than reading every chart out there.

Peter De Smidt
11-Feb-2016, 15:09
Drew, what about the Printing Nikkors? They're reputably even better.

onnect17
11-Feb-2016, 18:52
Coming late to this discussion and since Ken's original question is "diffraction and scanning" it should be added that the original table implies that the f-number is the effective f-number = N(1+M) where N is the engraved f-number as usual, and M the magnification ratio.
Scanner lenses probably do not operate in the infinity-focus position.

Imagine that you use a lens in infinity-focus position, stopped down to f/11 as engraved, when focusing down to the 1:1 magnification ratio, the effective f-number becomes 11x(1+1) = 22, hence the diffraction-limited resolution limit is twice as big with respect to the infinity-focus position, if the aperture ring is unchanged.

See the attached pdf file with official MTF charts for the 240 mm apo-ronar.
The MTF curve at 1:1 ratio for N=22 is plotted above the MTF curve at 1:20 for N=22 and it is obvious if you look at the 20 cy/mm MTF curve that the apo ronar is better at 1:20 than at 1:1, a kind of a paradox for a lens optimized for 1:1 use ;)
The reason is simply that the effective number for N=22 "engraved", is Neff = 22x(1+1/20) = 23.1 at 1:20 and Neff = 22 x 2 = 44 (actually = 45) at 1:1.

The MTF charts for the 240 mm apo ronar also show us that the curves are very flat up to 360 mm of image circle at 1/1 and only half this value, 180 mm at 1:20.
On one hand, the minimum detectable optical period at constant N is doubled when changing from infinity-focus to 1:1, because Neff is doubled; but on the other hand, the image circle is doubled, in consequence the total number of resolved points remains constant !!


2) To effectively scan that (hypothetical) image, would we need a scanner capable of twice that resolution ?

Yes, but in order to avoid to be confused with various factors like 1.2 (in the formula of Rayleigh's criterion for the diffraction limit) or any fudge factor around 1.2 taking into account the minimal acceptable contrast, plus the factor 2x for the number of samples required per one optical / analog period, I prefer to express the diffraction limit in terms of the absolute analogue cut-off period in a diffraction-limited optical image

cut-off period = Neff λ
cut-off frequency = 1/(Neff λ) in cycles per mm or mm-1

where Neff = N(1+M) as explained above;
λ = wavelength of light

now we can take a safety margin of 80% for the cut-off frequency of 1.2 for the cut-off period in order to maintain a minimum contrast, and with the 1.2 factor we get Rayleigh's resolution criterion = 1.2 N λ

The sampling theorem simply states that you need two samples per analogue period.
imagine that you have a diffraction-limited image behind an optical system with Neff = 11, the cut-off period for, say, red light λ=0.65 micron is 11x0.65 = 7.2 microns - cut-off frequency = 140 cycles/mm, in principle you should use a sampling rate at 280 cy/mm i.e. about 7100 samples per inch ...

Allow me a couple of comments.

The Rayleigh's criterion for the diffraction limit applies only to monochrome wavelenghts. Once you compress the spectrum (Apo-chormatic) then the perceived diffraction limits are pushed back a little.

"The sampling theorem simply states that you need two samples per analogue period."
This is a necessary but not sufficient. A "cleaner" rate is at least 4 times.

Alan Gales
12-Feb-2016, 14:41
I'm fishing around to find the sweet-spot.

I have wondered that myself. The larger the negative the larger the problem with film flatness too. For those who scan with a flatbed and occasionally get an image drum scanned for a large print, they may be best off shooting 4x5. Of course if blowing up to 16X20 from an Epson consumer flatbed scan, 8x10 will look better. Contact printing and wet printing bring new considerations to the question.

A dedicated medium format scanner and a Mamiya 7 may be the best choice for some.

I don't think it's a one answer fits all kind of question.