Thursday, April 18, 2013

Contrast and White Balnace in Photo Retouching

By Michael Henriksen


When retouching photographs one should first look at white balance and contrast. White balance is usually the thing one should fix to begin with, then contrast.The reason for correcting white balance first of all is that you can't correct color contrast if the image has a color cast.

White balance concerns the hue or tone of the light in the image and sets white as a goal. White balance applications attempt to retouch the hue of the light to white and to do that, the software normally needs some neutrals in the image to find the suitable correction tint from. The whites can for example be a white wall or a sheet of paper or a dedicated white card. The grays are ideally a dedicated gray card.

White balance software comes in two varieties: automatic and manual. Manual correction comes as a temperature slider, which is fine for incandescent light, but not for fluorescent light or mixed light. When converting RAW images, one usually has a temperature slider. Some RAW converters also have three color sliders for red, green and blue. Fluorescent and mixed light can be somewhat corected with color sliders, but unfortunately color sliders usually tone the blacks and whites in an undesirable way. For automatic corrections, the software normally needs neutrals in the image, like a gray card and/or a white card. Some applications can dispense with that, but usually neutrals are needed.

There are three kinds of contrast: hue, saturation and brightness. Very few applications have more than a single slider for contrast, that addresses all three kinds of contrast at once. However, a single slider for all three is unsatisfactory since the result is usually over saturated and gaudy. Luminance contrast and color contrast should be treated separately.

The usual way to adjust contrast is simply by changing the difference between the individual R, G and B values and the middle value (128); like this: R= (R-128) * contrast + 128; and likewise for green and blue. This method is only suitable for images that cover the entire brightness range. What if the image is very pale or very dark? In that case you change the algorithm to: R=(R-RAverage)*contrast+RAverage where RAverage is the average red channel value of the image. And so on for G and B. Using 128 attempts the same and merely assumes the picture has a full range of brightness values, in which case the average will be 128.

What if the darkest and brightest areas are not black and white? In that case one should be able to expand the brightest range to reach black and white. Levels adjustment is meant for this type of correction. One can do this with Photoshop's levels adjustment like this: First convert the image to Lab mode, select the L channel only and run autolevels on that. Then convert back to RGB mode.




About the Author:



No comments:

Post a Comment