Search

Entries in Image Quality (7)

Thursday
Jan242013

Being Diffraction Limited

Luckily this subject makes no dramatic screen play even though some writings about it in the internet make it seem so.

First of all: what is diffraction? Wikipedia explains it quite thoroughly. Please read there and look at animated examples. To explain how light works, light must be partly explained as waves and partly as tiny particles, photons. Light is counted as photons in camera´s image sensor. Light behaves like waves when it interacts with the diaphragm inside lens. Common sense would say that tiny particles would either go straight through the slit or hit it and bounce off. Common sense is wrong, diaphragm is a slit which makes light waves bend and causes diffraction. Actually the whole lens and/or every single lens element of the lenses causes diffraction but the smallest opening is the most important. The smaller the opening the more we have diffraction. This makes the diaphragm the major culprit in most cases. 

Wikipedia shows how diffraction (see Airy disk) is directly dependent on the wavelength of light and the f-number used. The bigger the f-number the smaller the aperture and the more diffraction. The longer the wavelength (ie redder light) the more diffraction. In spectrum the opposite short wavelength end is blue and causes least diffraction. In the middle we have yellow-green.

Wikipedia shows lots of equations but in practical photography you need only remember those two: aperture and color of light. Red spreads more than blue. And the fact that diffraction is a property of every lens.

Diffraction limited bodies?

In the internet there are furious debates on camera bodies being diffraction dependent or diffraction limited. How come when diffraction is property of the lens? This an issue which has risen when megapixel counts get bigger. The more megapixels in a sensor the smaller the sensor elements are. Well actually it is the opposite: we get more megapixels with smaller sensor elements, sensels or pixels, if you want. We have long ago passed the point when Airy disk can cover several sensels. Lets say we have two very small light sources side by side. They can´t be seen as two on sensor if those Airy patterns overlap enough. Two becomes first a rod with two blobs at the ends and then with even smaller apertures those blobs grow together. No resolution left, more pixels inside that blob does not help.

The theory of diffraction alarmists is that more megapixels is bad because diffraction is seen at ever larger apertures and this will make such cameras useless for most of photography. It was long ago when I mentioned to bosses at Canon that sensors are coming eventually diffraction limited. My point was that in commercial photography, like in table tops or product shoots, we need to use small apertures to get enough depth of field. They must make sure that the gain in sensor resolution and increasing bit depth does not cause problems here. The answer was that there is no such thing as a sensor being diffraction limited, never heard of. Oh well...

An example of diffraction

There are hundreds of blogs and thousands of discussions on Nikon D800 and how it is diffraction limited. "You should not use smaller aperture than..." Yes, Nikon D800 is a good example to bring something tangible into this discussion, which now becomes one of those hundreds and thousands. Actually I wanted to test Nikon D800E and its 36 MP sensor just to see how good it really is. It was sort of reality test to see where things are going. As a sidekick we can check these Nikon D800E test images as an example on how diffraction works:

f/1.4

f/2.0

f/2.8

f/4.0

f/5.6

f/8.0

f/11

f/16

Looking at the series above you can see how they get sharper up to f/4.0 and then start to get softer after f/5.6. I really can´t pick the better one from f/4.0 and f/5.6. Now, diffraction is there all the time, but it is not the only working parameter in optics. Other gains make the image better when diaphragm closes down untill diffraction becomes too strong. I have prepared these examples so that lightest areas are the same in all images. By doing so diffraction eats from dark areas and you can see how black lines get weaker. I could correct a lot of it in postprocessing but I wanted to show how diffraction works. These crops are 100% and from the center of image. The lens here is the relatively new Nikon 35mm f/1.4 G AF-S. The pattern seen in people silhouettes is moiré. Nikon D800E is the second camera I have tested which is able to show it. The first was my PhaseOne P45+ digital back with the better Mamiya 645 lenses. This combination is so good that you can see this moiré pattern even wide open. Why am I speaking about moiré as a good sign? It is because those areas are printed with a very tight raster. Only the sharpest lenses and sensors can see that there is a pattern. D800E can´t resolve the pattern itself yet, no one-shot consumer camera can from my shooting distance. By f/16 the lens can not convey even a hint of this pattern to sensor because Airy patterns overlap so strongly.

Being Diffraction Limited

To get a better idea how deeply (or not) D800 is diffraction limited is to compare it to D700, which has 12 megapixels. They both have a full 35mm size sensor, which means that D700 has bigger sensor elements and it should not be as much diffraction limited as D800. Right?

