Avoid Flat Looking Images

On very bright locations like a sunny beach, you will often see that your camera has a tendency to underexpose your images. Another phenomenon that can occur in these conditions is lens flare. Because lots of light hits the front lens elements, these lens elements will light up a little bit and add an offset to the whole image. Use a lens hood to minimize as much lens flare as possible already when you take the photograph. However, lens flare cannot totally be avoided.
 
• Use the Levels Tool in Capture One to check your images for correct exposure.
 
• If the Histogram doesn’t reach 230-250, it is often a sign of under exposure. Drag the Highlight Slider to the brightest part of the Histogram
 
• If the Histogram doesn’t start at 0, it is often a sure sign of lens flare. Drag the Shadow Slider to the darkest part of the image.
  
Using the Levels Tool

The left image is straight out of the camera and shows both lens flare and some degree of underexposure. The right image is after correction in the Levels Tool.

 

RAW Conversion Explained In-depth

Joe Cornish - Paddy's Hole Teeside

Joe Cornish - Paddy's Hole Teeside

RAW Converters vs. In-camera JPEG Files

Most high-end cameras have the option of saving either JPEG or RAW files. This article will dig into how a JPEG file gets created in a digital camera and how it is limited compared to working with RAW files thus giving you a better background for selecting the right format for you.

A RAW file contains all the information which is measured by an image sensor during the exposure of a picture. Later in the process this will provide total freedom when you want to decide how the scene should be rendered using a RAW converter.  The in-camera JPEG is just one interpretation of the scene. When you set your camera to output JPEG files it actually starts with the same data that is contained in the RAW file and the camera computer acts like a built in RAW Converter. All the processing steps needed for converting the RAW data to a JPEG file will be calculated by predefined settings. Once the shot is converted to the JPEG file it cannot be reprocessed from the original RAW data.  This is the real disadvantage of using the JPEG conversion in the camera.  Naturally, you may tweak the JPEG file in an image-editing program afterwards, but at this point a wide range of decisions have been made on how to process the file. Those decisions cannot be undone without a severe loss of quality.  Working with RAW files means that you still have complete freedom to work with the initial captured information and process the image exactly as you like it. And yet still achieve the highest possible image quality.  To get a better understanding of this we will take a look at the different processing steps needed to convert at RAW file to a JPEG file:

  • Bayer Interpolation
  • White Balance and Color Correction
  • Tone Curve
  • Noise Correction
  • Sharpness
  • JPEG compression

Bayer Interpolation

As the first step an image file with color information for each pixel needs to be created. Please note that in camera science, a pixel is denoted as one photosite of one color. This differs from e.g. a computer monitor where a pixel contains all three colors. In the sensor 2 out of 4 pixels are Green, 1 out of 4 is Blue and 1 out of 4 is Red.  This means that the RAW file does not see the true color information for each pixel. In this process the task for each pixel in the RAW file is to “guess” the values of the 2 missing colors.

This process is called Bayer Interpolation or “de-mosaicing”.  The name Bayer refers to the original pattern of how to arrange the Red, Green and Blue pixels in the sensor. This pattern was patented by Bruce E. Bayer back in 1976 but it is still today by far the most common pattern for color pixels in color image sensor.  The Bayer interpolation process calculates the missing color information from the values of the surrounding color pixels in order to create a normal R, G, B color file.  This is not an exact science – each camera manufacturer or RAW conversion software vendor have their own custom algorithms for the process. There is a huge difference in the quality of these algorithms, which provide the basis of the ability to see fine details in true colors. Later processing steps can still alter the result but if for instance some details are not established in this step it is not possible to re-establish them later.  Some of the finest Bayer interpolation algorithms can be found in RAW Converter software like Capture One and Leaf Capture. Dedicated RAW converter software contains very advanced and complex algorithms. Only very few camera manufacturers have managed to build high quality algorithms into their camera’s “computer” and even some of the largest DSLR camera manufacturers have only managed to implement simple algorithms for this step.

Bayer Interpolation Pattern

Bayer Interpolation Pattern

Bayer interpolation.  The first figure shows the RAW file with the color pixel arranged in the Bayer Pattern. The second figure shows the RAW file after the Bayer interpolation process. Color information for the 2 missing Colors for each pixel has been calculated.


White Balance and Color Correction

