POWERFUL Photoshop Masking Technique (Detail Mask)

125K views 4,065 likes 242 comments

Jump to a step in the video (5)

Click a time to play the video from there.

  1. 0:00 Introduction
  2. 0:12 Question From Online Viewer About Masking
  3. 0:58 How the Sharpen Masking Slider Works
  4. 2:06 First Technique - Find Edges Filter
  5. 3:24 New Technique - Glowing Edges Filter
Show Shortcuts for
Text size
Appearance

Your choices stick across every tutorial on this device.

Detail mask in Photoshop targets only the sharp edges and fine detail in a photo, letting you sharpen or adjust that detail without touching the rest of the image.

In this Photoshop tutorial, you will learn how to create a detail mask using non-destructive techniques.

A detail mask allows you to target the detail and edges of a photo. It is very similar to the mask in the Sharpening Tool’s Masking slider found in Camera Raw or Lightroom.

If you just need crisper edges instead of a mask, see these two ways to sharpen photos in Photoshop.

This tutorial is inspired by a live audience question that I received during a masking class I taught at CreativeLive’s Photoshop week.

Bruce asked:

“Is there a way to make a mask based on detailed density? That mask exists in Lightroom for the Sharpening tool. But I’d like to use it in Photoshop, but can’t figure out if that exists.”

In other words, can you use the Sharpening Mask in Camera Raw or Lightroom in Photoshop?

The short answer is no. But we can replicate that effect in Photoshop using filters. The resulting effect could then be used as mask to target the details in a photo.

The technique that I showed during the live presentation was good, but I’ve come up with a better workflow.

In this tutorial, I will show you both methods that I’ve come up with to answer these questions.

We will use the image below to go through both methods!

Key Takeaways

  • A detail mask isolates the edges and fine detail in a photo, the same area the Masking slider targets in Camera Raw and Lightroom’s Sharpening tool.
  • Photoshop has no built in sharpening mask slider, but the Find Edges and Glowing Edges filters can recreate the same effect.
  • The Find Edges method is faster, but it works directly on pixels and gives you no way to adjust the intensity afterward.
  • Building the mask on a duplicated Smart Object keeps the Black and White adjustment and the filter fully editable.
  • CtrlAlt2 (Windows) or CommandOption2 (macOS) loads the bright pixels of a black and white image as a selection.
  • The Filter Gallery, which the Glowing Edges filter needs, only works on 8-bit images.

What You Will Learn

  • How to build a detail mask with the Find Edges filter
  • How to build a non-destructive detail mask with the Glowing Edges filter and a Smart Object
  • How to load the bright pixels of a mask as a selection
  • How to fine-tune a mask’s intensity with Levels

Requirements

Before you start

Detail Mask in Photoshop Keyboard Shortcuts

ActionWindowsmacOS
Show the sharpening mask overlay in Camera Raw or LightroomAlt (hold)Option (hold)
Desaturate a normal layerCtrl Shift UCommand Shift U
Invert pixelsCtrl ICommand I
Load the bright pixels of an image as a selectionCtrl Alt 2Command Option 2
Duplicate the Smart ObjectCtrl JCommand J
Load a channel thumbnail as a selectionCtrl clickCommand click
Photo used to build a detail mask in Photoshop

How the Sharpening Masking Slider Works

In both Lightroom and Camera Raw, under the Details tab, you can adjust the sharpness of a photo. The Amount slider increases sharpness, and it affects the whole image equally.

Camera Raw and Lightroom also let you build Range Masks for other targeted, luminance based adjustments.

If you would like to limit the sharpening effect to the edges of the photo, then you can use the Masking slider.

Camera Raw Masking slider for sharpening

Unfortunately, you really can’t see what the sharpening is applied to when you drag the Masking slider. But if you hold Alt (Windows) or Option (macOS) as you drag the slider, you will see the mask overlay.

Mask overlay that appears while holding Alt and dragging the Masking slider

Just like a Layer Mask, black hides, and white reveal. The areas that are white will have a sharpening effect applied to them while the black areas will remain unaffected.

This detail mask is what Bruce was referring to with his question. How can we get this mask into Photoshop?

Make a Detail Mask Using The Find Edges Filter

I didn’t have much time to think when the question was asked, but I came up with a solution that gave good results.

I knew that we couldn’t export the mask from Lightroom or Camera Raw into Photoshop. However, we could replicate the effect and turn that into a mask.

The Masking slider was simply finding the edges of a photo, and I know that Photoshop has a filter that does just that.

Step 01: Use the Find Edges Filter

As the name suggests, the Find Edges filter allows you to find edges in a photo much like the Masking slider.

You can go into Filter > Stylize > Find Edges.

This filter does not have any settings that you can adjust, but it gives you great results.

Find Edges filter applied to a portrait in Photoshop

Step 02 – Desaturate the Image

The result is pretty good, but it has two problems.

The first problem is that the effect contains color. But we need a black and white image so that we can use it as a Layer Mask.

We can easily desaturate the layer by pressing CtrlShiftU (Windows) or CommandShiftU (macOS).

Desaturating the Find Edges result in Photoshop

Step 03 – Invert The Pixels

The second problem is that we want an inversion of the result.

Remember that with a Layer Mask, white reveals and black conceals. So, we want the edges to be white so that they are selected. The rest of the image should be black so that those areas are not selected.

Then to invert colors, to make white black, and black white, you can press CtrlI (Windows) or CommandI (macOS).

Inverted pixels forming the detail mask

Step 04 – Adjust The Effect If Necessary

The downside of the Find Edges filter is that it does not give you options to adjust the intensity of the effect. If you would like to adjust the intensity of the effect, then you can use the Levels Adjustment.

Go to Edit > Adjustment > Levels and adjust your image accordingly.

Step 05 – Load the Bright Pixels As a Selection

Once you are happy with your image, you will need to load it as a selection.

Luckily this is really easy to do. Simply press CtrlAlt2 (Windows) or CommandOption2 (macOS) to load the bright pixels of the image as a selection.

You will see the marching ants around the bright pixels of the image. You can use that selection to create a Layer Mask that will target the detail in the photo.

For more ways to build and refine a detail mask in Photoshop, see these 5 Pro Photoshop Masking Tricks.

Make a Detail Mask Using The Glowing Edges Filter

Now that I’ve had more time to think about it, I’ve come up with a better way of creating a Detail Mask. It is a non-destructive method that gives you more flexibility. The only downside is that you have to use 8-bit images.

Step 01: Convert Your Image Into a Smart Object

The first step is to convert your image into a Smart Object to work non-destructively.

A Smart Object is a container that allows you to make changes and adjustments to a layer (or multiple layers) without destroying the pixels. This means that you can always come back and make changes to the adjustments or remove them entirely.

To make a layer into a Smart Object, right-click on the layer from the Layers Panel and select Convert To Smart Object.

Step 02: Duplicate the Smart Object

Then duplicate the Smart Object by pressing CtrlJ (Windows) or CommandJ (macOS).

We will use the duplicate Smart Object (the one on top) to apply the effects that will create the Detail Mask.

Duplicate Smart Object

Step 03: Desaturate The Smart Object

We need to desaturate the image, but the keyboard shortcut to desaturate layers that we used in the first example will not work with a Smart Object.

Select the duplicate Smart Object, then go to Image > Adjustment > Black and White.

Black and White adjustment on the duplicate Smart Object

Step 04: Apply The Glowing Edges Filter

In the previous example, we used the Find Edges filter which gave us a good result, but it didn’t give us control over the effect.

Photoshop has a similar filter called Glowing Edges which also finds edges, but it gives you three sliders to control how the effect is applied.

Glowing Edges filter settings for an edge mask

Go into Filter > Filter Gallery. Under the Stylize folder select Glowing Edges.

Use the three sliders to get an effect that you are happy with.

Note: The Filter Gallery only works with 8-bit images, so this option will be grayed out for 16-bit or 32-bit images.

Portrait after the Glowing Edges filter from the Filter Gallery traces the edges

Step 05: Adjust the Brightness If Necessary.

If the sliders in the Glowing Edges filter did not give you the result that you were looking for, then you can use levels to adjust the brightness. Go into Image > Adjustment > Levels, and you can fine-tune those edges with the sliders.

