Luminous Landscape Forum

Equipment & Techniques => Cameras, Lenses and Shooting gear => Topic started by: jvora on October 20, 2010, 07:53:52 am

Title: A 34MP Fx Sensor and Diffration Limit
Post by: jvora on October 20, 2010, 07:53:52 am
Hello :

Anyway to predict what which f/stop Diffraction Limit would be reached for a 34 MP FX Sensor ? Are there any such mathematical formulas that can provide this information ?

Thanks,

Jai
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: Christoph C. Feldhaim on October 20, 2010, 09:09:37 am
The diameter of the Airy disc (diffraction disc) is about 1.35µm * F-Stop (at about 550 nm wavelength light).
34 MP at 3*4 aspect ratio would be about 5050*6733 Pixel.
34 MP at 2*3 aspect ratio would be about 4761*7141 Pixel.
An FX Sensor is 24*36 mm if I'm right.
So - the pixel pitch would be 24mm/4761 pixel = about 5 Micron
Now it depends where you would see the limit:
The Airy disk diameter equaling the pixel size? -->5=1,35*Fstop => F3.7
Or 2*2 Pixels enclosing an Airy Disk? -->Diameter=10 =>F7.4
Or the Airy disk enclosing a pixel? Diameter = 1,41*Pixelpitch = 7,1µ => F 5.3

The devil is in the detail as usual.


Link: http://en.wikipedia.org/wiki/Airy_disk

You should also keep in mind this is a rough calculation for a diffraction limited system.
Depending on the lenses aberrations your systems sweet spot can be at higher F-Stops.

After reading a lot of stuff on this and especially the MTF papers from Zeiss in their lens camera news I came to the conclusion that there will never be a real theoretical alternative to self testing a lens/camera/sensor system ....

Link: http://www.zeiss.com/C12567A8003B58B9/Contents-Frame/15C75F926592E5C1C1256CED0054968D
Issues 30 and 31 of their magazine ...
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: ErikKaffehr on October 20, 2010, 03:24:40 pm
Hi,

I agree, with a couple of additions:

1) We will have diminishing returns. The incremental improvement may be less than we would expect. Better but not much better.
2) Oversampling may have advantages, like less need of OLP (Optical Low Pass) filtering

Resolution is proportional to the square root of megapixels so going from 24 to 34 MPixels gives like a 19% improvement, may not be very visible.

Best regards
Erik


The diameter of the Airy disc (diffraction disc) is about 1.35µm * F-Stop (at about 550 nm wavelength light).
34 MP at 3*4 aspect ratio would be about 5050*6733 Pixel.
34 MP at 2*3 aspect ratio would be about 4761*7141 Pixel.
An FX Sensor is 24*36 mm if I'm right.
So - the pixel pitch would be 24mm/4761 pixel = about 5 Micron
Now it depends where you would see the limit:
The Airy disk diameter equaling the pixel size? -->5=1,35*Fstop => F3.7
Or 2*2 Pixels enclosing an Airy Disk? -->Diameter=10 =>F7.4
Or the Airy disk enclosing a pixel? Diameter = 1,41*Pixelpitch = 7,1µ => F 5.3

The devil is in the detail as usual.


Link: http://en.wikipedia.org/wiki/Airy_disk

You should also keep in mind this is a rough calculation for a diffraction limited system.
Depending on the lenses aberrations your systems sweet spot can be at higher F-Stops.

After reading a lot of stuff on this and especially the MTF papers from Zeiss in their lens camera news I came to the conclusion that there will never be a real theoretical alternative to self testing a lens/camera/sensor system ....

Link: http://www.zeiss.com/C12567A8003B58B9/Contents-Frame/15C75F926592E5C1C1256CED0054968D
Issues 30 and 31 of their magazine ...
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: stever on October 21, 2010, 12:30:22 am
from my experience with Canon cameras i agree that it's unlikely that resolution will increase in proportion to linear pixel pitch closer than 6 microns

the increase in resolution from the 5D to 5D2 (6.4 micron) was pretty nearly proportional to the linear pixel increase.  the increase from the 20D (6.4 microns, same as 5D2) to 40d (5.8 microns) is measurable with very good lenses, but not really noticeable.  the improvement from the 40D to 7D (4.3 micron) is similarly measureable (and maybe noticeable) but not close to proportional even with the best lenses.  the linear pixel increase from the 20D to the 7D is almost 50%, but the measurable resolution increases by about 15% with the best lenses (e.g. 100L macro which has maximum resolution between f4 and f5.6)

