Posted on Leave a comment

dark_lord’s latest blog : diffraction ? the enemy of sharpness

18034_1633984326.jpg

Diffraction – the Enemy of Sharpness

11 Oct 2021 9:41PM  
Views : 83
Unique : 74

Using small apertures is good for obtaining large depth of field, but go too small and image quality worsens. How bad is the effect and is it worth being concerned about?

Let’s take a look at what diffraction is. I recall physics experiments at school creating waves in a water tank passing through various sized slits in a metal barrier and observing the patterns produced. The waves spread out from the slit, more so the smaller the slit. The observation applies to water waves, sound waves and electromagnetic radiation. It’s this spreading that causes the softening in an image.

During my experiments with depth of field, looking closely, that is at 100% on screen, there is a noticeable softness at smaller apertures. It’s not a lot, and it depends on how large you’re going to print an image and how far away are you going to view it. With higher resolution sensors this softening will be more apparent if you look closely enough. The result may just give the impression that you’ve shot on a lower resolution camera, and for web size images or small prints may well not be a concern for some.

18034_1633984326.jpg

The full image at f/32 as displayed on the web looks fine.

The effect is much more noticeable when I use an extender and extension tube on the macro lens below f/11, but then the lens was never designed for that extreme use. I’ve found apertures down to f/11 are fine, and as depth of field is so minimal at such close quarters I’ll forego that fraction of a millimetre for better overall sharpness.

18034_1633984386.jpg

I used my macro lens for these images which is designed to hold up well at these smaller apertures. I have to say I’ve very rarely gone below f/16 in normal use or noticed anything untoward on earlier lower resolution sensors. That said, all lenses are different so you need to do your own tests. Zooms, particularly at the cheaper end of the market, are much more likely to suffer image quality reduction at the small apertures. I have come across images online that even at that reduced size (from the original capture) do show a marked softness, while at the same time ruling out as far as possible camera rigidity and ISO effects.

18034_1633984441.jpg

Look closely and the detail isn’t as crisp as it is at f/8, but are you going to look this close?

Small apertures and diffraction effects are the reason you won’t find apertures below f/8 on small sensor cameras, and indeed f/8 will, on those cameras, give as much depth of field as you’re likely to need.

Are there good things about diffraction? When you’re down to X-ray wavelengths diffraction patterns are created by the arrangements of atoms which allow molecular structures to be determined. That’s important in areas such as novel drug development. So some diffraction is not all bad.

All text and images © Keith Rowley 2021

Source link

Posted on Leave a comment

A Closer Look at Lens Diffraction

A Closer Look at Lens Diffraction

Every lens has a sweet spot, the aperture where the image sharpness is at its best. If the aperture becomes larger, lens errors will become visible. When the aperture is closed, lens diffraction will become visible. In this article, I am going to take a closer look at lens diffraction.

A small aperture increases the depth of field. It also improves lens performance. The lens will produce more overall sharpness. So, why don’t we use the smallest aperture as a standard? The reason is called diffraction. It is the interference of light waves that occurs when it travels through a small opening. It causes image sharpness degradation.

Light Waves and Small Openings

When light waves hit a barrier that contains an opening, that opening can be considered as a new point of origin. From that point, the waves will disperse.

This can also be seen in the YouTube video I found, showing this effect in waves of water. Light is acting in a similar way.

/p>

But something strange happens. The light waves will show interference. In some places, these waves will be amplified, in other places, extinguished.

The corners of an opening can be considered as its own new point of origin, each producing its own waves. The drawings I made are projections on a flat surface. If you look at it in three dimensions, the light waves will show this interference when it hits the sensor. A point of light will be a spot surrounded by circles that decrease in sharpness and brightness with every next circle. This is called an Airy disk.

Every opening will produce an Airy disk. But these will differ in size depending on the size of the opening. With a small opening, the airy disk will be larger and more pronounced. With a larger opening, the Airy disk is smaller and less pronounced.

The Effect of the Airy Disk on Your Image?

The size of the Airy disk depends on the aperture. A smaller aperture will produce a larger airy disk compared to a larger aperture. If the Airy disk is smaller than a pixel, it won’t be visible. The image will be sharp. When the Airy disk grows in size, it will eventually also cover the adjacent pixels. In that situation, the sharpness is decreased.

When the size of the Airy disk reaches the size of the pixel, the lens opening is considered the sweet spot. If this is an aperture of f/5.6, like in the drawing I made, the lens will produce its optimum sharpness at that aperture. The example image below was shot with a Canon EOS R5 and an RF 50mm f/1.2L lens. It clearly shows how a larger or smaller opening decreases image sharpness. At f/5.6, the optimal sharpness has been reached.

The Effect of Sensor Resolution

Just before the Airy disk size exceeds the pixel size, the lens will perform at its best. In other words, the pixel size determines when diffraction becomes visible. A 50-megapixel sensor will show diffraction much sooner compared to a 25-megapixel sensor. To make it simple, the pixels of a 50-megapixel sensor will be half the size. An airy disk that will fall within the boundaries of the pixels on a 25-megapixel sensor will cover more pixels on the 50-megapixel sensor.

The Effect of Sensor Size

The size of the Airy disk is only determined by the lens opening. The sensor size has no effect on the Airy disk size that belongs to a certain lens opening. If the amount of pixels per square inch is the same between, let’s say a full frame sensor and a 1.6 crop sensor, the diffraction will be exactly the same.

In other words, a 25-megapixel full frame sensor has approximately the same amount of pixels per square inch as a 16-megapixel 1.6x crop sensor because the amount of pixels per square inch is roughly the same. But if the crop sensor also has 25 megapixels, the number of pixels per square inch is increased. In that case, diffraction will be visible much sooner.

The Effect of Focal Length

With focal length, it becomes more complex. For that, we first need to know how the lens opening is affected by the focal length. After all, f/8 on a 50mm lens will be the same as f/8 on a 100mm lens when it comes down to exposure.

In reality, the physical lens opening depends on the focal length. The real lens opening of a 50mm lens and f/8 is 50/8 = 6.25mm. With a 100mm lens, the real lens opening is only 100/8 = 12.5mm. Thus, a lens opening of f/8 will become larger when the focal length increases.

Still, the amount of light that hits the sensor will be the same regardless of the real physical lens opening. This is because of the focal length itself. With 100mm focal length, the light needs to travel twice as far compared to a 50mm focal length. After all, the focal length is longer. Because the distance is twice as long, the amount of light that reaches the sensor is half as much. It’s a bit more complex than this, but you get the point by this simplified example.

Now, we have seen how a larger lens opening will decrease the size of the Airy disk. The larger physical lens opening of f/8 with 100mm is producing a smaller Airy disk compared to a 50mm and f/8. But the Airy disk is the projection of the light on the sensor. With a longer focal length, the light needs to travel twice as long before it reaches the sensor, thus magnifying the Airy disk by a factor of two.

Although the Airy disk with an increased focal length will produce a smaller Airy disk, you need to take the magnification factor of the focal length into account. This will cancel each other out. The result will be approximately the same Airy disk size with a certain aperture, regardless of which focal length you are using.

Image Resolution Determines the Amount of Diffraction

Diffraction is always occurring. But the lens opening or aperture is determining how strong the diffraction will be. When the Airy disk becomes larger than a single pixel, diffraction will become visible.

Although the real physical lens opening with a certain aperture depends on the focal length, the magnification of the lens will counteract the smaller Airy disk. This means focal length will have no visible effect on the amount of diffraction.

The only thing that will have an effect on the amount of visible diffraction is resolution. More pixels will make the Airy disk become visible much sooner.

Source link