Step 05: Fine-Tune Adjustments and Filters If Necessary

The advantage of working non-destructively with a Smart Object is that you can edit any filter or adjustment if you need to.

From the layers panel, you will see that your Smart Object contains the label of all the adjustments and filters that you have applied. To adjust any one of them, double-click on the label to open that adjustment or filter.

Edit Smart Object Adjustments and Filters

Step 06: Load the Bright Pixels As a Selection

Once you are happy with your image, you will need to load it as a selection.

Just like in the previous example, you can press CtrlAlt2 (Windows) or CommandOption2 (macOS) to load the bright pixels of the image as a selection.

You will see the marching ants around the bright pixels of the image, and you can use that selection to create a Layer Mask.

If you can not remember the keyboard shortcut, you can also go into the channels panel and Ctrl (Windows) or Command (macOS) click on any one of the channel thumbnails. They are all the same since we are working with a black and white image.

This channel based approach is also the foundation of Channel Masking in Photoshop, which uses the same Channels panel to cut out complex subjects.

Once you have a selection active, you can turn it into a Layer Mask, or apply it to an Adjustment Layer.

How Will You Use The Detail Mask?

I’m not sure how Bruce was going to use the detail mask, but I am interested to know if you’ll have a use for it.

Let me know in the comments on the video if you intend on using this technique in your projects.

Frequently Asked Questions

What is a detail mask in Photoshop?

A detail mask is a mask that targets only the edges and fine detail in a photo, similar to the Masking slider in Camera Raw and Lightroom’s Sharpening tool. Photoshop has no equivalent slider, but you can recreate the effect with a filter.

Does Photoshop have a Masking slider like Camera Raw?

No. Photoshop’s sharpening tools do not include a masking slider. You have to build a detail mask yourself with the Find Edges or Glowing Edges filter, then use it as a layer mask or a selection.

What does the Find Edges filter do in Photoshop?

The Find Edges filter, found under Filter > Stylize, outlines the edges in a photo automatically with no sliders to adjust. Desaturate and invert the result to get a usable detail mask.

What is the difference between Find Edges and Glowing Edges?

Find Edges is a one click filter with no settings. Glowing Edges, found in the Filter Gallery, gives you three sliders so you can control the width, brightness and smoothness of the detail mask.

Why use a Smart Object for a detail mask?

Converting the layer to a Smart Object first keeps every step editable. You can go back and adjust the Black and White settings or the Glowing Edges filter at any time, instead of starting over.

How do you turn a detail mask into a selection?

Press CtrlAlt2 (Windows) or CommandOption2 (macOS) to load the bright pixels of the black and white mask as a selection. You can also Ctrl-click (Windows) or Command-click (macOS) any channel thumbnail in the Channels panel to get the same result.

Why does the Filter Gallery only work on 8-bit images?

Photoshop disables the Filter Gallery, which the Glowing Edges filter needs, for 16-bit and 32-bit images. Convert your document to 8-bit under Image > Mode if the option is grayed out.

Conclusion

Both methods turn the edges and fine detail in a photo into a usable detail mask. Choose Find Edges for a quick result, or Glowing Edges with a Smart Object for one that stays fully editable.

Once you have the mask, you can load it as a selection. Apply that selection to a layer mask or an adjustment layer to target the detail in your own photos.

Watch the full video above, and comment on the video if you come up with your own use for a detail mask.

Pro Training

Selections and Masking Mastery

Complete course includes 2.5 hours of step-by-step lessons, 6 structured modules, downloadable practice files, and custom Photoshop brushes. Everything you need to master selections and masks in one place.

View the Course

Keep going

Next, try Channel Masking in Photoshop to cut out complex subjects with the Channels panel.

Jesús Ramirez

About the author

Jesús Ramirez

Jesús Ramirez is a graphic designer and the founder of the Photoshop Training Channel, which he started in 2012 and has grown past two million YouTube subscribers. He has taught at Adobe MAX, Adobe Summit, and Photoshop World, teaches courses for CreativeLive and Pluralsight, and was one of five artists chosen for Adobe Stock's Make a Masterpiece campaign. His Photoshop templates shipped inside Photoshop CC 2018.

More about Jesús Ramirez

Similar Posts