Deke McClelland demonstrates why it’s usually best to express a selection as a dynamic layer mask. Here Deke selects a cute kitten with the Color Range command and copies it into a stormy background. Then he aligns the image using the Move tool and edits the mask on-the-fly.
- [Instructor] In this movie, I'll show you the difference between working with the static selection outline, which dramatically limits your creative options and a dynamic layer mask which is almost always the better way to go. So let's say I want to select this kitten and I want to move it against these storm clouds, in order to create this final effect here. Alright, I'll go ahead and switch over to the kitten and I'll select it by going up to the Select menu and choosing the Color Range command. Now I could try to select the animal by clicking some place inside of it and then shift dragging all over the place like so.
And eventually, I imagine I would be able to select it. But, because he's set against the white background it's so much easier to just click inside that background in order to select it. Now notice that we're selecting into the highlights in the eyes as well. Now I could increase the fuzziness value in order to create some more natural transitions around the animal, around its fur. But if I do that, I'm going to select even more of its face. So, I'm just going to leave the fuzziness value set to 40. You might wonder why I don't take it down to something lower in order to more or less get rid of these highlights.
But notice if I switch the Selection Preview from None to Grayscale, that we still go ahead and select the highlights, it's just that we have more jagged hair. So we're better off with a fuzziness value of 40. Now of course I want to select the animal and not its background, so I'm going to turn on the invert checkbox like so. At which point, we'll see that there's a few other gray pixels hanging out inside the cat's face, which is ultimately going to be a problem for us. Alright, but there's something I can do about it here so I'll just go ahead and click OK, in order to select that cat.
Alright, now let's say we just want to work with this static selection outline. Then, what you could do is go up to the Edit menu and choose the Copy command. Or of course you have that keyboard shortcut of control C here on a PC or command C on a Mac. Then I'll switch over to the storm clouds image and I'll go out to the Edit menu and choose the Paste command or you could press control V or command V on a Mac. And notice if I zoom out a little bit here that he's not centered and he's also not aligned to the bottom of the canvas. To fix that, I'll press control A or command A on a Mac to select the entire image.
And then I'll switch to the Move Tool at the top of the tool box which I can get by pressing the V key. And now I'll go up to the Options bar and I'll click on this third icon, Align bottom edges, which is going to align the cat to the bottom of the canvas which is exactly what I want. And then I'll click on this Align horizontal centers which should, theoretically, center the cat but it doesn't actually do anything. And that's because of the weird shape of the selection outline. Photoshop has decided it needs to center things between the far left point of the cat in the bottom left corner and the far right point in the top right corner, the top right of the ear, that is, which is not what I want.
So I'll just go ahead and press control D or command D on the Mac and then it turns out that in order to center the animal, I need to press shift left arrow, one, two, three, four, five, six, seven, eight, nine, 10, 11, 12, 13, 14, 15 times and I just happened to know that from experience at which point, he starts to look centered. But, we've got some problems. For one thing, we have these bright fringes around the cat's fur, which don't really match with the background. And then, if you zoom in on the eyes, you can see that we've got problems in both the left and right eyes.
And at this point, because we're working with the static selection outline, we do not have access to those original pixels so there's really nothing we can do. Compare that to what happens if I go ahead and press the backspace key or the delete key on the Mac to get rid of the cat, and I switch back to the original image there. And instead of working with the static selection outline, we work with a dynamic layer mask instead. And we're going to do that just by dropping down to the Add layer mask icon, at the bottom of the Layers panel.
That automatically converts the selection to a mask. So that we can see everything inside the selection and everything outside the selection disappears and turns into this checkerboard transparency. Now notice that Photoshop has automatically converted the background to a floating layer, which it's calling Layer zero. I'll go ahead and rename that layer, cat. And then I'll switch back to my rectangular marquee tool, which I can get of course by pressing the M key. And I'll right click some place inside the image window and I'll choose Duplicate Layer and then I'll change the destination document to storm clouds and I'll click OK.
Alright now if we switch over to the storm clouds document, the cat is aligned to the bottom of the image automatically. And that's because the cat and the clouds are exactly the same height. However, they are not the same width which means I need to center this cat by switching to the Move Tool and then I'll press control A or command A on the Mac to select the entire image. And now notice when I click on Align horizontal centers, everything works out exactly the way it should and that's because Photoshop is smart enough to go ahead and center the full layer instead of just what was formally a selection outline.
Alright so I'll go ahead and press control D or command D on a Mac to deselect the image. And we have the exact same problem by the way, we're missing the eyes as you can see right here. But, we can address that problem by switching to the layer mask. And so you want to just go ahead and click on the thumbnail for the layer mask, here inside the Layers panel. And if you want to see that mask independently of the image, then just alt or option click on it like so. And now, let's just go ahead and zoom out a little bit here and then switch to the rectangular marquee tool and just go ahead and marquee this junk in the center right there.
Make sure that your foreground color is set to white and if it's not, just go ahead and tap the D key and D, as you may recall, stands for default colors. And then press alt backspace here on the PC or option delete on the Mac to fill that selection with white. And now, just go ahead and press control zero or command zero on a Mac to zoom out. And make sure that you don't have any white columns on the left and right sides. If you do, just go ahead and fill those with black. I don't because my background color was by default black in the first place, so everything's looking fine.
Which means I can press control D or command D on a Mac in order to deselect the image. And then, just click on the thumbnail for the cat itself, here inside the Layers panel in order to switch back out and you can see that the face is now entirely intact. And that is a very basic demonstration of why dynamic layer masks are so much better than static selection outlines for all compositing purposes here inside Photoshop.
Author
Updated
5/2/2017Released
2/15/2017In this course, Deke takes you through advanced Photoshop features including automated selection tools, color range, focus area, and refine edge features. Additionally, the nondestructive editing workflows are demonstrated. Uses for Smart Objects, Liquify—for slimming and trimming—and techniques for drawing and designing with vector shapes are shown. Plus, discover how to improve a photo with poor composition by reconstructing it with Content-Aware Scale, healing tools, and blend modes. These tutorials feature all-new projects and exercise files, so there's something new for even long-time Deke fans.
New in 2017: Chapters 16–30 offer a whole new way to work with Photoshop CC. This new set of tutorials covers layer effects, Levels and Curves adjustments, lens corrections and perspective warping, black and white photography, and so much more.
- Selecting objects in photographs
- Refining masks with the Smudge tool, Refine Mask, and Refine Radius
- Using the Focus Area tool
- Skewing and distorting a layer
- Transforming and duplicating in one operation
- Warping text
- Creating and masking Smart Objects
- Applying Smart Filters
- Nesting Smart Objects
- Using Content-Aware Scale
- Applying stack modes
- Using the Liquify filter
- Drawing custom vector shapes
- Adjusting contrast, color, and luminance with blend modes
Skill Level Advanced
Duration
Views
Q: This course was updated on 05/02/2017. What changed?
A: A new video was added that covers bringing back Refine Mask.
Related Courses
-
Deke's Techniques
with Deke McClelland140h 11m Intermediate
-
Introduction
-
Welcome1m 53s
-
-
16. Color Range and Focus Area
-
Adding a rocket plume4m 32s
-
Using the Focus Area tool4m 50s
-
17. Layer Masks and Edge Refinement
-
Compositing like a pro2m 2s
-
Real-world layer masking7m 21s
-
Bringing back Refine Mask5m 24s
-
-
18. Scale, Rotate, Skew, and Warp
-
Meet the transformations1m 32s
-
-
19. Smart Objects
-
Indestructible envelopes1m 46s
-
Masking smart objects8m 53s
-
Editing a filter mask6m 53s
-
Protecting editable text5m 8s
-
Using nested smart objects5m 25s
-
-
20. Image Reconstruction
-
Applying an image stack mode6m 47s
-
21. Liquifying an Image
-
Perfecting the human form1m 13s
-
Face-Aware Liquify5m 29s
-
-
22. Vector Shapes
-
23. Blend Modes
-
Blending layers like a pro1m 25s
-
Normal and Dissolve4m 54s
-
Using the Dissolve mode5m 44s
-
Using the Multiply mode6m 59s
-
Using the Screen mode9m 31s
-
The Brush tool blend modes5m 34s
-
-
24. Layers Effects
-
Depth, contour, and texture1m 32s
-
Applying a Drop Shadow6m 23s
-
Applying an Inner Shadow6m 19s
-
Introducing Bevel & Emboss7m 13s
-
-
25. Levels and Curves
-
Mastering the histogram1m 20s
-
Previewing clipped pixels6m 10s
-
-
26. Lens Correction and Perspective Warp
-
Introducing Lens Correction3m 52s
-
27. Advanced Camera Raw
-
Auto-correcting a JPEG image5m 13s
-
Using the Radial Filter tool6m 57s
-
28. Black and White Photography
-
Tinting an image3m 21s
-
Split Toning in Camera Raw3m 45s
-
29. Duotones and Colorization
-
Quick-and-dirty colorization3m 11s
-
30. Sharpening Details
-
How sharpening works1m 40s
-
Introducing Unsharp Mask7m 16s
-
Introducing Smart Sharpen5m 33s
-
-
Conclusion
-
Until next time57s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Static selection vs. dynamic layer mask