NYFalls.com - Upstate NY Waterfalls
Articles

 

Photoshop Tutorial:
Using Adjustment Layers and Masking

     
The third in a series, this tutorial will teach you how to take advantage of Adjustment Layers in recent versions of Photoshop to enhance your photos with more precise control.

To follow along with this tutorial you will need to download this image: adjustment-layer.jpg (right-click and choose: Save As)

What is an Adjustment Layer?

Just as it sounds, an Adjustment Layer will alter an aspect of your photo on a separate layer. What this type of layer unique is that the adjustment made via an Adjustment Layer can be changed or masked at any time and removed with no ill affect to the original image. Ever adjust a the brightness or color of an image early on, then after 30 or more alterations, want to go back and undo or tweak that initial change? If you used an Adjustment Layer, you can double-click it and change the setting. Without an Adjustment Layer, you'd have to undo everything you've done up to that point. Adjustment Layers offer more flexibility.

Adjustment layers also come paired with Masks. A mask is an instruction in the layer that tells the layer what parts will show through and what parts will not (masked parts). So you can make and adjustment layer that increases the orange saturation in an image, then mask (hide) its effect for the portions of the image you don't want to have increased orange saturation for.

Apply Adjustment Layers from the Layers pallette

The types of Adjustment Layers you can apply.

You can apply Adjustment Layers from the Layers palette using the button circled above. An Adjustment Layer will be inserted above the currently selected layer and will apply to all layers below it. Clicking the Adjustment Layers button provides you with a list of  the types of adjustment layers you can apply. Choosing one will give you further options for that type.

Masking.
Masking is an essential tool for applying otherwise global changes (levels, colors, saturation) to isolated areas of your image. Say you want to adjust the levels of the sky in your landscape image to darken it slightly, but you want leave the land alone. You can mask the effect of levels on the land in your image, so it appears untouched. It's that simple! You can even go further brighten the land and mask the sky, so it remains the same.

Masking is handled in most photo retouching software (Photoshop, PaintShop Pro) the same way... using a black and white canvas. The masking canvas matches the size and shape of the layer it applies to. It can either be black, white or shades of grey. You can paint these shades on the mask any way you'd like, you just need to understand what each shade does.

  • White: Anything on the layer this mask is attached to will show through on the image where there is white.
  • Black: Anything on the layer this mask is attached to will not show through on the image where there is black.
  • Gray: Anything on the layer this mask is attached to will show through as transparent on the image depending on how dark the gray is. The lighter the shade of gray, the more of the attached layer will show through. The closer the gray is to black, the less will show through.

You can fill a mask completely with one shade, or you can use the Paintbrush, Pencil, Eraser, Fill Bucket, Gradient or other tools to paint where you wish. When you change the shade of the mask, the Layer it's attached to either appears or disappears where you make the change to the mask.  So, if you wanted to darken the sky in a landscape shot and leave the rest of the image alone, you would apply a new layer with the levels or brightness adjusted for the sky, and mask out the land. In the mask, the portion of the canvas containing the sky will be white (allowing the change to show through) and the portion containing the land will be back (blocking the adjustment from showing through).

Before Image

With a Levels Adjustment Layer

What the layers for this looks like
In the image above, the sky is slightly washed out and I prefer to have it darker. If I darkened the whole image, I'd be making the mountains in the bottom half too dark and would lose detail. I apply a Levels Adjustment layer (named Levels 1) and adjust the levels to darken the sky. Unfortunately, because the mask attached to this adjustment layer is all white, this effect is applied to the whole image and my mountains are too dark. The top layer (Levels 1) is a Levels Adjustment layer (you can tell by the icon). The attached mask (which is all white) tells Photoshop to apply the adjustment to the whole image.
I need to Mask the mountains from this adjustment. With a Levels Adjustment Layer and mask What the layers for this looks like
  I use a large, soft-edge paintbrush set to pure black and paint over the mountains on the mask, which removes the effect of the Adjustment Layer in those areas. This returns the mountains to their original tone. Notice the bottom half of the mask is now painted black. It's masking the Levels adjustment layer from the mountains.


Let's try it.
Open your image and make sure the layers palette is visible.

