Sub topic 9
Refining Edges in Select and Mask
This chapter assumes you can create a selection, change selection modes, and work with layers. You should also know that a selection is temporary, while a layer mask can preserve the original pixels. The Select and Mask workspace helps you inspect and improve the boundary between selected and unselected areas.
When to use Select and Mask
Open Select and Mask after creating a rough selection with Object Selection, Quick Selection, Select Subject, or a Lasso tool. Choose Select > Select and Mask. Photoshop opens a workspace with a preview, refinement tools, and output settings.
Use this workspace when the selection is mostly correct but its edge needs work. Typical problems include:
- A hard edge around hair, fur, or fabric.
- A halo of background color around the subject.
- Small gaps between the subject and the selection boundary.
- An edge that looks jagged or too sharp.
- Semi-transparent areas, such as veils or glass, that need careful handling.
Select and Mask does not identify every boundary perfectly. It gives you tools for telling Photoshop which edges are important and how the final result should be created.
Inspecting the selection
The View menu controls how Photoshop displays the selection. Overlay shows the unselected area with a colored tint. On Black, On White, and On Layers help you judge whether the edge will work against its intended background. Use different views because an edge can look clean on one background and show a halo on another.
The Transparency control changes how much of the original image remains visible in the preview. Zoom in to inspect important edges, then zoom out to check the overall shape.
The Refine Edge Brush Tool is useful for complicated boundaries. Paint across the edge, including a small amount of the foreground and background. Photoshop analyzes the painted area and tries to find details such as individual hairs. Use a smaller brush for narrow areas and a larger brush for broad, irregular edges.
The regular Brush Tool modifies the selection directly. Paint over an area to include it or remove it, depending on the selected mode. This tool is better for correcting clear mistakes than for discovering a difficult edge.
Edge Detection settings
The Radius setting defines the zone around the current edge that Photoshop examines. A small radius works well for a clean, sharp object. A larger radius gives Photoshop more room to analyze hair, leaves, or other detailed boundaries.
Smart Radius lets Photoshop vary the radius according to local edge detail. It can help when one part of the subject is smooth and another part is complex. However, a large radius or Smart Radius can pull unwanted background into the selection. Increase the setting gradually and inspect the result at several zoom levels.
The Smooth, Feather, Contrast, and Shift Edge controls adjust the result after detection.
| Setting | Effect | Common use |
|---|---|---|
| Smooth | Removes small bumps | Cleaning a slightly uneven outline |
| Feather | Creates a soft transition | Avoiding a cutout-looking edge |
| Contrast | Makes the boundary harder | Strengthening a soft, low-contrast edge |
| Shift Edge | Expands or contracts the boundary | Removing a thin halo or recovering missing detail |
Use the smallest adjustment that solves the problem. Too much feathering can blur important detail. Too much contrast can create jagged edges. Excessive Shift Edge can cut into the subject or include background pixels.
Decontaminate Colors and output
If the subject has a colored fringe from its original background, enable Decontaminate Colors. Photoshop replaces some fringe pixels with colors sampled from the subject. Adjust the amount carefully because this changes image pixels, not only the selection boundary.
The Output Settings section determines what Photoshop creates. You can output a selection, a layer mask, a new layer with a layer mask, or another available option. For a reversible edit, choose Layer Mask or New Layer with Layer Mask. A mask hides pixels without deleting them, so you can paint on the mask later.
The workspace follows this general process:
Common errors
A frequent mistake is painting over the entire subject with the Refine Edge Brush. That can make Photoshop reconsider areas that were already accurate. Paint mainly across uncertain boundaries.
Another mistake is using Feather to hide a poor selection. Feathering softens the boundary but does not fix missing or extra subject areas. Correct the shape first, then apply a small amount of feathering if needed.
If the final mask has a white halo, try a slightly negative Shift Edge value, inspect the edge against the destination background, and use Decontaminate Colors only when the fringe is genuinely color contamination.
Exercise
A selection around a person includes a thin blue fringe from the original sky. Which Select and Mask controls should you try first, and what output preserves the ability to correct the result?
Show answer
Inspect the edge against the destination background, try a small negative Shift Edge value, use Decontaminate Colors carefully, and output to a layer mask so the pixels remain recoverable.