When it comes to colors the most important parameter to get right is the white balance (WB).  This process simply determines the “color” of neutral colors.  Getting the WB right is the basis of getting accurate color and it is the fundamental starting point for all further color corrections. All cameras have options for setting the WB and all have some sort of auto WB.  This might offer a reasonable starting point but often these algorithms are not optimized for the individual camera and will lead to some color cast in the images as well as wrong color interpretation. Occasionally, these auto WB algorithms will produce a completely wrong result and will select a really poor WB. Using in camera JPEG files with wrong or slightly wrong WB might lead to color cast and wrong colors in the final image. This kind of color problem can be extremely difficult to fix afterwards in an image editing software. By using a RAW file and a RAW Converter you will have full control over the WB and it can be adjusted to exactly the right WB for the camera and the scenario.

Tone Curve

Like in the days of film there is a tone curve involved when making an image from a digital camera. Back then you were able to choose films with different tone responses (contrast / base characteristics) and in the development process there were still some tweaks that could be done. The tone curve determines how to render all the different levels of light from deep shadow to highlights. The human eye has the ability to see both very bright details and very dark details at the same time.  This is also the case for today’s digital cameras. However, when an image needs to be displayed or printed it is only possible to use a quite limited range of tones. Therefore it is necessary to make a decision on how much of the shadows, the mid tones and the highlights that should be seen. This is what the tone curve takes care of.

If the camera has been set to save  JPEG files then the tone curve is applied in the camera computer. The different camera manufacturers have different perceptions of what they consider being the ideal tone curve.  Some manufacturers prefer a tone curve with high contrast (giving punch to the images but lacking the ability to maintain shadow details) and others like less contrast (which provide better results in portrait scenarios). Some prefer the ability to maintain many highlight details while others hardly keep any.

When an in-camera JPEG file is saved, then it is converted into only 3×8 bit per color pixels – or 256 levels of grey per color channel. This means that if you did not like the tone curve applied by the camera, your ability to tweak it afterwards is quite limited. If deep shadow details are missing, it may not be possible to get them back at all.  By using RAW files and a RAW converter you maintain all bits available from the RAW file and you will be able to apply exactly the tone curve you prefer.  Some RAW converters like Capture One even gives you the ability to select different default tone curves (Film Curves) or the possibility to work with a totally linear curve. This provides you with complete freedom to create your own look.

Noise Correction

Today, we see cameras with previously unreachable ISO levels.  This has been a result of improvements on many fronts. In particular the quality and design of sensors and the refining and complexity of the noise reduction algorithms. Without high quality noise reduction methods, images shot at high ISO levels would not be useful at all. How useful some of these extreme high ISO options are, is very much dependent on how the images are intended to be used. However, without doubt you can reach a quality level at high ISO today that has never been achievable before. For in-camera JPEG files large amounts of noise reduction is applied even at quite low ISO levels.

Noise reduction is an “art” in the field of image processing.  The challenge is to determine what is useful and valid information in the file and what is just noise and then deal with the noise.  There are many different algorithms in this field and the results vary. Some of the cheapest algorithms just blur out information with high loss of details, where other algorithms use very sophisticated methods to clean up the file with a minimum loss of details and color accuracy. Again the benefit of working with RAW is huge compared to using the in-camera noise reduction. If the JPEG files blur all the details which should have been included in the file there is no way to get it back. If you work with a high quality RAW converter like Capture One you have full control over the differentiation between noise and details while still getting a good default compromise – most images don’t need tweaking.

Sharpness

How much sharpness should be applied to my images and what should the camera settings be? This is a big topic and I will explain some of the things that need to be taken into account.  Let us start with the camera you are using.  Most cameras use an anti-aliasing filter in front of the image sensor. The purpose of this to minimize the potential moiré that can occur because of the way the sensor sees colors via the Bayer Color Pixel Pattern.  This anti-aliasing filter blurs the image just a little bit but how much depends on the camera manufacturer and the camera model.  The pixel size of the sensor in your camera also has an influence. Likewise, the lens you are using and the aperture will also highly influence how sharp an image will look.  This means that even in situations where you are using the same camera you will need to compensate for the different levels of sharpness you get from using different lenses and apertures. Finally, it is necessary to determine how much Photoshop work you plan to add afterwards and what size and purpose you prepare the image for?

It will be difficult to apply the right amount of sharpness for a JPEG file in the camera. If you do need to shoot JPEG make sure that sharpness is not set too high as this cannot be fixed afterwards. The only right solution here is to use RAW files and a RAW converter and then depending on the use and origin of the individual image adjust the sharpness.  In the best RAW converters like Capture One you have the possibility to save sharpness presets that may afterwards easily be applied to groups of similar images which will speed up this process considerably.

