Sub topic 14
Fixing Halos, Lost Strands, and Rough Edges
This chapter assumes you know how to create a selection, open Select and Mask, and output a result as a layer mask. You will use those skills to diagnose a cutout that looks acceptable on one background but fails on another.
Test the cutout before repairing it
A mask can look clean over the original background because similar colors hide its mistakes. Place temporary layers behind the subject:
- A near-white layer reveals dark halos and missing light strands.
- A near-black layer reveals pale halos and excessive transparency.
- A saturated color, such as red or blue, exposes gray fringing and rough transitions.
Do not judge the mask only at high zoom. Inspect it at the final display size as well. A few isolated translucent pixels may represent realistic hair, while a continuous gray outline usually indicates contamination or an expanded mask.
Diagnose the visible defect
| Visible problem | Likely cause | First correction |
|---|---|---|
| Thin light or dark outline | Background color remains in edge pixels | Use Decontaminate Colors carefully |
| Hair disappears | Radius was too small or the brush removed strands | Revisit the edge with Refine Edge Brush |
| Edge looks blocky | Selection was too hard or too smooth | Reduce harsh mask transitions and restore detail |
| Subject looks cut out with a glow | Feather or Shift Edge is too strong | Reduce Feather or contract the edge slightly |
| Uneven fur boundary | Brush strokes or radius do not match the subject | Refine small regions separately |
Fix halos and color fringing
If the edge shape is correct but its pixels contain the old background color, return to Select and Mask and enable Decontaminate Colors. This replaces contaminated edge colors with colors sampled from the subject.
Increase the amount gradually. A high value can create muddy edges, alter hair color, or remove natural variation. Enable the option only when the problem is color contamination. It cannot restore strands that the mask has already removed.
If a narrow halo remains, try a small negative Shift Edge value. This contracts the mask toward the subject. Use small changes and compare the result against both light and dark backgrounds. A large contraction may remove fine fur.
Recover lost strands
Lost strands usually mean the transition area was interpreted as background. Paint over that area with the Refine Edge Brush, using a brush size that covers the hair boundary but not the subject’s solid interior. Include a little of the background in the stroke so Photoshop can recalculate the transition.
Use short strokes around separate tufts instead of one long stroke around the entire subject. Hair direction, contrast, and background complexity often change around the silhouette. If the brush produces noise, undo the stroke, reduce the radius, and work in smaller sections.
For a small isolated gap, edit the resulting layer mask directly with a soft white brush at low opacity. Paint on the mask, not on the image. White reveals pixels, black hides them, and gray creates partial transparency.
Repair rough edges without overprocessing
Use Smooth only to remove small jagged steps. Smooth can erase the irregular outline that makes fur believable. Use Feather for a subtle transition, not to hide a poorly placed boundary. Use Contrast to make a soft edge firmer, but avoid it when individual strands matter.
When the edge is consistently too far outside or inside the subject, adjust Shift Edge rather than repeatedly painting the whole mask. Keep the change modest. Hair often needs a different treatment from the solid body, so inspect both areas after every adjustment.
Exercise
A cutout has the correct silhouette, but a pale outline appears on a dark background. Which correction should you try first, and what should you avoid?
Show answer
Try a small amount of Decontaminate Colors, then test again. Avoid a large Shift Edge or heavy Feather because those can remove genuine hair detail.