i believe that silicon progress has outrun lens design and (particularly) manufacturing.  both Canon and Nikon are introducing new lenses to address the problem, but i believe these lenses will not realize the potential of the next generation of ff cameras (and aren't even close for crop-frame).  is there a market for Leica quality (and price) lenses for Canon and Nikon?
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: ErikKaffehr on October 21, 2010, 12:52:59 am
Hi,

One thing I see is that with a bit aggressive sharpening I get staircase effects and aliasing on diagonal structures which means that the lens can still outresolve the sensor. I'd suggest that even a Quadrupling of Megapixels would make sense, that is going down to 3 microns. We would not be able to resolve much more, but it may results in better reproduction of what we can resolve.

Whatever the megapixels they are hard to utilize fully. Autofocus may not be dead on, lens and sensor may not be perfectly aligned and we also have camera vibration.

The new translucent mirror technology from Sony makes a lot of sense, at least potentially. Elimination of a moving mirror makes adjustment of autofokus simple and electronic viewfinder should make Live View based focusing easier.

Best regards
Erik




from my experience with Canon cameras i agree that it's unlikely that resolution will increase in proportion to linear pixel pitch closer than 6 microns

the increase in resolution from the 5D to 5D2 (6.4 micron) was pretty nearly proportional to the linear pixel increase.  the increase from the 20D (6.4 microns, same as 5D2) to 40d (5.8 microns) is measurable with very good lenses, but not really noticeable.  the improvement from the 40D to 7D (4.3 micron) is similarly measureable (and maybe noticeable) but not close to proportional even with the best lenses.  the linear pixel increase from the 20D to the 7D is almost 50%, but the measurable resolution increases by about 15% with the best lenses (e.g. 100L macro which has maximum resolution between f4 and f5.6)

i believe that silicon progress has outrun lens design and (particularly) manufacturing.  both Canon and Nikon are introducing new lenses to address the problem, but i believe these lenses will not realize the potential of the next generation of ff cameras (and aren't even close for crop-frame).  is there a market for Leica quality (and price) lenses for Canon and Nikon?
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: rsn48 on October 21, 2010, 02:12:48 am
Whatever happened to the guys who said 6 megapixels are enough, haven't heard from them in a while.
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: Christoph C. Feldhaim on October 21, 2010, 03:02:47 am
The 6 megapixels are only valid if you

- don't crop
- don't go nearer to the image than 1.5 diagonals
- don't fight moiré
- don't use certain postprocessing (like Erik pointed out with the aggressive sharpening and such...)

Basically they were right, but as I like to say: The devil is always in the details.
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: Bart_van_der_Wolf on October 21, 2010, 05:32:59 am
One thing I see is that with a bit aggressive sharpening I get staircase effects and aliasing on diagonal structures which means that the lens can still outresolve the sensor. I'd suggest that even a Quadrupling of Megapixels would make sense, that is going down to 3 microns. We would not be able to resolve much more, but it may results in better reproduction of what we can resolve.

Hi Erik,

Indeed, many lenses clearly outresolve the sensors although the lenses may exhibit reduced resolution closer to the edge of the image circle (=corners of the image) due to residual lens aberrations. Even with reduced resolution and/or diffraction, increased sampling density will allow smoother gradients and more accurate postprocessing. Reduced dynamic range as a result of smaller sensel pitches (and thus storage capacity) remains to be an issue though, so it is more likely that its the balance between resolution and dynamic range that is going to determine the 'sweet spot'. Here only a physically larger sensor array (e.g. MF) can provide a solution, unless a technological breakthrough allows to significantly increase the storage capacity in e.g. doped silicon.
 
Quote
Whatever the megapixels they are hard to utilize fully. Autofocus may not be dead on, lens and sensor may not be perfectly aligned and we also have camera vibration.

While true, lack of camera handling technique is not to be blamed on the sensor. Also, it is possible to restore all sorts of blur more accurately in postprocessing when sampling density is higher.

Quote
The new translucent mirror technology from Sony makes a lot of sense, at least potentially. Elimination of a moving mirror makes adjustment of autofokus simple and electronic viewfinder should make Live View based focusing easier.

I think that the loss of sensitivity caused by permanently splitting off a part of the luminous flux is the biggest drawback. Maybe future technology will allow to electronically switch an optically inert layer between almost transparent and reflective. Another drawback will be that the addition of an optical element in the image forming beam will lead to aberrations. Only lenses that consider such a layer of known properties in the design could avoid aberrations to a minimum. A mirrorless system which avoids all that seems to be a more likely direction of development.

Cheers,
Bart
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: Christoph C. Feldhaim on October 21, 2010, 06:16:12 am
I think that the loss of sensitivity caused by permanently splitting off a part of the luminous flux is the biggest drawback. Maybe future technology will allow to electronically switch an optically inert layer between almost transparent and reflective. Another drawback will be that the addition of an optical element in the image forming beam will lead to aberrations. Only lenses that consider such a layer of known properties in the design could avoid aberrations to a minimum. A mirrorless system which avoids all that seems to be a more likely direction of development.

I believe with the development of sensor and display technology one day we will have an Über-EVF which will fix that ....
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: ErikKaffehr on October 21, 2010, 07:55:38 am
Bart,

This is a good point. I'm sort of advocating mirrorless systems, but it seems that contrast detecting AF is not good enough right now. So I see translucent as a transitional technology.

I'd probably agree hat adding an extra element in the optical path is less desirable, but I guess that I may prefer it to a moving mirror.

Regarding the DR issue I absolutely agree. On the other hand DR is pretty impressive already.

Regarding the other issues I much appreciate your thoughtful comments, as always.

Best regards
Erik



I think that the loss of sensitivity caused by permanently splitting off a part of the luminous flux is the biggest drawback. Maybe future technology will allow to electronically switch an optically inert layer between almost transparent and reflective. Another drawback will be that the addition of an optical element in the image forming beam will lead to aberrations. Only lenses that consider such a layer of known properties in the design could avoid aberrations to a minimum. A mirrorless system which avoids all that seems to be a more likely direction of development.

Cheers,
Bart
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: hjulenissen on October 21, 2010, 08:08:24 am
In this talk of "lense outresolving sensor" or "sensor outresolving lense", I guess there is a large area of overlap: where increasing e.g. sensor resolution gives some benefit, but not as much as one would hope.

The diffraction limit can in principle be raised by going for larger aperture lenses, right? (and also increased cost, weight, decreased availability,...)

I have problems understanding the "oversampling" argument. Oversampling is used in A/D and D/A converters to save on analog filtering. How is a 60megapixel sensor any more "oversampling" than a 15 megapixel one? They have the same Bayer pattern, could have the same relative cutoff OLPF,... The only difference seems to be that high-frequency limitations are moved upward in spatial frequency - which is a good thing but also what brought us the "megapixel war".

-h
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: Bart_van_der_Wolf on October 21, 2010, 11:09:37 am
In this talk of "lense outresolving sensor" or "sensor outresolving lense", I guess there is a large area of overlap: where increasing e.g. sensor resolution gives some benefit, but not as much as one would hope.

It all depends on the particular case. In general though, many decent lenses are capable of resolving patterns in excess of 150 lp/mm. A sensor array is limited to its sampling density, a 6.4 micon sensel pitch cannot resolve much more than 78 cycles/mm unambiguously. So in general a decent lens can outresolve the sensor's capabilities by a factor of 2. Residual lens aberrations can reduce the lens' capabilities. The real issue is that the MTFs of both components combine, and can never be better than the worst of the two. Hence the search for the weakest link. Improve that, and the system performance improves.

Quote
The diffraction limit can in principle be raised by going for larger aperture lenses, right? (and also increased cost, weight, decreased availability,...)

The diffraction limit is 'cast in concrete', and is the resultant of wavelength and aperture (diameter/shape). By sampling it with a denser sampling IOW smaller sensel pitch, we only increase the accuracy at which it is going to be characterized in the final image. The per pixel resolution diminishes, so the enlargement potential alone doesn't improve the sharpness, but the blur restoration potential does increase which in turn does help the enlargement potential.

Larger aperture lenses usually also bring along more compromises in optical design. Using wider apertures does reduce diffraction, but usually also increases the visibility of residual lens aberrations. Reduced DOF may also limit the resolution (whether that's bad depends on the image use and it's creative intent). There is an optical compromise somewhere between aberrations and diffraction, and it differs per lens design.


Quote
I have problems understanding the "oversampling" argument. Oversampling is used in A/D and D/A converters to save on analog filtering. How is a 60megapixel sensor any more "oversampling" than a 15 megapixel one?

It's not necessarily dependent on the number of megapixels, but rather on the sampling density. When one samples a low resolution (spatial frequency) signal with a significantly (> 2x) higher resolution, then the resolution will not necessarily increase, but the precision will. that increased precision (oversampling) does allow to reconstruct the original/unblurred detail better (e.g. with deconvolution).

Cheers,
Bart
Title: oversampling relative to lens resolution (including diffraction)
Post by: BJL on October 21, 2010, 11:43:48 am
I have problems understanding the "oversampling" argument. Oversampling is used in A/D and D/A converters to save on analog filtering.
One idea is oversampling relative to the resolution of the image delivered by the lens, due to diffraction and more generally due to  the combined resolution limits of the lens. That can reduce or eliminate the need for an OLPF, or in your words, allow the camera maker to "save on analog filtering". With large formats like DMF, good OLPF filter are expensive, so avoiding them can be a significant cost benefit. And without an OLPF, oversampling relative to lens resolution by use of "extreme" pixel counts helps to avoid moiré problems. I believe that Pentax has mentioned the absence of an OLPF in the 645D as motivated in good part by cost savings, but do not have a link for that.
Title: Re: A 34 MP Fx Sensor and Diffraction Limit
Post by: 01af on October 29, 2010, 02:34:16 pm
Any way to predict at which f-stop Diffraction Limit would be reached for a 34 MP FX Sensor?

There's always a lot of nonsense written on questions like that. As a matter of fact, a hard diffraction limit doesn't really exist. Diffraction is always there, even at wide apertures, and it will gradually increase with smaller apertures. The question when diffraction starts to become objectionable is very similar to the question how far depth-of-field extends. It depends on your personal definition of "objectionable". So what establishes something we consider a limit actually is a matter of convention.

It's a common misconception that diffraction limit depends on pixel pitch. It doesn't. It just depends on image format, lens quality, and on your personal idea of sharpness. Formulas that compute the aperture where an Airy disk's diameter will equal the pixel pitch are amusing but irrelevant.

So for any given image format, the diffraction "limit" at 34 MP will be just the same as at 24 MP will be just the same as at 12 MP will be just the same as on film. For most practical intents and purposes, it's around f/11 for 35-mm full-frame format. If stopping down beyond that, you'll start to see loss of sharpness due to diffraction, no matter what the sensor's pixel count may be. If looking very closely, you can see diffraction losses at any aperture, as long as the lens is good enough (in real life, most lenses aren't) ... again, no matter what the sensor's pixel count may be.
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: douglasf13 on October 29, 2010, 03:02:18 pm
 Lens DR should also be mentioned, and it often limits the DR of the sensor.  Internal reflection/flare is an issue with complex lens designs that negatively impacts image DR.
Title: Re: A 34 MP Fx Sensor and Diffraction Limit
Post by: Bart_van_der_Wolf on October 29, 2010, 03:41:54 pm
Formulas that compute the aperture where an Airy disk's diameter will equal the pixel pitch are amusing but irrelevant.

I'm always in for a laugh. Why are they irrelevant? Do you mean that you prefer the 'detail' in the f/16 crop versus the f/8 crop below, or are you expressing a very broad generalisation based on a specific situation?

(http://www.xs4all.nl/~bvdwolf/temp/OPF/DiffSpotDiameter.jpg)

Cheers,
Bart
Title: Re: A 34 MP Fx Sensor and Diffraction Limit
Post by: 01af on October 30, 2010, 05:31:06 am
Why are they irrelevant?

I explained it in my previous post. Am I supposed to help you reading, or would a simple repetition of what I wrote be sufficient?


Do you mean that you prefer the 'detail' in the f/16 crop versus the f/8 crop below ...?

No, of course I don't. What makes you ask such a silly question, and in which way would it be related to what I wrote?
Title: Re: A 34 MP Fx Sensor and Diffraction Limit
Post by: Christoph C. Feldhaim on October 30, 2010, 06:39:27 am
It's a common misconception that diffraction limit depends on pixel pitch. It doesn't. It just depends on image format, lens quality, and on your personal idea of sharpness. Formulas that compute the aperture where an Airy disk's diameter will equal the pixel pitch are amusing but irrelevant.

The "diffraction limit" does of course not depend on pixel pitch, since there is no "diffraction limit" - thus it can't be limited .. ;)
But there is a resolution limit and image degradation caused by diffraction .

And there is a point of sensor resolution against F-Stop, where additional megapixels do not add more information and are simply redundant information filling up your memory card or harddisk space. Of course this as well is not a hard limit, but a continuous process.

Is it sufficient to have 1 pixel at the size of an Airy disk? 2x2 pixels, 3x3, 4x4 ...???
I think it is safe to agree, that at some point no relevant information is added.

Usually it is said, that the eye cannot resolve more information than 1500-3000 points per image diagonal, depending on the detailed circumstances, like contrast, viewing distance, personal eyesight, etc...
For a 24*36 mm sensor/film this would be

SQRT(24^2+36^2) mm /(1500 to 3000)= 14,4 to 28,8 Micron

Since the size of the 1 ring of the Airy disc is about 1.35*F-Stop *1Micron you see at F11 it starts hitting which is the general experience with that format. ("F11 [sometimes it is said F8] and you'll be there..")

This is also the reason, why I try not to use F-Stops much above F 4.0 with my Canon Powershot G11.

What easily can be seen as well is, that very high resolutions, like 34 Megapixels will only add valuable information and allow for bigger enlargements at near viewing distance (like looking at a 2*3 m print from 50 cm) if very exact technique is used (accurate focusing, tripod, MUP, excellent lenses etc ..) and the aperture is not too small (The F-Number not too high).
Title: Re: A 34 MP Fx Sensor and Diffraction Limit
Post by: 01af on October 30, 2010, 07:14:29 am
And there is a point of sensor resolution against f-stop where additional megapixels do not add more information and are simply redundant information filling up your memory card or harddisk space.

This is where the misconception begins.


Is it sufficient to have 1 pixel at the size of an Airy disk? 2x2 pixels, 3x3, 4x4 ...? I think it is safe to agree that at some point no relevant information is added.

No, it's not. In theory, there is no point where no more information is added when increasing the pixel count. More pixels will always yield more information. Of course, the returns will diminish quickly, so there's a point at which theory and practice will diverge for practical intents and purposes. But that point definitely is NOT at 1 pixel per Airy disk. It rather is somewhere in the 5 × 5 to 10 × 10 pixel region, or maybe even higher, depending on your intents and requirements.

And it's the same the other way around. Even when a pixel is larger than the Airy disk diameter, the exact size of the Airy disk still matters. That's why there is no relation between AIry disk diameter and pixel pitch. Smaller Airy disks will always yield sharper images, no matter what the pixel pitch is (as long as the pixel count is high enough to render something like a sharp image in the first place, of course). And higher pixel counts will render sharper images, no matter what the Airy disk diameter is.

So if you're using a certain camera and lens and you find you're starting to lose sharpness due to diffraction when exceeding a certain f-number, then with the same lens on another camera with a higher or lower pixel count you will find you're starting to lose sharpness at the very same f-number. It does not depend on the pixel pitch.


Usually it is said that the eye cannot resolve more information than 1500 – 3000 points per image diagonal, depending on the detailed circumstances, like contrast, viewing distance, personal eyesight, etc ...

For a 24 × 36 mm sensor or film this would be

  SQRT(24^2 + 36^2) mm / (1500 to 3000) = 14.4 to 28.8 micron

Since the size of the 1st ring of the Airy disc is about 1.35 × f-number × 1 micron you see at f/11 it starts hitting which is the general experience with that format. ("f/11 [sometimes it is said f/8] and you'll be there ...")

That's exactly what I said above.
Title: Re: A 34 MP Fx Sensor and Diffraction Limit
Post by: Bart_van_der_Wolf on October 30, 2010, 07:18:53 am
I explained it in my previous post. Am I supposed to help you reading, or would a simple repetition of what I wrote be sufficient?

Quote
No, of course I don't. What makes you ask such a silly question, and in which way would it be related to what I wrote?

The fact that you think that references to sensel pitch are humorous, seems to indicate that you are missing the simple fact that the choice for large MP sensor might be inspired by the need for large output. Large output means that the per-pixel microcontrast needs to be as good as one can reasonably get (within the DOF limitations one sets). In that case sensel pitch is of paramount importance, because a diffraction pattern diameter that exceeds the sensel pitch by a certain amount will cause degradation.

Your earlier remark:
Quote
If looking very closely, you can see diffraction losses at any aperture, as long as the lens is good enough (in real life, most lenses aren't) ... again, no matter what the sensor's pixel count may be.
also misses the point that a diffraction pattern that's significantly smaller than the sensel pitch cannot be resolved by the sensor (especially in the presence of an OLPF), the diffraction pattern diameter is too small. Yet you suggest otherwise.

Maybe you have some actual examples that unambiguously show this physics defying phenomenon?

Cheers,
Bart
Title: Re: A 34 MP Fx Sensor and Diffraction Limit
Post by: Christoph C. Feldhaim on October 30, 2010, 08:59:23 am
Quote
And there is a point of sensor resolution against f-stop where additional megapixels do not add more information and are simply redundant information filling up your memory card or harddisk space.
This is where the misconception begins.

Allright - I should have been more exact.
So  let me correct:
And there is a point of sensor resolution against f-stop where additional megapixels do not add more relevant information and are simply redundant information filling up your memory card or harddisk space.

In the end we will land at self testing lens/sensor or lens/film combos and actually see what we get, since the theory is so complex, that we simply not yet have a satisfactory model which integrates lens rendering characteristics, F-Stop, sensor/film characteristics, eyesight, subject [sic!] and so on to produce a usable number called "Image Quality Index".

Title: Re: A 34 MP Fx Sensor and Diffraction Limit
Post by: Christoph C. Feldhaim on October 30, 2010, 09:28:15 am
In theory, there is no point where no more information is added when increasing the pixel count. More pixels will always yield more information. Of course, the returns will diminish quickly, so there's a point at which theory and practice will diverge for practical intents and purposes. But that point definitely is NOT at 1 pixel per Airy disk. It rather is somewhere in the 5 × 5 to 10 × 10 pixel region, or maybe even higher, depending on your intents and requirements.

Yes - in theory - if I'm interested in getting great images of Airy discs even 100x100 is maybe not enough....

Just for fun - lets take your 5x5 to 10x10 constraint:
If we split the image diagonal in 1500 to 3000 and use your suggestion we'd end at a range of 1500*5 to 3000*10 pixels diagonal which would result in a 7500 to 30.000 pixel diagonal.
This would be a range of sensors from 4160*6240=26 Megapixels to 16641*24962=415 Megapixels.
In 24x36 mm format  this would result in a pixel pitch between 1.4 and 5.8 Micron.
But what lenses with what apertures would we need here ???

Other way round:
F 1.4 for example results in an Airy disc (ring 1) of 1.4*1.35 (at 550 nm light)=1.89 Micron
The diagonal on 24*36 is 43.3 mm by 1.89 Micron is 22892.
A diagonal of 22892 * 10 (10 to get the best Airy disk images :P) = 228920 results in a sensor of 126982*190473=24187 Megapixel with a pixel pitch of 0.189 Micron.

Huh ... I'm getting dizzy ...

Now if we could just generate a market for that ....

Cheers
~Chris



Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: ErikKaffehr on October 30, 2010, 09:31:32 am
Hi,

A full frame sensor with 34 MP corresponds to a 13.2 MP APS-C sensor (Canon) or 15.1 MP-APS-C sensor (Nikon, Sony, Pentax). So we have plenty of cameras to compare with. I got the impression that to reach maximum resolution the lens should not be stopped down beyond f/5.6-8 (let's say f/6.3). This is based on MTF test done by the Swedish periodical Foto using Imatest.

The loss of sharpness with diffraction is gradual and can to some extent be compensated by correct sharpening.

Best regards
Erik




Hello :

Anyway to predict what which f/stop Diffraction Limit would be reached for a 34 MP FX Sensor ? Are there any such mathematical formulas that can provide this information ?

Thanks,

Jai
Title: Re: A 34 MP Fx Sensor and Diffraction Limit
Post by: bjanes on October 30, 2010, 10:03:50 am
In that case sensel pitch is of paramount importance, because a diffraction pattern diameter that exceeds the sensel pitch by a certain amount will cause degradation.

Your earlier remark:also misses the point that a diffraction pattern that's significantly smaller than the sensel pitch cannot be resolved by the sensor (especially in the presence of an OLPF), the diffraction pattern diameter is too small. Yet you suggest otherwise.

Well stated, Bart. Here are my thoughts for comment:

It is always good to compare theory with actual results in a real world system. Photozone.de has an abundance of test data for various lens and camera combinations using Imatest MTF50, which is a good measure of perceived image sharpness. Here are the data for the Zeiss Macro Planar 50 mm f/2.8 lens on the Nikon D200. One might prefer data for the D3x, but the pixel pitches of the two cameras are similar. The size of the diffraction spot for green light (wave length = 540 nm) is also shown (from Roger Clark's site).

Two times the pixel pitch is often regarded as the critical value for the diffraction spot, since demosaicing of the Bayer array interpolates from the RGGB quartet of the sensor.

With the lens wide open, there is some loss of MTF due to lens aberrations, and system MTF improves as the lens is stopped down to reduce aberrations. MTF is maximal when the diffraction spot is approximately the size of the pixel. There is no really significant loss of MTF until the diffraction spot is approximately double the pixel size.

One should remember that MTFs multiply and the system MTF is the product of the individual MTFs (lens, sensor, demosaicing software). Since MTF is always less than 1.0 in a real world situation, MTF can never be greater than that of the lowest MTF in the chain, but a higher MTFs in the other components can improve system MTF.




Title: Re: A 34 MP Fx Sensor and Diffraction Limit
Post by: Bart_van_der_Wolf on October 30, 2010, 11:54:16 am
Two times the pixel pitch is often regarded as the critical value for the diffraction spot, since demosaicing of the Bayer array interpolates from the RGGB quartet of the sensor.

Hi Bill,

For large output, where the resulting pixels wiil need to be interpolated to get that large output with adequate PPI, I use a more critical rule of thumb for the onset of visible degradation at the pixel level, 1.5x the sensel pitch. It is based on my experience with a number of DSLRs and lenses (and a P/S compact), and the principle that the diagonal spacing of the pixels is 1.41x the horizontal/vertical sensel pitch, and the fact that the peak of one sensel's diffraction pattern approx. coincides with the first minimum of its diagonal neighboring sensel. Another reason why 2x might be a bit tolerant, is because the Bayer CFA samples a proportion of luminosity at each (1x pitch) sensel position.

Of course this cannot be more than a rule of thumb, because we usually are dealing with multispectral light (not just 555 nm, although it's important for visual acuity), we can have the influence of an OLPF, and we often do not have a perfectly circular aperture. Having said that, and as also demonstrated by your example, 1.5x the sensel pitch (@ f/6.8 ) is close to the optimum of that lens/sensor combination.

Of course some of the losses can be restored in postprocessing, and when we can relax out output size requirements, the considerations will change, and we can start worrying about optimal downsampling instead of diffraction ;)

Cheers,
Bart
Title: Re: A 34 MP Fx Sensor and Diffraction Limit
Post by: 01af on October 30, 2010, 01:18:36 pm
... seems to indicate that you are missing the simple fact that the choice for large megapixel sensor might be inspired by the need for large output.

What a silly statement!  :D

Of course I am aware of that simple fact.


Large output means that the per-pixel microcontrast needs to be as good as one can reasonably get (within the DOF limitations one sets).

Sure.


In that case sensel pitch is of paramount importance, because a diffraction pattern diameter that exceeds the sensel pitch by a certain amount will cause degradation.

Diffraction will always cause some degradation. The smaller the aperture, the more degradation through diffraction. At any pixel pitch.


Your earlier remark:also misses the point that a diffraction pattern that's significantly smaller than the sensel pitch cannot be resolved by the sensor ...

The question is not, can the sensor resolve the diffraction pattern? The question is, can the diffraction pattern reduce sharpness? And the answer is, yes it can, even when one single Airy disk is smaller than one single pixel.


Maybe you have some actual examples that unambiguously show this physics defying phenomenon?

Before making snide remarks about the defying of physics, it would be useful to understand the physics in the first place, wouldn't it? You seem to believe in a system with two resolution-limited subsystems where the output from the first is the input to the second, the resulting system's resolution was equal to the smaller of the two. Not so.

Be R1 the first subsystem's resolution limit (lens), R2 the second subsystem's (sensor). Then for the resulting system resolution Rtotal, the following equation holds:

1/Rtotal  =  1/R1 + 1/R2

As you can easily see, the system resolution will increase when increasing either subsystem's resolution—even when increasing the one that was higher before. And the system resolution will drop when decreasing either subsystem. It's not the weaker subsystem that's defining the limit for the whole system. Instead, it's both ... or all then there are more than two subsystems. In that case, the equation above gets extended like this:

1/Rtotal  =  1/R1 + 1/R2 ... + 1/Rn

Please derive your own conclusions from this with regard the the interaction of pixels and Airy disks. Real life is more complex than you think. And we're still far from the very bottom of all this ...
Title: Re: A 34 MP Fx Sensor and Diffraction Limit
Post by: 01af on October 30, 2010, 01:39:55 pm
MTF is maximal when the diffraction spot is approximately the size of the pixel.

Actually, the MTF is maximal where the gain in lens performance through reduced lens aberrations gets outweighted by the loss through diffraction. This happens near f/4 for the image center and around f/5.6 at the edges. That's typical values for a top-class 35-mm-format lens. On another camera with a lower or a higher pixel pitch, the maximum for this lens will appear at the very same f-numbers (albeit with different absolute MTF50 numbers).
Title: Re: A 34 MP Fx Sensor and Diffraction Limit
Post by: bjanes on October 30, 2010, 03:54:32 pm

Be R1 the first subsystem's resolution limit (lens), R2 the second subsystem's (sensor). Then for the resulting system resolution Rtotal, the following equation holds:

1/Rtotal  =  1/R1 + 1/R2

As you can easily see, the system resolution will increase when increasing either subsystem's resolution—even when increasing the one that was higher before. And the system resolution will drop when decreasing either subsystem. It's not the weaker subsystem that's defining the limit for the whole system. Instead, it's both ... or all then there are more than two subsystems. In that case, the equation above gets extended like this:

1/Rtotal  =  1/R1 + 1/R2 ... + 1/Rn

Please derive your own conclusions from this with regard the the interaction of pixels and Airy disks. Real life is more complex than you think. And we're still far from the very bottom of all this ...

Your formula for system MTF is outdated and only applies to MTFs around 10%, which are too low to be of much use in terrestrial photography. Norman Koren (http://www.normankoren.com/Tutorials/MTF.html) briefly discusses a more general approach which can be used with more useful MTFs. One must use a Fourier transform to convert from the spatial to the frequency domain and then multiply the frequency components and then perform an inverse transform back to the spacial domain using a convolution. I have never done this myself, but Bart could likely explain the process in more detail.

A bit of advice: be careful in your criticism of Bart, who is one of the most knowledgeable contributors to this forum. He is usually correct, but I don't think he needs to prove himself to you.

Regards,

Bill
Title: Re: A 34 MP Fx Sensor and Diffraction Limit
Post by: bjanes on October 30, 2010, 04:01:19 pm
Actually, the MTF is maximal where the gain in lens performance through reduced lens aberrations gets outweighted by the loss through diffraction. This happens near f/4 for the image center and around f/5.6 at the edges. That's typical values for a top-class 35-mm-format lens. On another camera with a lower or a higher pixel pitch, the maximum for this lens will appear at the very same f-numbers (albeit with different absolute MTF50 numbers).

You seem to forget about the resolution of the sensor. Diffraction takes place independently of the sensor, but resolution by the lens beyond what can be resolved by the sensor is of little use.

Regards,

Bill
Title: Re: A 34 MP Fx Sensor and Diffraction Limit
Post by: Bart_van_der_Wolf on October 30, 2010, 04:04:48 pm
The question is not, can the sensor resolve the diffraction pattern? The question is, can the diffraction pattern reduce sharpness? And the answer is, yes it can, even when one single Airy disk is smaller than one single pixel.

In theory, sure. You probably/hopefully are aware that there are limits as to what difference can be observed by a human, and of the limits of image reproduction? How about in practice, as in helpful to the OP? Any example(s) where the diffraction pattern diameter was significantly smaller than the sensel pitch that you wish to share?

Quote
Before making snide remarks about the defying of physics, it would be useful to understand the physics in the first place, wouldn't it?

Snide remarks, or misplaced condenscending remarks? You seem to prefer the latter.

Quote
You seem to believe in a system with two resolution-limited subsystems where the output from the first is the input to the second, the resulting system's resolution was equal to the smaller of the two. Not so.

You are mistaken in what I believe. The MTFs of the optical chain components multiply (it's the convolution of the Point Spread functions and the original signal that defines the MTF), which also has an impact on the limiting resolution, that's all very well understood. FYI, I've been using the slanted edge method of MTF determination, amongst others, even before it was a formal ISO standard procedure. This is not new territory. For those who are new to Digital Signal Processing, I can recommend the free The Scientist and Engineer's Guide to Digital Signal Processing, By Steven W. Smith, Ph.D. (http://www.dspguide.com/), it's relatively easy to read (student level, relatively low on math content).

However, the sampling density sets a hard upper limit (Nyquist frequency) for spatial resolution (in the context of this thead, we're not talking about supersampling/drizzling techniques), yet you find it is humorous to consider any sensel pitch. How much difference then would you say a bit of diffraction has on resolution when the area sensors cannot resolve the diffraction pattern and other small detail in the first place, with or without OLPF? Or do you view aliasing as detail?

Quote
Please derive your own conclusions from this with regard the the interaction of pixels and Airy disks. Real life is more complex than you think. And we're still far from the very bottom of all this ...

The suspense is killing ...

Cheers,
Bart
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: 01af on October 30, 2010, 05:54:52 pm
Sigh.

It's so simple.

Consider a lens. A real-world lens made for the purpose of photography. It has a maximum and a minimum aperture. It has an optimal aperture that is somewhere between the minimum and the maximum. The so-called optimal aperture is where the lens' resolution is at its optimum, and that is where decreasing lens aberrations and increasing diffraction losses balance each other out.

Use this lens on a camera. Different cameras have different sensors, or will be loaded with high-speed or low-speed films. Hence, they have different resolution limits. Still, the lens' optimal aperture will always be the same. The absolute resolution of the final image depends on both the resolution of the lens and the resolution of the image-recording medium (sensor or film). Now for the crucial point: No matter what the image-recording medium's resolution limit may be—for any given recording medium, the optimum will be just where the lens' optimum is. As simple as that.
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: Policar on October 30, 2010, 06:25:59 pm
Sigh.

It's so simple.

Consider a lens. A real-world lens made for the purpose of photography. It has a maximum and a minimum aperture. It has an optimal aperture that is somewhere between the minimum and the maximum. The so-called optimal aperture is where the lens' resolution is at its optimum, and that is where decreasing lens aberrations and increasing diffraction losses balance each other out.

Use this lens on a camera. Different cameras have different sensors, or will be loaded with high-speed or low-speed films. Hence, they have different resolution limits. Still, the lens' optimal aperture will always be the same. The absolute resolution of the final image depends on both the resolution of the lens and the resolution of the image-recording medium (sensor or film). Now for the crucial point: No matter what the image-recording medium's resolution limit may be—for any given recording medium, the optimum will be just where the lens' optimum is. As simple as that.

Except with film, where dispersion causes a decrease in resolution with wider apertures.

With a 34MP FX sensor, digital will in theory equal large format.  If f4 is the diffraction-limited aperture, as it appears to be according to the calculations earlier in this thread, that's equivalent to around f16 on large format, field of view/depth of field-wise.  It's also the widest "normal" operating aperture for large focus work.  Past this point and with the best film, large format is mostly diffraction-limited; now it will be diffraction-limited on FF digital, too.

Velvia, the sharpest color film in common use, also drops past 100% mtf at 20lp/mm.  Digital equals or exceeds 100% mtf to about 70% of its claimed resolution.  34 megapixels on 36mmx24mm equates to 200 pixels/mm=100 pixel pairs/mm=70lp/mm (really).  36mm*70lp/mm=2520 line pairs on a 34MP FX bayer sensor; 127mm*20lp/mm=2540 line pairs on 4x5 velvia.  Yes, film will have some barely perceptible detail past this point (whereas digital won't) but most of that will be decimated by diffraction the majority of the time, anyway.

34MP FX=4x5 velvia, both formats diffraction-limited at the same depth of field--but four stops faster on the digital camera even at the same ISO (f4-->f16).  Bye bye, large format!
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: Bart_van_der_Wolf on October 30, 2010, 07:13:46 pm
The absolute resolution of the final image depends on both the resolution of the lens and the resolution of the image-recording medium (sensor or film). Now for the crucial point: No matter what the image-recording medium's resolution limit may be—for any given recording medium, the optimum will be just where the lens' optimum is. As simple as that.

Thanks for clarifying. However, you now (in the first sentence quoted above) bring the sensor resolution (sensel pitch or sampling density in this thread's context) into the equation for "absolute resolution". It seems we can, finally, agree on that.

When we disregard the sensor, like in your second sentence quoted above, residual lens aberrations which reduce with narrower apertures, and diffraction increasing with narrower apertures, tends to find an optimum in MTF response somewhere between the extreme aperture settings. There was never a disagreement there.

The combination of both sensor and lens however, more analytically the multiplication of their MTFs in linear gamma space, will have its own optimum (when we only look at the limiting resolution), and it is even spatially variant (corners are usually worse than the optical centre). It's hard to speak of a global or even absolute optimum, because different MTF shapes will benefit different spatial frequencies, hence the simplification to limiting resolution for a specific position (centre) in the image plane.

Denser sampling (smaller sensel pitch, over-sampling) tends to bring the maximum system resolution closer towards the optical optimum (although with increasing dynamic range limitations), and coarser sampling density brings it closer towards the limiting Nyquist frequency. It is therefore important to also consider the role of the sensel pitch in the equation for total system resolution.

Cheers,
Bart
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: 01af on October 31, 2010, 07:11:13 am
However, you now [...] bring the sensor resolution [...] into the equation for "absolute resolution". It seems we can, finally, agree on that.

"However"? "Now"? "Finally"? Huh? I never said otherwise, and we never disagreed on that.


[...] residual lens aberrations which reduce with narrower apertures, and diffraction increasing with narrower apertures, tends to find an optimum in MTF response somewhere between the extreme aperture settings. There was never a disagreement there.

Right.


The combination of both sensor and lens however, more analytically the multiplication of their MTFs in linear gamma space, will have its own optimum [...].

Denser sampling [...] tends to bring the maximum system resolution closer towards the optical optimum [...], and coarser sampling density brings it closer towards the limiting Nyquist frequency. It is therefore important to also consider the role of the sensel pitch in the equation for total system resolution.

No, it's not. No matter what the sampling density is—for any reasonable given sampling density, the optimum is always where the lens' optimum is.

I think your misconception comes from the non-linearity of the relationship between the subsystems' individual resolution limits and the whole system's resulting resolution liimit. When stopping down beyond the lens' optimum then the system's resolution will drop—but in a non-linear way. The loss of resolution will be small as long as the Airy disks are smaller than the pixels, and it will take a significant drop when the Airy disks outgrow the pixels. So for practical intents and purposes, the pixel pitch does have some significance. Still the optimum is where the lens' optimum is.

See the attached image below. It assumes an f/2 lens with its optimum at f/4 (blue curve). It's used on two sensors; Sensor A with a pixel pitch of approx. 7.5 µm (yellowish green) and Sensor B with a pixel pitch of approx. 15 µm (blueish green). The green curves are supposed to show the resulting system resolution when the given lens is used on the respective sensor. The lens' diminishing performance hits the resulting resolution severely when the Airy disks outgrow the pixel size (see arrows "significant drop-off"). The curves are pretty flat from f/2 to the drop-off points, and even flatter for the lower-resolution sensor. But they're not perfectly flat, that's my point! There still is an optimum, and that's exactly where the lens' optimum is.

The relative flatness of the curves before the drop-off point makes it hard to locate the optimum in real-world images, while the drop-off point is fairly obvious ... at least for pixel peepers. That's the source of the misconception that the optimal f-stop depends on the pixel pitch (among other things). But it doesn't.
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: bjanes on October 31, 2010, 10:02:02 am

See the attached image below. It assumes an f/2 lens with its optimum at f/4 (blue curve). It's used on two sensors; Sensor A with a pixel pitch of approx. 7.5 µm (yellowish green) and Sensor B with a pixel pitch of approx. 15 µm (blueish green). The green curves are supposed to show the resulting system resolution when the given lens is used on the respective sensor. The lens' diminishing performance hits the resulting resolution severely when the Airy disks outgrow the pixel size (see arrows "significant drop-off"). The curves are pretty flat from f/2 to the drop-off points, and even flatter for the lower-resolution sensor. But they're not perfectly flat, that's my point! There still is an optimum, and that's exactly where the lens' optimum is

You raise an interesting point, but how did you obtain the values for your plot? MTFs for lenses are usually plotted at two frequencies, perhaps 10 lp/mm and 30 or 40 lp/mm with the lens at maximal aperture and stopped down to f/8 or so. One can obtain MTF at multiple frequencies and apertures with Imatest, but the results are system MTF. MTFs for sensors are difficult to obtain.

And then did you calculate system MTF with your inappropriate equation or did you perform a Fourier analysis and deconvolution as discussed above. It would be interesting to see your data and calculations.

Regards,

Bill
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: hjulenissen on November 01, 2010, 03:32:30 am
Seems to me you are discussing (?) what will be the total response of two lowpass filters in series, each having a cutoff frequency of fc1, fc2.

A general answer cannot be found, I think, without having more detailed information about the actual response (besides the -3dB point or whatever).

If both filters can be assumed to belong to a generic class of lowpass filters that can be fully described by its cutoff frequency, then the solution is possible. But it seems that optics cannot be simplified in that manner?

Optics, OLPF, micro lenses and the spatial integration carried out by pixel sites can probably be described by a linear space-variant filter/PSF reference system. The actual pixel sampling grid cannot, and seems to make the problem harder to describe in a simple manner.

-h
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: Daniel Browning on November 01, 2010, 11:44:43 am
Whatever happened to the guys who said 6 megapixels are enough, haven't heard from them in a while.

Maybe they got new accounts and they are the ones now saying 12 MP is enough for anyone. ;)

You can go back as far as 2003 (http://forums.dpreview.com/forums/read.asp?forum=1021&message=6013529) and find the more brilliant folks, like Brian J. Caldwell (highly talented lens designer) have been saying that it's possible to get meaningful information from 24 MP in DX-sized sensors at f/8 or even f/11.
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: Bart_van_der_Wolf on November 01, 2010, 03:59:56 pm
Optics, OLPF, micro lenses and the spatial integration carried out by pixel sites can probably be described by a linear space-variant filter/PSF reference system. The actual pixel sampling grid cannot, and seems to make the problem harder to describe in a simple manner.

Indeed, it is not easy to model the system MTF with several poorly characterized components. However, one can approximate the effect on overall performance when one varies a single variable, e.g. the sensel pitch.

I assume most professional photographers will only invest in higher MP sensor arrays when they feel the need to produce larger output. Afterall, there is not much use for huge MP (and associated storage) solutions for web-publishing. Because most camera platforms pose physical limitations on the dimensions of the sensor array, the common approach is to increase sampling density, i.e. using a smaller sensel pitch, for a sensor array of a given size.

I've made a simulation of the sensel pitch effect on the MTF curve of a system with an imaginary perfect lens (no residual aberrations), with a fixed (perfectly circular) aperture of f/8 which causes diffraction , and a (square, 100% fill factor, sensel grid) sensor array without OLPF. I've varied the sensel pitch between 1 micron and 9 micron, which will have an effect on dynamic range, but I've only focused on the sensel pitch effect (due to diffraction) on resolution.

Without diffraction, the square exposure aperture of the sensel basically performs like a box filter with the size of a sensel and that produces a predictable MTF roll-off, and that shape does not change with sampling density (because each sensel is filtered the same). However, the diffraction pattern diameter for a given wavelength and aperture value has a given dimension and spans a variable number of sensels, depending on the sensel pitch.

In the attached file, I've shown the same f/8 diffraction pattern for 555 nm wavelength, but overlaid with grids with a different pitch. The 9 micron pitch grid shows that a single sensel position is almost the same size as diffraction pattern, but at a 1 micron pitch the same diffraction pattern is subsampled much more. Again, the diffraction patterns are the same, it's the sampling pitch that's different. This represents the effect of viewing each pixel at the same size (100% zoom on screen, or the same PPI in output). The denser sampling will produce more output pixels for the same image detail, so larger output at a given PPI but with lower per pixel micro-contrast.

I've used a simulated crop from a 24x36mm sensor array, and convolved the various sensel pitch versions with the f/8 diffraction pattern of 555 nm light. The results were evaluated with Imatest, and I'll attach several graphical outputs of some relevant MTF results in followup posts (due to the file number/size limitations). First I'll present a summary of various key numbers from the Imatest output in the second attachment. For an explanation of their meaning you can read about it on the Imatest website (http://www.imatest.com/docs/sharpness.html#optimum_aper).

Cheers,
Bart
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: Bart_van_der_Wolf on November 01, 2010, 04:21:15 pm
Here are some Imatest results in graphical form:
First attachment is for a 100% fill factor (FF=100) 1 micron sensel pitch (SP=1) sensor array with a lens at aperture number f/8 (F=8) and 555 nm light (555nm). The spatial frequencies are expressed in Cycles/pixel, where 0.5 Cy/Px equals the Nyquist frequency (beyond which no detail can be reliably resolved).

The following 3 attachments are for 2, 3, and 4 micron sensel pitches.

Cheers,
Bart
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: Bart_van_der_Wolf on November 01, 2010, 04:31:45 pm
And continued by the 5, 6, 7, and 8 micron sensel pitch versions.

Cheers,
Bart
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: Bart_van_der_Wolf on November 01, 2010, 04:39:53 pm
And the last one for a 9 micron sensel pitch. This already comes close to the shape of the MTF when no diffraction is present, but that's only possible in theory.

IMHO this underscores the earlier conclusion that denser sampling, i.e. smaller sensel pitch, will allow to get more absolute resolution from a sensor, even with diffraction, due to oversampling, but it will at best only approach the diffraction limited resolution. At the same time, the per pixel micro-contrast is reduced by diffraction, especially for smaller sensel pitches, so the per pixel resolution (needed for large format output) is somewhat compromised (but with good restoration capability). Larger sensel pitches quickly lose absolute resolution when the detail has higher spatial frequency, but with good per pixel microcontrast because they are less affected by diffraction. Sensel pitch has an impact on image quality, also when diffraction is a significant limiting factor.

Cheers,
Bart
Title: Re: A 34MP Fx Sensor and Diffration Limit
Post by: 01af on November 03, 2010, 04:05:32 pm
Sensel pitch has an impact on image quality, also when diffraction is a significant limiting factor.
Sure it has. That's what I keep saying. And that's just why the optimal aperture does not depend on the pixel pitch. QED.