JPEG compression

The whole idea of using JPEG files in a camera is that it makes it possible to compress the image file to a much smaller size. Thus you are able to store large quantities of files onto the memory card and you are able to save the files faster. If you need to shoot long burst of images this might be the only option that gives you a long enough burst period. JPEG is a standard for how to compress an image file but there are many options within the standard that greatly influences the quality and size of the image.

Typically you will have options for different JPEG qualities on your camera.  A simple parameter is the size of the image. This is straight forward but you may also have a couple of options for how high compression you can expect to get.  If you need to shoot JPEG it is important that you test the JPEG quality settings or simply go for the best quality.  It may not be in the details that you see the loss of quality, however, if you e.g. have a sky with a smooth color transition the JPEG compression may break up this transition. The final thing that happens in a camera when shooting JPEG is that the bit depth of the image gets reduced to 8 bit per color channel. After this process, the image then gets compressed by the JPEG compression engine and you end up with a file that is much smaller than the original.

It might be that too high compression settings lead to image files with low quality. However, it is still an amazing technology and it is possible to make JPEG files which are about 8 times smaller than the original which still look almost identically to the original image – this is of course as long as you do not try to tweak it!  If you find that you generally like the results of the camera JPEG image files this might lead you to think that it is not necessary for you to use RAW.  However, I urge you to see the difference with your own eyes and use RAW files for your own images combined with a quality RAW converter. You will soon realize that your images hold more than you have ever expected!

Why shooting with RAW is infinitely superior to JPEGs

Many photographers when they first buy a DSLR set the camera to JPEG capture, probably because they don’t quite understand what the other ‘raw’ setting is all about. Unfortunately, when you set your camera to JPEG you’re throwing away image quality because the best photos can only be achieved with the raw setting.

Peter Eastway - Orpheus Roots

Peter Eastway - Orpheus Roots

Capturing images with intense colours or wide tonal ranges is best done with the camera set to raw capture. A JPEG capture doesn’t retain the colours or the tonal values nearly as well. Photographed at Orpheus Island, Great Barrier Reef, Australia. Phase One 645 with P45+ back, 28mm lens. Raw file processed in Capture One, post-production in Photoshop.

File formats can be confusing. Simply speaking, they are different ways of storing a photograph in a digital format. However, not all file formats are equal. The JPEG format is popular because it is relatively small. You can fit a lot of JPEG photographs onto a memory card or a hard disk, but in making a small file a lot of valuable photo information is being discarded. JPEG is a great format for sharing photographs after they are finished, but not for capturing photographs with a camera.

In comparison, a ‘raw’ file contains all the information captured by the camera at the moment of exposure. There are a lot of different raw formats (depending on what camera you use), but the one thing they have in common is they store all of the photo information. Nothing is lost which means you have the opportunity to turn average exposures into something brilliant and breathtaking later on.

Once you have opened and processed a raw file, then you can save it as a JPEG, a TIFF or a PSD file. It’s not possible to save a processed file back as a raw file (only a camera can make raw files), but your raw file is still there, untouched for use again if needed.

RAW-BalletDetail

The fine detail of the ballet dancer’s dress can be clearly seen in the RAW file.

JPG-BalletDetail

The JPEG file saved by the camera has lost precious detail. JPEG files have their uses, but they are not at all suited for capturing original photographs with your camera.

When an image is saved as a JPEG, to achieve the compression the image file discards colours, tonality and fine detail. A quick glance may not show much difference, but as you work with your files, you’ll soon discover just how much valuable information goes missing. Even with the limitations of the web, we think you’ll be able to see the differences between these two files.

RAW-Unprocessed

The original raw capture, processed without adjustment. Although underexposed, the raw file contains everything needed to rescue it.

JPEG-Unprocessed

The original raw capture processed as a JPEG without adjustment, just as your camera would do it. It looks very close to the original – but if you look closely you’ll see it has blocked up in the shadows and lost fine detail.

RAW-Processed

RAW-Processed

Using Capture One 5 Pro, the raw capture is lightened using the exposure slider and processed. Note how all the tones in the image are retained with good detail, including the shadow areas.

JPEG-Processed

The JPEG file is processed in Photoshop, lightening it to match the adjusted raw file, but note how the contrast increases and the colour in the skin tones degrades. The moral of the story is: Don’t use JPEGs!

RAW Files Explained In-depth

Tim Wolcott - Ballet of Light

Tim Wolcott - Ballet of Light

RAW files