This comparison image shows D800E above and D700 below. Aperture is at f/5.6 to be on the safe side for D700. Again D800E is at native 100% and I have enlarged D700 image to same size by using Photoshop Bicubic Smoother interpolation. This is pretty much what happens if you want to print a D700 image as large as a D800E image. Well, this tells us only that D800E has more pixels and this lens can show it. How ever, the difference is not coming from megapixels alone as D700 has in front of sensor a low pass filter which softens images while D800E doesn´t. (Actually also D800E has a certain layer structure because of which this could be argued, but it really is of no concern here.)

Same situation, but now my aperture was at f/16. To give D700 a slight advantage I have corrected its contrast, but even then there´s no question which camera shows more detail. It is easy to see that D700 has not suffered as much from diffraction, it is not as much diffraction limited. But this is only because D700 is more limited to start with. Diffraction is a relative thing, it is a gradual thing. There is no Diffraction Limit™ which hits your images and makes them suddenly unusable. But there also is no superhero called Diffraction Buster. You have learn to live with diffraction, and preferably, learn to correct what it smudges in post process when you need to close down because of need for DOF.

Rules of thumb

When you think about image quality you should always think about the combination of lens and body. As a simplification (image quality) = (lens quality) * (body quality). Body quality meaning sensor plus conversion to final image. Here the lens quality must drop dramatically before the difference between these bodies becomes obscured. As a rule of thumb we could say that diffraction starts to show in images when you have closed aperture down a full stop from the size (number) of pixel pitch. Nikon D800 sensor´s pixel pitch is 4.88 µm. This tells us that we can go beyond f/5.6 to almost f/8, just like is seen above. And then again we must remember that diffraction is caused by the lens. With slower lenses, like a zoom having f/5.6 as largest aperture, image quality usually gets only better when stopped down by one stop. But there are also lenses, especially with P&S cameras, which should always be used wide open, if you think only about image quality as seen here. Know your equipment!

I will come back to D800E and discuss OM-D with it in a later blog.     

-p- 

Thursday
Mar012012

E-M5 vs. E-P3: JPEG Image Quality

Below I have combined test charts shot with E-M5 and E-P3 at various ISO settings. Settings while shooting:

  • Lens Zuiko D. 50mm f/2 Macro @ F4
  • JPG Large Fine (I saved also RAW files to be compared later) (note: there is no visual difference between files saved at Large Fine or Large Super Fine jpeg compressions at 100%, unless you start to do heavy post processing)
  • Picture Mode: 4 Muted @ Contrast -2, Saturation -2, Sharpness -2, Gradation Normal (note: normal means Olympus standard jpeg gamma curve)
  • Noise reduction & noise filter: OFF
  • Equal aperture and shutter speed settings in both bodies at corresponding ISOs

JPG files were opened in Photoshop, normalized and cropped equally. E-M5 crops are 100%. E-P3 crops were enlarged to same size through Bicubic Smoother interpolation. All images are slightly sharpened. No noise reduction applied. (All test shots have gone through automatic normalization which sets certain amount of lowest values of lowest channel to zero. In E-P3 shots you can see more black outline between white and black than in E-M5 shots. Anything stronger than what I did would lead into losing detail in shadows. I left corrections as they are, and that´s why some E-P3 scales look lighter than the same ones with E-M5. You can copy test charts and tweak them if you want to have another "look".)

I chose to enlarge E-P3 files because I am interested in seeing quality in same size prints. This is closest to that situation on screen. Just remember: To see any real difference in sharpness at ISO 200 to 400 you need to print larger than A3. 

E-M5 is markedly better in every regard: sharpness, signal to noise ratio, dynamic range... . At higher ISOs E-M5 gains about two stop improvement. This result comes from new sensor with more resolution and better pixel per pixel quality, thinner low pass filter and impoved JPG processing.

I will post later more images and compare RAW files.

-p- 


Image below E-M5, M.Zuiko 12mm f/2 

  • ISO 200, @F6.3
  • JPG Large Fine
  • Picture Mode: 4 Muted @ Contrast -2, Saturation -2, Sharpness -2, Gradation Normal
  • Noise reduction & noise filter: OFF
  • Crops 100% from brightest and darkest area without any modifications

Image below E-M5, M.Zuiko 45mm f/1.8

  • ISO 1600, @F2.5
  • JPG Large Fine
  • Picture Mode: 4 Muted @ Contrast -2, Saturation -2, Sharpness -2, Gradation Normal
  • Noise reduction & noise filter: OFF
  • Normalization and slight sharpening in Lightroom 3
  • Crop 100%, no noise reduction applied

Sunday
Feb262012

Olympus E-M5: Dynamic Range

I shot a test series with E-M5 and E-P3 to determine their relative dynamic or tonal ranges at various ISOs. Table below shows my findings.

These values are calculated from images opened in Olympus Viewer 2. This software opens RAW images but it actually emulates in-camera JPEG process. I used here lowest contrast and normal curve.