Take a look at the image and its inherent problems. It's well composed, but the colors and tone are dull and the image is bland. Not one single adjustment will solve the problems with the water, trees and sky all at once. So we use separate adjustments with masking.

Duplicate layer and set to Overlay

Problems:
  • Too dull
  • Not enough contrast
  • Incorrect water color
 
Let's fix the dull water first.
Select the background Layer.
On the Layers palette, click on the Adjustment Layer button and select Photo Filter.
Select a Cooling Filter (82) (1) and set the density to 32 (2). This Applies a blue-green tint to the whole image, matching the water to the natural color of Green Lake.
Applying a photo filter

With cooling filter applied

 
This changed the whole image, and we only want it to apply to the water.
Use the Rectangular Marquee tool 
Rectangular Marquee Tool to draw a box around the sky and trees, leaving the water unselected (3).

Rename the Photo Filter 1 adjustment layer (you just created) to "Water"  (4) and click on the white mask for that layer (5).

Using the marquee to select the trees and sky.

Applying a photo filter
 
Set your foreground color to black
and use the Paint Bucket tool
Paint Bucket Tool to fill in the Marquee Selection (6). This will change the sky and trees back to their original shades.

Notice how the area you painted black shows up in the mask preview in the Layers Palette

Fill in the selection with Black

The Resulting change in the mask.
 
Now let's fix the sky.
First, remove the Marquee you used in the last step by pressing Ctrl-D on the keyboard.

Add another Adjustment Layer. This time use a Levels Adjustment Layer.

While adjusting the Levels, concentrate on the sky and ignore the changes to the trees and water.

Drag the Black Point slider to the right to increase the shadows in the clouds and give the sky some definition (7). I used an Input Level of about 80.

Applying a Levels Adjustment

Moving the Black Point slider tot he right will increase the shadows of an image.

Levels applied



Keep your eye on the sky and ignore the rest of the image in this step.

 
The sky looks great, but Levels totally screwed up the rest. So let's use the mask to turn off the adjustment and paint it to only where we need it.

Rename the Levels 1 adjustment layer (you just created) to "Sky" and click on the white mask for that layer.
Press Ctrl-I to invert the Mask. Invert will make this white mask black and the adjustment will be hidden by the black.

Set your foreground color to White
and use the Paint brush tool
Paint Brush Tool to paint over the sky with the levels adjustment.

Painting levels to the Sky

If you make a mistake, change your brush color to black and paint over your mistake, it will hide it again.

You can switch easily between the foreground and background colors by hitting the X key on your keyboard.

Painting levels to the Sky
 
And finally, the trees.
The tress just need a bit more color. So add a new Adjustment Layer for Hue/Saturation.

Editing the Master channel, increase the saturation to 10 (7).

 

Adding Saturation

Saturating the trees
 
Now, at the top of this window, change Master to Yellow to edit the Yellow colors only and decrease the Hue to -5. You'll notice the yellows (and some of the greens) will become more orange. Changing the yellow Changing the yellow
 
The trees look better, but those adjustments were also added to the rest of the image too.  So let's use the mask to turn off the adjustment and paint it to only where we need it.

Rename that new adjustment layer (you just created) to "Trees" and click on the white mask for that layer.
Press Ctrl-I to invert the Mask. Invert will make this white mask black and the adjustment will be hidden by the black.

Set your foreground color to White
and use the Paint brush tool
Paint Brush Tool to paint over the  trees with the levels adjustment.

 

Paint the trees

If you make a mistake, change your brush color to black and paint over your mistake, it will hide it again.

You can switch easily between the foreground and background colors by hitting the X key on your keyboard.

 

Painting levels to the trees

White is painted over the trees, which applies the Adjustment Layer just to that area.

 

Final Results
The differences are obvious. Adjustment layers enabled us to make major changes to the tone, color and saturation, and isolate those changes to just the spots we needed them. The best part about the changes that we made using adjustment layers is that they can be adjusted or removed at any time! that's right, double click the Adjustment Layer to change the original options, or turn it off through the layers palette.

Before After
Before After Adjustment Layers

 

Recommended Photoshop Books

 

For more PhotoShop tutorials, visit our Articles section.

Discuss this article and share your questions or tips in our Community Forum.

 

    © 2006 Matthew Conheady (v1.0)

 
This site uses: