gefillmore
Dec-31-2006, 05:51 AM
Chapter 4
Color and Contrast by LAB Mode: the ‘Ruttimentary’ Steps
(for much more advanced text, examples and discussion, please see Dan Margulis’ book, Photoshop LAB Color: The Canyon Conundrum and Other Adventures in the Most Powerful Colorspace, and/or the discussion thread (http://digitalgrin.com/showthread.php?t=18203) at Digital Grin)
The LAB mode is best used when you have a photo with drab, dull colors. Using LAB will drive the colors apart. Also LAB mode will treat colors and contrast separately, which will be seen to be very handy as we move into the chapter.
Photographs that have bright and different colors are not the best subject for improvement by the LAB mode. As stated, LAB mode drives colors apart and these types of images are already there.
http://gefillmore.smugmug.com/photos/119305947-M.jpg
Not for Lab mode adjustment
I have chosen a photograph of a barn I took just for the purpose of demonstrating the benefits of the LAB mode:
http://gefillmore.smugmug.com/photos/121332555-M.jpg
Jpeg copy of the raw file
First, I have attempted to improve the picture with the standard levels and curves in RGB mode (I usually try to do this intuitively. For a more formal method, see DavidTO’s tutorials- pop tute (http://dgrin.smugmug.com/gallery/2292454/1) – on ‘popping’ the photo in the How To section of the Digital Grin Forum).
I have positioned this image just above the LAB mode improved images for comparison purposes.
Now I am going to adjust the color of the photo in LAB mode. Go to Image: Mode>Lab color. Then open Image: Adjustments>Curves. Your first screen is the Lightness channel. Photoshop default for LAB mode curves is to have black input, output at 0, 0. Left click on the white triangle in the black-to-white bar underneath the graph and that will switch it to white input, output at 0, 0. This will put you in synch with Margulis’ writings and examples (and ours on Dgrin).
Now, click on the dropdown where it says Lightness and click on the a curve. We will go back to the Lightness curve after the a and b curves. Simply put, you move the top and bottom endpoints in by equal amounts, making sure the curve stays over the center point. The center point is a neutral area (white, black, or neutral gray). If you move the curve at this point, you are getting into adjusting for color casts. Not that this is an invalid adjustment, we’re just keeping it simple right now and making a basic adjustment on an image.
Please see the curve image below for a and b adjustments. This image has not been adjusted in LAB mode for contrast yet.
After levels and curves adjustments in RGB mode
http://gefillmore.smugmug.com/photos/119306425-M.jpg
http://gefillmore.smugmug.com/photos/121331693-M.jpg
After LAB mode curves (a and b) adjustments
Now for the Lightness curve, which deals with contrast.
You more or less curve this to taste. You can use the cursor on the photo to tell where on the curve that particular area of the photo will be affected when you move the curve. This is very sensitive and you have to adjust incrementally. To improve the photo, you usually want to steepen the curve at the points corresponding to the portion of the photo where you desire more contrast.
http://gefillmore.smugmug.com/photos/121331756-M.jpg
After Lightness curve adjustments- note the steepening of the curve in the lower half deals with the sky (lighter portion of photo) while the steepening in the upper half affects the barn and field (darker portions)-
http://gefillmore.smugmug.com/photos/119306740-M.jpg
LAB mode curve adjustments for barn image
You can sharpen the image by going to the Channels palette, clicking on the Lightness channel, then opening up Filter: Sharpen>Unsharp mask. For Amount, use 200%. For Radius, use 1.0 pixels. And for Threshold, use 10 levels. What type of sharpening you use depends much on the image, the resolution, what your tastes are, your audience.
http://gefillmore.smugmug.com/photos/121333604-S.jpg
http://gefillmore.smugmug.com/photos/121333409-M.jpg
LAB mode sharpened-unsharp mask
Then click on Lab in the channels palette to bring the image back to color.
Lab mode adjustment and sharpened
You almost always want to put the image back into RGB mode before saving, printing, or moving to the web (Image: Mode>RGB color).
Remember, LAB adjustments will increase the differences between colors, but it is only worthwhile if the differences are not too big to begin with.
Color casts-
As stated previously, the center point is neutral (white, gray, or black). However, if you have a particular cast to your photograph you can correct it by moving off the center point. In the image below, the 'white' is not. By a minor adjustment to the LAB curves, the red/yellow cast to the moisturizer bottle and sheet can be removed without greatly affecting the other colors.
In the Lightness curve there is a basic adjustment for contrast. In the a and b curves, there is a standard LAB adjustment with a very small movement of the center point from 'zero' away from magenta in the a curve and away from yellow in the b curve.
In this particular image, I would have dealt with the raw file in ACR by adjusting the white balance, but am doing it in this fashion to demonstrate a LAB curve adjustment.
http://gefillmore.smugmug.com/photos/119712199-S.jpghttp://gefillmore.smugmug.com/photos/119712574-S.jpg
Original ---------------------Curves applied
http://gefillmore.smugmug.com/photos/119712786-M.jpg
Curves adjustment
Contrast adjustment-
Again, as stated previously, you generally do not use LAB adjustments on bright colors. However, reading Margulis, LAB Lightness curve adjustments work well on bright colors. Let's use the bottle image again.
Here are images of the RGB channels of the bottles:
http://gefillmore.smugmug.com/photos/119713273-M.jpg
Red channel-----------------Blue channel-----------------Green channel
This is the Lightness channel in LAB:
http://gefillmore.smugmug.com/photos/119711837-M.jpg
There is a wide disparity from light to dark in the RGB channels with an image with bright colors, making it difficult to adjust contrast by steepening a curve in RGB mode. In the Lightness channel, it is a short throw. This shows that contrast adjustment is easier in the Lightness curve in the LAB mode than dealing with contrast in RGB mode in this particular type of image. But, it also means that the adjustments need to be small.
Please see the images in the color casts section above for contrast improvement through use of the Lightness curve adjustment in LAB mode.
Targeting specific colors-
The a and b curves are opponent-color channels. The colors in the a curve are magenta in the light portion and green in the dark portion. In the b curve, the colors are yellow and blue in the respective portions.
Because the a and b curve in LAB deal specifically with color and not contrast, specific colors can be adjusted without affecting the image as a whole and without affecting the other colors.
We'll use the bottle image again:
http://gefillmore.smugmug.com/photos/119712574-S.jpg
In the first example, the red/magenta/orange will be transformed to green:
http://gefillmore.smugmug.com/photos/121337865-M.jpg
The a curve is the magenta/green curve. The lower half of the curve is moved from magenta to green, transforming the red/magenta/orange to green.
In the second example, the blue/teal will be changed to red/magenta.
First, we change the blue/teal to green:
http://gefillmore.smugmug.com/photos/121337974-M.jpg
The blue half of the b curve is moved into the yellow portion changing the blue to green.
Then, the green is transformed to red/magenta:
http://gefillmore.smugmug.com/photos/121338021-M.jpg
The green portion of the curve is moved into the magenta portion, completing the transformation of the teal/blue to red/magenta.
There are other discussions of interest on LAB color in Chapter 4 of Professional Photoshop.
But for much more in-depth discussion, analysis, and examples, please see Dan Margulis’ book, Photoshop LAB Color: The Canyon Conundrum and Other Adventures in the Most Powerful Colorspace, and/or the discussion in the thread (http://digitalgrin.com/showthread.php?t=18203) here at Digital Grin.
Color and Contrast by LAB Mode: the ‘Ruttimentary’ Steps
(for much more advanced text, examples and discussion, please see Dan Margulis’ book, Photoshop LAB Color: The Canyon Conundrum and Other Adventures in the Most Powerful Colorspace, and/or the discussion thread (http://digitalgrin.com/showthread.php?t=18203) at Digital Grin)
The LAB mode is best used when you have a photo with drab, dull colors. Using LAB will drive the colors apart. Also LAB mode will treat colors and contrast separately, which will be seen to be very handy as we move into the chapter.
Photographs that have bright and different colors are not the best subject for improvement by the LAB mode. As stated, LAB mode drives colors apart and these types of images are already there.
http://gefillmore.smugmug.com/photos/119305947-M.jpg
Not for Lab mode adjustment
I have chosen a photograph of a barn I took just for the purpose of demonstrating the benefits of the LAB mode:
http://gefillmore.smugmug.com/photos/121332555-M.jpg
Jpeg copy of the raw file
First, I have attempted to improve the picture with the standard levels and curves in RGB mode (I usually try to do this intuitively. For a more formal method, see DavidTO’s tutorials- pop tute (http://dgrin.smugmug.com/gallery/2292454/1) – on ‘popping’ the photo in the How To section of the Digital Grin Forum).
I have positioned this image just above the LAB mode improved images for comparison purposes.
Now I am going to adjust the color of the photo in LAB mode. Go to Image: Mode>Lab color. Then open Image: Adjustments>Curves. Your first screen is the Lightness channel. Photoshop default for LAB mode curves is to have black input, output at 0, 0. Left click on the white triangle in the black-to-white bar underneath the graph and that will switch it to white input, output at 0, 0. This will put you in synch with Margulis’ writings and examples (and ours on Dgrin).
Now, click on the dropdown where it says Lightness and click on the a curve. We will go back to the Lightness curve after the a and b curves. Simply put, you move the top and bottom endpoints in by equal amounts, making sure the curve stays over the center point. The center point is a neutral area (white, black, or neutral gray). If you move the curve at this point, you are getting into adjusting for color casts. Not that this is an invalid adjustment, we’re just keeping it simple right now and making a basic adjustment on an image.
Please see the curve image below for a and b adjustments. This image has not been adjusted in LAB mode for contrast yet.
After levels and curves adjustments in RGB mode
http://gefillmore.smugmug.com/photos/119306425-M.jpg
http://gefillmore.smugmug.com/photos/121331693-M.jpg
After LAB mode curves (a and b) adjustments
Now for the Lightness curve, which deals with contrast.
You more or less curve this to taste. You can use the cursor on the photo to tell where on the curve that particular area of the photo will be affected when you move the curve. This is very sensitive and you have to adjust incrementally. To improve the photo, you usually want to steepen the curve at the points corresponding to the portion of the photo where you desire more contrast.
http://gefillmore.smugmug.com/photos/121331756-M.jpg
After Lightness curve adjustments- note the steepening of the curve in the lower half deals with the sky (lighter portion of photo) while the steepening in the upper half affects the barn and field (darker portions)-
http://gefillmore.smugmug.com/photos/119306740-M.jpg
LAB mode curve adjustments for barn image
You can sharpen the image by going to the Channels palette, clicking on the Lightness channel, then opening up Filter: Sharpen>Unsharp mask. For Amount, use 200%. For Radius, use 1.0 pixels. And for Threshold, use 10 levels. What type of sharpening you use depends much on the image, the resolution, what your tastes are, your audience.
http://gefillmore.smugmug.com/photos/121333604-S.jpg
http://gefillmore.smugmug.com/photos/121333409-M.jpg
LAB mode sharpened-unsharp mask
Then click on Lab in the channels palette to bring the image back to color.
Lab mode adjustment and sharpened
You almost always want to put the image back into RGB mode before saving, printing, or moving to the web (Image: Mode>RGB color).
Remember, LAB adjustments will increase the differences between colors, but it is only worthwhile if the differences are not too big to begin with.
Color casts-
As stated previously, the center point is neutral (white, gray, or black). However, if you have a particular cast to your photograph you can correct it by moving off the center point. In the image below, the 'white' is not. By a minor adjustment to the LAB curves, the red/yellow cast to the moisturizer bottle and sheet can be removed without greatly affecting the other colors.
In the Lightness curve there is a basic adjustment for contrast. In the a and b curves, there is a standard LAB adjustment with a very small movement of the center point from 'zero' away from magenta in the a curve and away from yellow in the b curve.
In this particular image, I would have dealt with the raw file in ACR by adjusting the white balance, but am doing it in this fashion to demonstrate a LAB curve adjustment.
http://gefillmore.smugmug.com/photos/119712199-S.jpghttp://gefillmore.smugmug.com/photos/119712574-S.jpg
Original ---------------------Curves applied
http://gefillmore.smugmug.com/photos/119712786-M.jpg
Curves adjustment
Contrast adjustment-
Again, as stated previously, you generally do not use LAB adjustments on bright colors. However, reading Margulis, LAB Lightness curve adjustments work well on bright colors. Let's use the bottle image again.
Here are images of the RGB channels of the bottles:
http://gefillmore.smugmug.com/photos/119713273-M.jpg
Red channel-----------------Blue channel-----------------Green channel
This is the Lightness channel in LAB:
http://gefillmore.smugmug.com/photos/119711837-M.jpg
There is a wide disparity from light to dark in the RGB channels with an image with bright colors, making it difficult to adjust contrast by steepening a curve in RGB mode. In the Lightness channel, it is a short throw. This shows that contrast adjustment is easier in the Lightness curve in the LAB mode than dealing with contrast in RGB mode in this particular type of image. But, it also means that the adjustments need to be small.
Please see the images in the color casts section above for contrast improvement through use of the Lightness curve adjustment in LAB mode.
Targeting specific colors-
The a and b curves are opponent-color channels. The colors in the a curve are magenta in the light portion and green in the dark portion. In the b curve, the colors are yellow and blue in the respective portions.
Because the a and b curve in LAB deal specifically with color and not contrast, specific colors can be adjusted without affecting the image as a whole and without affecting the other colors.
We'll use the bottle image again:
http://gefillmore.smugmug.com/photos/119712574-S.jpg
In the first example, the red/magenta/orange will be transformed to green:
http://gefillmore.smugmug.com/photos/121337865-M.jpg
The a curve is the magenta/green curve. The lower half of the curve is moved from magenta to green, transforming the red/magenta/orange to green.
In the second example, the blue/teal will be changed to red/magenta.
First, we change the blue/teal to green:
http://gefillmore.smugmug.com/photos/121337974-M.jpg
The blue half of the b curve is moved into the yellow portion changing the blue to green.
Then, the green is transformed to red/magenta:
http://gefillmore.smugmug.com/photos/121338021-M.jpg
The green portion of the curve is moved into the magenta portion, completing the transformation of the teal/blue to red/magenta.
There are other discussions of interest on LAB color in Chapter 4 of Professional Photoshop.
But for much more in-depth discussion, analysis, and examples, please see Dan Margulis’ book, Photoshop LAB Color: The Canyon Conundrum and Other Adventures in the Most Powerful Colorspace, and/or the discussion in the thread (http://digitalgrin.com/showthread.php?t=18203) here at Digital Grin.