Sub topic 9
Refine Mask Edges with Feathering and Select and Mask
A mask edge determines how one image transitions into another. A hard edge can make a subject look cut out. A soft or uneven edge can make the subject look natural. This chapter assumes you know the Photoshop interface, can create a selection, and understand that a layer mask uses white to reveal pixels and black to hide them.
How edge refinement works
A selection creates a boundary around a subject. When you convert that selection into a layer mask, Photoshop turns the boundary into mask pixels:
- White reveals the layer.
- Black conceals the layer.
- Gray reveals the layer partially.
- Gray pixels create a gradual transition at the edge.
Feathering creates gray pixels by softening the selection boundary. It is useful for soft objects, distant subjects, and composites where the transition needs to disappear gradually. It is usually a poor choice for detailed edges such as hair, leaves, or sharp clothing because too much feathering can make the subject look blurry.
| Tool or setting | Main use | Common risk |
|---|---|---|
| Feather | Softens a selection before creating or applying a mask | A large value produces a blurry edge |
| Smooth | Removes small bumps from a selection | Fine details may disappear |
| Contrast | Makes a soft edge harder | Can create a jagged or bright edge |
| Shift Edge | Moves the mask boundary inward or outward | Excessive movement cuts off details or reveals the background |
Check the mask before refining
In the Layers panel, click the mask thumbnail rather than the image thumbnail. A white border around the mask thumbnail shows that the mask is active. If you edit the image thumbnail by mistake, you may change the photograph instead of the mask.
To inspect the edge, zoom to 100% or more. Place a contrasting temporary layer below the subject layer. For example, a solid dark layer makes pale halos visible, while a light layer exposes dark fringes. Remove or hide this inspection layer when you finish.
Refine an edge with Select and Mask
Select and Mask is a workspace for improving an existing selection or mask.
- Select the subject layer and click its mask thumbnail.
- Choose Select > Select and Mask. You can also open it with the Properties panel for the mask.
- Choose a view such as On Black, On White, or Overlay. Change the view while inspecting different parts of the edge.
- Use the Refine Edge Brush Tool around hair, fur, or other fine detail. Paint across the edge, not across the entire subject.
- Adjust the global settings carefully:
- Smooth reduces small irregularities.
- Feather softens the transition.
- Contrast strengthens the edge after feathering.
- Shift Edge contracts or expands the mask.
- Set Output To to Layer Mask, then select OK.
The best settings depend on the image resolution and the subject's distance from the camera. Use the smallest values that remove visible problems.
Common edge problems
A bright outline often means the original subject was photographed against a lighter background. Try a small inward Shift Edge value or paint black gently on the mask.
A cut-off subject usually means the selection was contracted too far or the brush removed too much mask area. Paint white on the mask to restore the missing part.
An edge that looks correct when zoomed in may still look unnatural at normal size. Check the composite at 100% and at the final viewing size. If the transition is too soft, reduce mask feathering or increase contrast slightly. If it is too hard, add a small amount of feathering instead of using a large soft brush.
Exercise
A composite has a thin light halo around a selected subject. Which adjustments should you try first, and why?
Show answer
Inspect the edge on a contrasting background, then try a small inward Shift Edge value or paint black softly along the mask edge. Use a small Feather value only if the transition is genuinely too hard, because excessive feathering blurs the subject.