Simply put, a RAW file represents what the camera sensor captured during the exposure of the image (like an undeveloped negative in the days of film).  Having the RAW file gives the user maximum freedom to decide how the image should look later when using a RAW converter to convert the RAW file to a JPG or TIF file.

For example, an under exposed image with wrong White Balance can be corrected perfectly. The only limitation of RAW is if the image is way to much overexposed. In that case the RAW file will not contain any information in the highlights about the object photographed.

What is a RAW file?

In order to understand in more depth what a RAW file is we need to look at how a digital image is created in the camera.

During the exposure of an image, light hits the sensor which consist of a large array of light sensitive pixels arranged in a grid.  There are mainly 2 different sensor technologies used in digital capture – CCD sensors and CMOS sensors.  Both technologies can produce top quality images. It is not the technology that determines the quality but how it has been designed and manufactured.  Common for both types of sensor is that in order for the sensor to record color, the pixels are divided in green, red and blue pixels. This means that some pixels in the sensor only see Green light (G pixels), some only see Red light (R pixels) and some only see Blue light (B pixels). By far the most common pattern for organizing the R, G and B pixels is the Bayer pattern.  For each 2×2 pixels in the image sensor there will be 2 G pixels in diagonal and 1 B and 1 R pixel.

Bayer Pattern

This arrangement is known as the Bayer pattern.

A/D conversion

After exposure each pixel holds an analogue electrical value representing the amount of light reaching that pixel position.  These electrical values need to be converted to digital values readable by the internal camera computer.  This process is called Analogue to Digitial conversion (or A/D conversion).  The precision of the conversion is limited by the number of bits the A/D conversion provides. In the very beginning of consumer digital photography the cameras only contained 8 converters.  With 8 bit you could get 2 to the exponent of 8 = 2x2x2x2x2x2x2x2 = 256 different levels.  Today the best cameras have 16 bit A/D conversion giving 2 to the exponent of 16 = 65536 different levels.  Taking into account that the human eye only can distinguish between approximately 300 different levels of gray it may sound like way to many levels. However, when the image is processed and deep shadow details need to be visible then it becomes extremely important to have all the levels possible available.

Correcting Sensor Defects

We now have the digital RAW signal from the sensor but sensors consisting of millions of pixels are never perfect.  There will be lots of so-called “dead pixels” – pixels that do not react on light and other manufacturing defects. In order to reconstruct an image from the RAW data, all the dead pixels and other imperfections need to be fixed.  When the camera is manufactured all the sensor imperfections are mapped out in a calibration file. The camera can now correct the RAW data or add a description of what need to be corrected to the RAW data.

Different RAW file formats

At this point we have all the data ready for making a RAW file.  In principle the camera could now save the RAW data to a CF or SD memory card in a unified RAW file format. During the development of digital capture the different camera manufactures started making cameras with unique RAW files, the option of a universal format didn’t exist.

As a consequence of this each camera manufacturer uses their own file formats today.  For example Canon‘s RAW files are named .cr2. Nikons RAW files are named .nef and Phase One’s RAW files are named .iiq or .tif. – even a standard tif file can contain RAW file data!  For the Phase One RAW file all the RAW file information is kept in a special private tag that cannot be read by a normal TIF reader. Only the thumbnail is in the normal part of the .tif file.  Both Phase One and Canon started making RAW files with the .tif extension, the benefit of which meant that the user could see the contents of the RAW file in the OS file system. For many other RAW file formats the contents of the RAW file can only be displayed if the user installs specific SW components and once you moved the file to another computer you had to make sure that the same SW component was installed.

RAW file compression

As the RAW file represents all the data with a giving bit depth that comes from the image sensor it may be a large amount of data.  As an example a Canon 5D MKII RAW file comes from a sensor of 5616 x 3744 pixels with a bit depth of 14 bit.  This gives RAW data of 5616 x 3744 x 14 / 8 bytes = 36MB.  When looking at a real RAW file from the Canon 5D MKII you will see that it is only about 29MB.  The trick here is to compress the data.  It is possible to compress totally lossless without loosing any information. As with the Music industry’s MP3 format, it is also possible to do a similar lossless compression with picture data. The signal may be changed but changed in a way that makes it impossible to distinguish it from the original.  The different camera manufacturers use different methods of compression of their RAW files but having a fast compression with a good compression ratio whilst preserving all the data is essential for being able to shoot fast for longer periods. RAW file formats from Phase One, Leaf, Canon and Nikon all provide this.

Follow

Get every new post delivered to your Inbox.

Join 760 other followers

%d bloggers like this: