Chapter 7. Making Selections and Using Layers

<feature><title></title>

What You’ll Learn in This Hour:

<objective>

Selecting different parts of an image using different tools

</objective>
<objective>

Modifying the selection area without affecting the image itself

</objective>
<objective>

Saving selections for reuse

</objective>
<objective>

Creating and arranging multiple layers

</objective>
</feature>

Selections set aside part of the image so that you can apply edits to it without disturbing the rest of the image. Using selections, you can smooth wrinkles from people’s skin without blurring their hair, change the color of a single apple on a tree, or remove backgrounds entirely and leave the subjects of your photos floating in thin air.

Layers are just as powerful, in a different direction. They enable you to stack image parts so that some objects appear to be behind others and so that you can work with the objects on each layer without affecting anything on the other layers. If you’ve ever done any scrapbooking, you probably have a good idea of how much you can accomplish by layering different objects.

Using the Selection Tools

Photoshop Elements offers you a cornucopia of selection tools: eight, in all (see Figure 7.1). Of those, five enable you to do all the work yourself, and three give you a little “magical” help. Let’s review.

Four Selection tools are visible in the toolbox, with four more hidden beneath them.

Figure 7.1. Four Selection tools are visible in the toolbox, with four more hidden beneath them.

The Rectangular and Elliptical Marquee tools are the basic tools—simply click and drag to create a selection. Photoshop Elements draws either a rectangular selection marquee or an elliptical one, starting where you click and ending where you release the mouse button. You can drag in any direction, and if you press Alt as you drag, the location of the initial click becomes the center of the selection instead of one of its corners. Finally, press Shift as you drag to constrain the selection’s shape to a square or circle.

Selecting with the Lasso Tools

The Lasso tool works somewhat differently: With it, you can trace around the area that you want to select. When you release the mouse button, Photoshop Elements connects that location with your starting point to complete the selection. Lasso selections are great for encompassing irregular areas such as faces or flower petals.

Hidden under the Lasso tool are two variations on its theme: the Polygonal Lasso and Magnetic Lasso tools. With the Polygonal Lasso tool, you can’t draw curves—only straight lines. You define each corner of your polygonal selection by clicking, and you can close the selection by returning to your starting point or by double-clicking anywhere in the picture. Combining this behavior with that of the regular Lasso tool, the Magnetic Lasso enables you to click and drag, or click from point to point, or combine the two methods as you go along. Added to this flexibility is the fact that the Magnetic Lasso tool can detect edges and stick to them, making it ideal for selecting areas with distinct edges (see Figure 7.4).

Here I’m using the Magnetic Lasso tool to select this irregularly shaped hood ornament.

Figure 7.4. Here I’m using the Magnetic Lasso tool to select this irregularly shaped hood ornament.

Selecting with the Magic Wand and the Quick Selection Tool

As with the Magnetic Lasso, the Magic Wand and the Quick Selection tool can detect the colors beneath their cursors, and they can tell when those colors change at the edge of an object. The Magic Wand tool has been around since the earliest days of Photoshop, and it’s still one of the most useful tools in the Photoshop Elements toolbox.

To use the Magic Wand, simply click once on a solid-colored area anywhere in your picture. Photoshop Elements samples the color at the point where you click and enlarges the selection to include other similarly colored areas in the image. A few variables determine exactly how far a Magic Wand selection can grow:

  • Tolerance—A value between 0 and 255, this number determines how similar in color pixels must be to be included in the selection. Lower values require colors to be extremely similar, and higher values allow more variation (see Figure 7.5).

    The Magic Wand seems like the perfect tool to select the blue sky in this photo. On the left is the selection I got by clicking in the upper-left corner with a Tolerance of 20; on the right is the selection I got by clicking in the same place with a Tolerance of 40. Oops! The church’s doors and windows are selected because they reflect the sky; I’ll have to go back and remove them from the selection with another Selection tool.

    Figure 7.5. The Magic Wand seems like the perfect tool to select the blue sky in this photo. On the left is the selection I got by clicking in the upper-left corner with a Tolerance of 20; on the right is the selection I got by clicking in the same place with a Tolerance of 40. Oops! The church’s doors and windows are selected because they reflect the sky; I’ll have to go back and remove them from the selection with another Selection tool.

  • Anti-alias—This setting enables you to partially select the pixels along the edge of your selection. If you delete the selected area or paint in it, for example, the edges will be soft instead of hard and jagged.

  • Contiguous—Checking this box requires selected pixels to be adjacent to each other. When it’s not checked, you can click on, for example, a pink flower on one side of the image, and all the matching pink areas in the whole picture will be selected.

  • All Layers—When this box is checked, the Magic Wand selects pixels on all layers, not just the current one.

