By Michael Henriksen


When editing pictures you should first address white balance and contrast. White balance is normally the thing one would consider to begin with, then contrast.White balance should be addressed before contrast because color contrast can not be set properly if the image has a colorcast.

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.

Contrast comes in three varieties: contrast of hue, brightness and saturation. Normally software only has a single slider for contrast that addresses all thre aspects at once. However, a single slider for all three is unsatisfactory since the result is usually over saturated and gaudy. At best the software will have a control for luminance contrast and for color contrast.

The standard way to manipulate contrast is simply by altering 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 not suitable for very dark or very pale images. What about very dark or very pale images? In that case you need to change the algorithm to use the average values of the image's R, G and B channels, like this: R=(R-RAverage)*contrast + RAverage. And similarly 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:



0 comments

Web site development, PHP programming's Fan Box