Wednesday, May 23, 2012

Ignorance is Bliss

I have just received some concerning news today, it turns out my Canon EOS 7D and I are showing signs of being diffraction limited.  Are you one of the many digital Photographers or Videographers suffering from Diffraction?  The test is easy and can be preformed in the privacy of your own computers so please help stop this growing epidemic and get your images checked today.
Effects of an extremely diffraction limited 12mp image at 1:1 -
The solution to avoid diffraction is to keep your Iris settings wide and use the largest and/or highest resolution sensor you can; but understanding why and what your particular camera's diffraction limit is important to getting the sharpest images possible from your lenses.

Basically Diffraction is the lens not getting enough light to the sensor's individual photodiodes to properly resolve your image.  A high resolution sensor has more physical photodiodes, but they have to squeeze them into the same amount of space so the photodiodes need to be smaller which means they have more trouble saturating and when closing down the aperture reducing the light through the lens.  When a pixels next to each other are made from photodiodes that are under-saturated it translates to lower contrast and creates a softer image. That's the easy explanation anyway.
How light-rays can overlap "pixel wells"
Water diffraction
Technically the lens is an obstacle for light to squeeze through, it forces the light down together and then spreads back out at a weaker intensity.  Think of light-rays like waves of water moving through an obstacle, turning strong agressive waves into a weak gentle ripple.  In a camera the light also needs to squeeze through the aperture and the smaller the aperture the more narrow the flow which cuts down more light-rays that can get through, the light-rays that make it through are then spread back out to cover the sensor area, which results in wider yet weaker light-rays. Modern day 'Bayer Pattern Array' CMOS Sensors are actually a grid of microscopic sensors called photodiodes or 'Pixel Wells'. These 'Pixel Wells' are very small, measured in microns, and each 'Pixel Well' should record a different ray of light than its neighboring 'Pixel Well'; together they are resolving an image down to their microscopic micron's size, which we preserve as fine details, micro contrast or sharpness.  When the individual light-ray are wider than the sensor's microscopic micron sized pixels then each pixel will start to record part of the light-ray of its neighboring pixel, the more they overlap the more similar each pixel is which effectively lowers your pixel count (resolution) and the softer the image appears, a "fully diffracted image" may render 9 individual pixels as 1!  Turning an 18 megapixel image into a 2 megapixel one.  That is called the diffraction effect.

The higher the resolution of a sensor the smaller its 'Pixel Wells' need to be so that they can physically fit on the sensor and the faster they'll reach a diffracted state, called the diffraction limit.  This is why for higher resolutions it is important to use a physically larger sensor; although an argument can be made that higher resolution sensors are still higher resolution when fully diffracted (9 pixels act as 1) than a lower resolution sensor and that is true but only in very extreme cases, for example a fully diffracted 60 megapixel image would be 6.6 megapixels which is still higher resolution than the sensor of my first Canon DSLR, the EOS D60 (6.3 megapixels) which I was still able to make passable 8 x 10 prints with.  Right now we are at about 20 megapixels on most DSLRs and those diffraction limits (that when the diffraction effect starts) are f/11 for Full Frame and f/8 for APS-C; the higher we go the less exposure choices we'll have, one day we might even be diffraction limited at f/2.8... but that's quite a ways off.
Cambridge in Color has a great description of diffraction with very detailed examples and even an interactive 'diffraction calculator', I recommend going back there to carefully read the article and try out their calculators to get a thorough understanding of this effect.
Cambridge in Color's Airy Disk of a single light ray
Cambridge in Color's diagram of light rays diffracting through an aperture. 

"Diffraction is an optical effect which limits the total resolution of your photography — no matter how many megapixels your camera may have. It happens because light begins to disperse or "diffract" when passing through a small opening (such as your camera's aperture). This effect is normally negligible, since smaller apertures often improve sharpness by minimizing lens aberrations" -