The Magic Wand and Quick Selection tools work very similarly. The main difference between them is that the Quick Selection tool uses dragging instead of clicking as its method of determining what colors you’re trying to select. As you drag the Quick Selection tool across an image, it evaluates all the colors it passes over and tries to work outward to the edges of the shape containing those colors (see Figure 7.6); it adjusts its own tolerance invisibly as it goes. You can accomplish the same thing by Shift+clicking repeatedly with the Magic Wand and adjusting its Tolerance setting—but using the Quick Selection tool is, well, so much quicker.

I can select all the different shades of pink in this flower with a single pass of the Quick Selection tool across the blossom’s surface.

Figure 7.6. I can select all the different shades of pink in this flower with a single pass of the Quick Selection tool across the blossom’s surface.

By the Way

Photoshop itself also has a Selection Brush tool, but in both cases, the feature is based on Photoshop’s Quick Mask feature.

Modifying Selections

As you learned in the previous section, you can add to a selection by pressing Shift as you draw another selection, and you can subtract from a selection by pressing Alt as you draw. But you can modify a selection in many other ways after you create it. In this section, we go over your options.

Reshaping Selections

First, let’s expand a bit on this idea of adding to and subtracting from selections. For one thing, you can switch Selection tools without dropping a selection, which means that you could create a selection with the Magic Wand and then add to it with the Rectangular Marquee, if you’re so inclined. I often use one selection tool for large areas and then clean up my selection using the Lasso tool or the Selection Brush.

You can also select the intersection of two areas. Imagine this: You select a square area with the Rectangular Marquee, and then you switch to the Elliptical Marquee and press Shift and Alt as you drag an intersecting selection across the first one. When you release the mouse button, only the overlapping area is selected (see Figure 7.8).

This is what you get when you subtract a circular selection from a square one.

Figure 7.8. This is what you get when you subtract a circular selection from a square one.

If you get tired of using the keyboard shortcuts for adding to, subtracting from, and intersecting with selections—or if you just forget the keyboard shortcuts, as I sometimes do—you can use the handy buttons on the Options bar that you saw in Step 5 of the previous task (see Figure 7.9). When you click one of these buttons, it stays active for that tool until you change it by clicking another button, even if you quit the Editor and restart it. You can use the buttons to set each Selection tool to a different mode, and switch back and forth among the tools to add to and subtract from selections.

Because the buttons stay active until you change them, they’re convenient if you’re planning on performing the same function several times in a row.

Figure 7.9. Because the buttons stay active until you change them, they’re convenient if you’re planning on performing the same function several times in a row.

Not surprisingly, the Select menu contains several useful commands for modifying selections. Each of these works only if you’re starting with an existing selection. Let’s take a look at them:

  • Grow—To emulate the Magic Wand’s behavior, you can select an area of the picture and then choose Select, Grow. The selection expands to include all adjacent areas that are similar in color. The Grow command uses the Magic Wand’s current Tolerance setting, so if you don’t get the results you expect, switch to the Magic Wand and check to see what that value is. If you want to increase the size of your selection even more, you can choose the Grow command repeatedly.

  • Similar—This command does the same thing as Grow, except that it acts as though it’s the Magic Wand with the Contiguous box unchecked. It selects similarly colored pixels throughout your picture, regardless of where they are. To invoke it, choose Select, Similar; choose the command again as many times as you want to enlarge the selection.

  • Inverse—Choosing Select, Inverse selects everything in the picture that wasn’t selected before so that your selection is the reverse of what it was when you chose the command. You can also inverse a selection by pressing Shift+Ctrl+I.

  • Border—When you choose Select, Modify, Border, Photoshop Elements creates a selection just outside the existing one, as wide as you specify in the Border Selection dialog (see Figure 7.10). The border width can range from 1 to 200 pixels. It’s automatically soft-edged, or feathered; to learn more about feathered selections, check out the next section.

Remember the selection from Figure 7.8? This is what happens if you use the Border command on it with a Width setting of 50.

Figure 7.10. Remember the selection from Figure 7.8? This is what happens if you use the Border command on it with a Width setting of 50.

Did you Know?

If you accidentally drop a selection, you can get it back by choosing Select, Reselect or pressing Shift+Ctrl+D. Photoshop Elements remembers your previous selection until you create another one.

Next we look at ways to work with just the edges of selections to customize them to your needs.

Refining Selection Edges

Making good selections is really all about the edges. You need to make sure you follow the line of the object you’re selecting perfectly, without any little jigs or jogs. You also need to be concerned about exactly where the selection is with respect to the edge of the object: just inside it, just outside it, or right on it. Finally, sometimes you need a selection to be soft-edged so that whatever action you take within it blends smoothly into the unaffected pixels outside it. Photoshop Elements provides several commands to help you accomplish these goals, as well as a handy all-in-one dialog box that packages all the commands together in one place. First, let’s look at the individual commands.

Three of them are found in the Modify submenu of the Select menu: Smooth, Expand, and Contract. Smooth asks you for a number of pixels and then deselects any selected areas with a diameter below that number, as well as any small protrusions or divots along the main selection edges (see Figure 7.11). This is a great way to clean up a color-based selection—that is, one made with the Magic Wand or Quick Selection tool, or with the Grow or Similar commands. Expand and Contract are simpler; choose one of these commands to increase or decrease the size of your selection by the specified number of pixels on each side.

First I selected the blue sky with the Magic Wand (left); then I smoothed the selection with a radius of 4 pixels to get rid of the extra selected areas below the green railing.

Figure 7.11. First I selected the blue sky with the Magic Wand (left); then I smoothed the selection with a radius of 4 pixels to get rid of the extra selected areas below the green railing.

The fourth command you can use to affect the edges of selections is Feather (located in the Select menu). This command uses Photoshop Elements’ capability to partially select a pixel to soften selection edges by “fading out” the selection toward its edges. When you choose Select, Feather or press Alt+Ctrl+D, you’re presented with a dialog box in which you enter the number of pixels wide you want the feather effect to be. The most common way to arrive at this value is by trial and error; you try a value, see how it works, and then undo it and try again if you don’t like it. At that point, you start wishing you could see what effect a feather radius value would have before you have to click OK.

That’s where the fabulous new Refine Edge dialog enters the picture. With any selection active, choose Select, Refine Edge. This dialog doesn’t give you any extra features over the individual commands, except for one very important one: a Preview check box. You can watch your selection change as you try different settings, so there’s no more trial and error involved; you don’t have to click OK until you’re happy with the modified selection.

Here’s what else you’ll find in the Refine Edge dialog (see Figure 7.12):

  • A Smooth slider that works the same as the Smooth command. The available values range from 0 to 100.

  • A Feather slider, with a range from 0 to 250 pixels.

  • A Contract/Expand slider that can reduce or increase the size of the selection by up to 100%.

  • A choice of preview methods: Standard or Custom Overlay Color. With Standard, you see the customary “marching ants” selection marquee. With Custom Overlay Color, you see the same colored mask that appears when you use the Mask option with the Selection Brush. Everything outside the selection is covered in the masking color, and anything that’s not masked is selected. This viewing mode is particularly useful when you’re feathering a selection; you can really see how soft the edge is with different settings instead of having to guess.

The Refine Edge dialog bundles together several useful selection commands with a preview—who could ask for more?

Figure 7.12. The Refine Edge dialog bundles together several useful selection commands with a preview—who could ask for more?

Did you Know?

You can choose your own color by double-clicking the Custom Overlay Color Button; that’s where the word Custom in the name comes from. In the Custom Overlay Color dialog, click the color swatch to open the color picker, choose a new color, enter a percentage indicating how opaque you want the mask to be, and then click OK.

Stroking and Filling Selections

Selections are useful in many ways: You can cut or copy their contents, paste the contents of the Clipboard into them, and apply image enhancements and filters to the area they contain. But did you know you can also fill them up with paint? Or give them painted borders? Oddly, the commands to accomplish these two things are located in the Edit menu instead of the Select menu.

To fill a selection with paint, choose Edit, Fill Selection and make your choices in the Fill Layer dialog (see Figure 7.13). First, you need to choose a color or pattern to use for the fill from these options:

  • Foreground Color

  • Background Color

  • Color (This choice opens the color picker so that you can choose a color.)

  • Pattern (After you make this menu choice, you need to pick a pattern from the Custom Pattern menu below the Use menu.)

  • Black

  • 50% Gray

  • White

Don’t forget that fills don’t have to be 100% opaque.

Figure 7.13. Don’t forget that fills don’t have to be 100% opaque.

After you’ve chosen the fill’s contents, you get to set a few other options, starting with blending mode. This setting determines how the new fill color is affected by the colors it’s covering; Normal means that it completely covers them. Feel free to experiment with different settings. If you’re really curious about how the different blending modes work, you can skip ahead to Hour 22, “Making Composite Images.”

You can also specify an Opacity percentage for the fill. Perhaps you don’t want to completely cover the existing contents of the selection; if so, choose a percentage less than 100. If the selected area has transparent areas that you want to keep transparent, check Preserve Transparency.

Applying a border to a selection works similarly. Choose Edit, Stroke (Outline) Selection and make your choices in the Stroke dialog (see Figure 7.14). Most of them are the same as the options in the Fill Layer dialog: Choose a color, choose an opacity percentage and a blending mode, and choose whether to retain transparent areas. Because you’re creating a border, you also have to decide how wide to make it, in pixels, and whether you want it to fall outside the selection marquee, inside the marquee, or centered on the marquee.

The Stroke dialog looks much like the Fill Layer dialog, with added settings for the width and location of the stroke you’re adding.

Figure 7.14. The Stroke dialog looks much like the Fill Layer dialog, with added settings for the width and location of the stroke you’re adding.

By the Way

If you apply a stroke to a feathered selection, the stroke itself will be soft-edged.

Working with Layers

Think of a layer in a Photoshop Elements image as similar to a sheet of clear plastic, such as the ones used with overhead transparency projectors. When you put image elements on layers, you can stack and restack them to change which ones are in front of which other ones. You can also modify each layer’s colors, size, position, or special effects without touching the objects on the other layers.

Managing Layers

Most of the Layers palette’s functions are accessible in four ways: via the Layers menu, via the Layers palette menu, using buttons on the Layers palette, and using keyboard shortcuts. Whichever method works best for you is fine.

By the Way

All the functions in this section work with both regular layers and adjustment layers. An adjustment layer is one that doesn’t contain part of the image, but instead contains a modification to color or lighting that operates on the layers below it. We look at adjustment layers in Hour 22.

Adding and Deleting Layers

To create a new layer, do one of the following:

  1. Click the New Layer button on the Layers palette.

  2. Choose Layer, New, Layer and click OK in the New Layer dialog.

  3. Press Shift+Ctrl+N.

  4. Choose New Layer from the Layers palette menu and click OK in the New Layer dialog.

  5. Double-click the Background layer’s thumbnail in the Layers palette and click OK in the New Layer dialog.

I won’t lay out all these options for each command in this section, but this list gives you an idea of where to go to find the layer functions you want.

By the Way

Drawing with a Shape tool or using the Type tool automatically creates a new layer for the shape or type to inhabit.

At any rate, when you create a layer, it shows up as a new entry in the Layers palette and becomes the active layer. It’s positioned just above the layer that was active before you created the new one (see Figure 7.17). New layers are usually given the name Layer and a number (shape layers are called Shape 1, Shape 2, and so on), but you can change a layer’s name by double-clicking the name and typing in a new one.

Layer 2 appears below Layer 1 because the Background layer was active when I created the new layer.

Figure 7.17. Layer 2 appears below Layer 1 because the Background layer was active when I created the new layer.

Did you Know?

You can also change a layer’s name in the Layer Properties dialog, accessed by clicking the layer’s thumbnail in the Layers palette.

Having created a layer, you can delete it by dragging its entry to the Trash icon on the Layers palette; by choosing Layer, Delete Layer; or by right-clicking its entry and choosing Delete Layer from the contextual menu. If you use either of the latter two methods, you’re asked to confirm the deletion by clicking OK; by contrast, using the Layers palette’s Trash icon doesn’t give you a chance to change your mind. Not to worry, however—you can always undo your action.

Moving and Combining Layers

A layer’s most important attribute is its stacking order. The Background layer is always at the bottom of the layer stack, as shown by its position at the bottom of the Layers palette. The other layers are stacked on top of it in order, from bottom to top. You can move a layer in the stacking order by dragging its thumbnail to a new position in the Layers palette list (see Figure 7.18). The only place you can’t move a layer, in fact, is below the Background layer.

When the leaf layer is above the starfish layer in the Layers palette, it hides part of the starfish. Moving the starfish layer above the leaf layer reveals all of the starfish and hides part of the leaf.

Figure 7.18. When the leaf layer is above the starfish layer in the Layers palette, it hides part of the starfish. Moving the starfish layer above the leaf layer reveals all of the starfish and hides part of the leaf.

Did you Know?

If you absolutely must move a layer below the Background layer, first you need to turn the Background layer into a regular layer. Right-click its thumbnail in the Layers palette and choose Layer from Background in the contextual menu. Now, instead of a Background layer, you have Layer 0, which you can move like any other layer.

In addition to moving layers, you can combine them using the Merge commands. Merging layers into one makes sure that the objects they contain will move together, but you might also merge layers if you want them to have a single combined drop shadow or other layer style, for example. To combine a layer with the layer immediately below it, choose Layer, Merge Down, or press Ctrl+E (see Figure 7.19). Alternatively, you can select the layers you want to combine in the Layers palette (Ctrl+click to select more than one layer at a time) and choose Layer, Merge Down. Or if you want to merge all the layers that aren’t hidden, choose Layer, Merge Visible, or press Shift+Ctrl+E. Finally, you can combine all the layers back into a single Background layer by choosing Layer, Flatten Image.

Each of these shapes started with its own layer, but I merged them all into a single layer.

Figure 7.19. Each of these shapes started with its own layer, but I merged them all into a single layer.

Grouping and Linking Layers

If you have two or more layers that work together as a group, you can link them together so that one can’t be repositioned without taking the others along, or you can group them so that the contents of the upper layer are visible only where the lower layer has pixels.

Linking is simple. Shift+click in the Layers palette to select the layers you want to link; then click the Link Layers button at the top of the palette—it looks like a three-link chain. When they’re linked, layers move together until you unlink them.

Grouping, on the other hand, is a bit more complicated. You can group more than two layers, but let’s start with two for the purposes of explanation. Of these two, the lower one is being used only for its shape, not its color or pattern, and the upper one is being used only for its color or pattern, not its shape. To group the two layers, Alt+click the line between their entries in the Layers palette, or click the upper one and choose Layer, Group with Previous (or, if you prefer, press Ctrl+G). The upper layer hides the contents of the lower layer, but the upper layer’s shape is now determined by the nontransparent pixels on the lower layer (see Figure 7.20). To ungroup layers, Alt+click again on the line between the two layers, or choose Layer, Ungroup.

The puzzle-piece shape on the lower layer masks the photo, but you can see from the Layer palette’s thumbnail that the whole picture is still there.

Figure 7.20. The puzzle-piece shape on the lower layer masks the photo, but you can see from the Layer palette’s thumbnail that the whole picture is still there.

By the Way

You can’t group a layer with the Background layer—okay, you can, but because the Background layer is completely opaque by definition, grouping another layer with it has no effect.

Changing Layer Visibility and Opacity

If you need to peek behind a layer, it’s easy to hide it by clicking the eye icon next to its entry in the Layers palette; to show it again, click the empty space where the eye was. If you press Alt as you click, you hide or show all the layers except the one on which you’re clicking. Be aware that you can hide the currently active layer, and you can’t paint (or do anything else) on it when it’s hidden; if you try, you’ll see a dialog box asking if you want to make it visible.