Dynamic range is not defined unambiguously. Here I used certain contrast edges to decide where detail ends and noise starts. E-P3 curve shows two anomalies: at ISO 800 and ISO 12800, they come from the fact that I shot at 1/3 EV intervals and at those points shadow and highlight exposures happened to have more distance. DxO Mark gives a dynamic range of 10.1 EV for E-P3. It is measured directly from sensor. Here we have more variables and maybe we should use rather the term tonal range. These EV values should not be taken too seriously as absolute ones, they are simply a result of certain process.

The important result is: E-M5 has markedly better dynamic range, in image files it is around 2 EVs. I´m having a bit difficult time looking at this graph, but this is what I see in highlights and shadows. So much wider range of details can be found in E-M5 files in Viewer 2 software. ISO values in table are nominal. E-P3 ISO values are actually lower than nominal, E-M5 sensitivities are closer to nominal values.

Addendum: Conclusion

After a well slept night I thought that I need to write a few more lines because the above result is, well, remarkable. I have seen news about an interview where Olympus spokesman said that there is a 30% improvement in DR. What does 30% mean? Is it 30% of doubling DR which is 0.3 EV? Is it 30% more above 10 EV, which is 3 EV? Anyway: If you shoot JPGs or use Olympus Viewer 2, my test tells that you get a lot more. You can get more details to work with for some 0.3 steps in highights and 1.7 steps in shadows when compared to similar settings and exposure and in E-P3. This result may or may not be true with third party RAW processors. I will come back to it later.

-p-

Friday
Dec302011

Olympus M.Zuiko 12-50mm f/3.5-6.3 in comparison

During this time of year we have not much light even during daytime and the weather in Southern Finland has been quite cloudy and rainy. Because of that I decided to do a traditional test target shoot to compare the new zoom with some of my other lenses. 

Above is my test setup. I used two targets, one in the center and the other in the right upper corner. I shot the same "subject" (marked here as grey area) with different focal lengths. Of course distance varied accordingly to keep (subject) area the same. I used studio flashes and used their power settings to keep exposure on sensor constant in every picture. Accuracy was 1/10 stop. This way the differencies in lens diaphragm did not affect the results. I also focused center and corner targets separately to compensate for possible curvatures in lenses´focal planes. All test pictures were shot at ISO 200. Camera was Olympus E-P3. RAW images were opened in Lightroom 3.6 and I did a basic normalization of tones, correction of chromatic aberration and added sharpening. Those are the same basic tweaks I would do to real pictures. Possible distortions were not corrected as can be seen in corner shots.

 

Focal Length 12mm

The first comparison shows the center of 12-50mm zoom at full aperture F3.5 and closed at F5.6. Focal length is widest, 12mm. These are 100% crops, like all other target images here. The image quality gets better with smaller aperture as would be expected here.

 

Olympus´4/3 series zoom lens Zuiko D. 12-60mm f/2.8-4.0 is the perfect comparison lens for any lens having the same focal length range. Here we can see center targets. This result is in line with Olympus´MTF curves below: 12-60mm zoom is a great lens, and especially its resolution (orange curves) is higher than with the new zoom. You can find more of these MTF curves at Olympus web sites. They are good tools when comparing lenses.

 

 

In upper line of this picture we have the corners of 12-50mm zoom at apertures F3.5 and F5.6. Contrast and resolution gets better with smaller aperture, but radial (sagittal) and tangential (meridional) lines have a very different resolution. It can be also seen in MTF curves, where continuous line is sagittal and dashed line is meridional transfer function. For comparison we have corner shots with 12-60mm zoom at F3.5 and and M.Zuiko 12mm f/2 prime at F4.0. 12mm lens is not too good in corners, but it has this reasonable level all ready from F2.


Focal Length 14mm

 

As a further comparison lens we have M.Zuiko 14-42mm f/3.5-5.6 II kit zoom. Above its results at 14mm focal lenght and apertures F3.5 and F5.6. Left side images are from center and right side images are from corner. Now 12mm and 14mm focal lengths are so different that they should not be compared directly. That´s why I have below a common focal length of about 19mm.

 

Focal Length about 19mm

 

Here I set the shooting distance with Lumix G 20mm f/1.7 prime. After shooting with it, I shot with those three zooms from the same spot while setting zoom or focal length so that the cropping was always equal. Zoom rings did not show 20mm because Lumix actually has not a 20mm focal length. It is maybe close to 18,5mm. These crops are from center. Lumix 20mm and Olympus 12-60mm zoom show almost identical performance. Wide open 12-50mm zoom has a good resolution but its contrast is not up to 14-42mm zoom.

 

Looking at corners, 12-50mm zoom has again nice resolution but contrast performance is very modest. Thus it is practically a draw with kit zoom. Maybe it comes as a surprise for some people but Lumix 20mm is not much better in the corners. Number one from these lenses is quite obvious.

Closing down to F5.6 makes Lumix 20mm markedly better in the corners than these zooms.

 

Focal Length 42mm

 

This comparison has on the left centers at full aperture and on the right corners, again at full aperture. 12-50mm zoom gets better all the time as focal length grows. 14-42mm zoom on the other hand sees especially contrast dropping at its longest focal length.

 

Focal Length 50mm

 

Uppermost, on the left, we have 12-50mm zoom´s center at full aperture. All the other crops are from the corner. 12-50mm zoom shows just slightly better contrast in corners when closed to F8. Still contrast performance is lower than resolution. As new lenses I included M.Zuiko 45mm f/1.8 at the same aperture F4 as earlier were Lumix 20mm and M.Zuiko 12mm. 50mm is 4/3 series Zuiko D. 50mm f/2 Macro. 

 

Macro setting

 

As close up test I did a watch image. At macro setting 12-50mm has a 43mm focal length. It can not be changed as zoom ring does not move when macro setting is engaged. Largest aperture is F6.0. Here we have the closest focusing distance of 200mm.

I tried apertures F8 and F11. The smaller aperture shows already effects of diffractions but on he other hand the better depth of field can be a bigger benefit. How ever, the 12-50mm lens is capable of very nice images with close up subjects. This is a 100% crop.

For comparison once more on the left the new 12-50mm zoom and on the right Zuiko D. 50mm f/2 Macro. Aperture is F8. Focusing differs between these images, please look for the sharpest details in both images. 

 

Conclusion

Zuiko D. 12-60mm f/2.8-4 is one heck of a lens. I guess that´s old news. The images should tell quite clearly the differencies. However, we must remember that this kind of very precisely made test target comparison is a lot harsher than any normal shooting. The differencies in normal shooting would not be in the same league, there are too many disturbing factors. Even slight differencies in exposure, focus or camera shake could obscure a lot. But, yes this is what you get when everything is optimized.

M. Zuiko 12-50mm f/3.5-6.3 is a very reasonable lens for photography with its longer focal length and especially for close up shooting. Otherwise it fits better for video because of its silent and fast focusing and silent power-zoom. For video it has plenty of quality. You can check this by scaling test shots into 50%. Then they correspond to Full HD quality. 

-p-

Tuesday
Jul192011

Olympus E-P3 RAW Image Quality

 

 

 I shoot almost only RAW-files. As a converter I use mainly Lightroom 3. It can´t yet open E-P3 RAW-files. Olympus gave me the new version of their Viewer 2 software so that I can try how E-P3´s RAW files look like.  

 

Above there are three comparison images. They all are shot as RAW files at ISO 1600. The first image from up is shot with E-P3. It was converted into a TIF file in Olympus Viewer 2 software (new version updated for E-P3). Settings: Noise reduction off, sharpening -2, others default. The second (middle) image is shot with E-P2. Same exposure and same conversion in Olympus Viewer 2. Both images have the same sharpening and slight noise reduction to compensate in Lightroom 3.

My conclusions (from these and other images): Images from these cameras are close to each other with E-P3 having better resolution and sharpness. Noise is equal or slightly lower in E-P3. E-P3 images show better surface texture in objects. That would suggest that filters in front of sensor are of a better quality in E-P3. (Note: a really high quality low pass filter can be alone more expensive than E-P3). It looks like the basic sensor in E-P3 might similar to the one in E-P2 but all ”optical” parts and electronics in sensor unit are new.

In casual everyday shooting of RAW images, which are converted in Viewer 2 as above, you might not notice difference between images from these two cameras. There are too many variables. In a comparison the difference is there and the look of E-P3 images is sharper when you use high quality lenses. In my previous post I noticed that E-P3 can be a noticeably better camera for in camera processed and sharpened JPG´s, although E-P3´s JPG look doesn´t feel always right for me, who prefers graininess for too much smoothness.

The last image is the same E-P2 RAW file converted in Lightroom 3 to the same visual sharpness. As you can see converters are not equal even when striving equality, even without colors and large object dynamic range. Lightroom is both better and worse than Viewer 2. But as said there is a need for sharpening and slight nose reduction to compensate after Viewer 2 to get images that I like. Also colors depend totally of konverter settings. In RAW-shooting exposure of file, choice and use of converter and user himself is always the biggest factor. 

-p-

E-P3 RAW, ISO 200. RAW conversion in Viewer 2. No problem with dynamic range in backlight. Nice detail from highlights to shadows. Good color.