Sub topic 12
Refining Edges with Select and Mask
This chapter assumes you can create a layer mask, make basic selections, and use the Layers, Tools, and Properties panels. Select and Mask is Photoshop’s workspace for improving a selection or layer-mask edge, especially around hair, fur, leaves, and other detailed subjects.
Open the Select and Mask workspace
Start with a selection or a layer mask.
- Select the layer that contains the subject.
- Create a rough selection with Quick Selection, Object Selection, or another selection tool.
- Choose Select > Select and Mask.
- If the layer already has a mask, select the mask thumbnail before opening the workspace.
Photoshop displays the subject against a preview background. The preview helps you judge which areas are included and which areas are hidden. Use the View menu to switch between modes such as Onion Skin, Overlay, and On Black. Choose the mode that makes the edge easiest to see.
Improve the edge
Use the controls in a deliberate order.
1. Set the edge-detection radius
In Edge Detection, increase Radius when the edge contains fine detail or uneven transitions. Enable Smart Radius when the image has both smooth edges and detailed edges.
A large radius does not automatically create a better mask. It can pull in unwanted background pixels. Use the smallest radius that captures the important edge detail.
2. Refine difficult areas
Choose the Refine Edge Brush Tool. Paint along hair, fur, or other complicated boundaries. The tool analyzes the pixels inside the brush area and tries to separate foreground detail from the background.
Paint only over the edge. Avoid brushing across large, solid areas of the subject because Photoshop may reinterpret those areas unnecessarily. If the result includes background color, reduce the brush size and paint again more carefully.
3. Apply global refinements
The Global Refinements controls affect the entire edge:
- Smooth removes small bumps from a selection.
- Feather softens the transition between visible and hidden pixels.
- Contrast makes the edge harder and more defined.
- Shift Edge moves the boundary inward or outward.
Use small values. Too much smoothing removes detail. Too much feathering creates a halo. Increasing contrast can help a clean object edge, but it usually damages delicate hair.
Choose the output
In the Output Settings section, set Output To to Layer Mask. This sends the refined result to a mask instead of deleting pixels. Keep Decontaminate Colors disabled unless a colored fringe remains around the subject. When enabled, it can replace edge colors with nearby subject colors, but it may permanently alter the layer’s edge pixels.
Click OK to return to the document. Inspect the mask in the Layers panel. If the edge needs more work, select the mask and paint with a soft brush using black to hide, white to reveal, or gray for partial visibility.
A useful workflow is:
Common errors
- Using a large radius on every image can include background pixels.
- Feathering too much makes the subject look cut out or blurry.
- Refining the whole subject with the edge brush can remove solid areas.
- Outputting to New Layer instead of Layer Mask can make later editing less convenient.
- Judging only the preview can hide problems. Check the final mask against both light and dark backgrounds.
Exercise
You are masking a person with loose hair against a bright sky. Which Select and Mask controls should you try first, and where should you use the Refine Edge Brush Tool?
Show answer
Start with Smart Radius and a modest radius. Paint the Refine Edge Brush Tool along the loose hair and the boundary, not across the person’s solid interior. Output the result to a Layer Mask and inspect it at 100% zoom.