One of the coolest things about layers is that they don’t have to be opaque. You can determine how transparent each layer is by setting an Opacity percentage at the top of the Layers palette, allowing some of the contents of the layers below to show through (see Figure 7.21). Each layer has its own blending mode, which you can also change; to learn more about blending modes (now, say it with me), turn to Hour 22.

Changing the starfish layer’s Opacity to 60% allows the leaf layer below it to show through.

Figure 7.21. Changing the starfish layer’s Opacity to 60% allows the leaf layer below it to show through.

Summary

In this hour, you learned about the wide variety of Selection tools that Photoshop Elements offers. You used those tools to make selections and then to add to them, subtract from them, and reshape them in other ways. You also learned how to soften the edge of a selection through feathering. You saw how Photoshop Elements can help you make selections based on color or shape. And you looked at layers and learned about three kinds of layers—regular ones, Background layers, and adjustment layers; you also learned how to create, delete, and move layers.

Q&A

Q.

How do I know which selection tool to use for each job?

A.

It all depends what you want to base the selection on. Do you want to select a specific object in the picture? Try the Magnetic Lasso or the Quick Selection tool. Or do you want to select a specific shape within an image area? Then use one of the other Lasso tools or one of the Marquee tools.

Q.

Can I always use the Paint Bucket to fill selections? It’s so much simpler than working through the Fill Layer dialog.

A.

Good question! The Paint Bucket has changed its painting ways since Photoshop Elements first came out, so it could be the first place you turn for fills if you’re used to an older version of Photoshop Elements or another paint program. However, these days, the Paint Bucket is a hybrid of its old self and the Magic Wand, meaning that it only fills pixels that are close in color to the pixel where you click. Think of it as a one-step combination of making a Magic Wand selection and then filling that selection with the Fill command.

Q.

In a nutshell, what’s the difference between the Background layer and a regular layer?

A.

Two things: You can’t move the Background layer, and you can’t see through it; it’s always completely opaque. But as you learned in this hour, you don’t need to have a Background layer in every image. You always start with one, but you can convert it to a transparent layer anytime you want.

Workshop

Try answering these quiz questions to see how well you understand the selections and layers information we covered in this hour. Then give the activities a try for bonus points.

Quiz

1.

Which of the following is not a Selection tool?

  1. Move tool

  2. Magnetic Lasso

  3. Magic Wand

  4. Elliptical Marquee

2.

Which of the following keys should you press while using a Selection tool to select the intersection of the new selection and an existing one?

  1. Shift

  2. Alt

  3. Ctrl

  4. A and B

3.

How many layers can be active at one time?

  1. One

  2. As many as the image contains

  3. Up to four

  4. Only the most recently created layer

Quiz Answers

1.

A. The Move tool isn’t a Selection tool; you can use it to move the contents of a selection without disturbing anything outside the selection marquee.

2.

D. Press Shift to add to a selection, Alt to subtract from it, and Shift+Alt to select the overlapping area, or intersection.

3.

B. This is another change from earlier versions of Photoshop and Photoshop Elements. You used to be able to select only one layer at a time, but now you can select multiple layers to link them or move them at the same time.

Activities

  1. It’s time to practice adding and subtracting to selections. Create a new, blank document (the Photoshop Elements Default Size preset is fine) and make a big circular selection in the middle of the canvas. Then press Alt and make another smaller circular selection in the middle of the first circle. Now choose a nice golden brown from the Color Swatches palette, switch to the Paint Bucket tool, and click to fill the selection. Check it out—a doughnut! What other shapes can you make by adding to and subtracting from simple geometric selections?

  2. Choose a photo in the Organizer and switch to Full Edit mode. Use a Shape tool to draw a rectangle, circle, star, or other shape in the middle of the image. This automatically creates a new layer for the shape to sit on. Now right-click the Background layer’s thumbnail and choose Layer from Background. Having done that, you can Alt+click the line between the two layers in the Layers palette to group them. Now the photo fills the shape, with the checkerboard pattern of transparency surrounding it.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset