Sub topic 13
Checking the Cutout on Light, Dark, and Colored Backgrounds
This chapter assumes that you know how to use layers, selections, and layer masks. It also assumes that your hair or fur cutout already has a layer mask created from Select and Mask. The goal now is to test the mask in realistic conditions. An edge that looks clean over the original background can still contain halos, missing strands, or unwanted color when placed elsewhere.
Build a simple test setup
Place three temporary Solid Color Fill layers below the masked subject layer:
- A light background, such as near-white.
- A dark background, such as charcoal.
- A saturated color, such as blue or red.
You can create a Solid Color Fill layer from the Layers panel by choosing the adjustment or fill-layer menu and selecting Solid Color. Keep these test layers below the subject so they show through the transparent parts of the mask.
Cycle through the backgrounds while viewing the subject at 100% zoom. Zoomed-out views are useful for judging the overall shape, but they can hide one-pixel defects.
What each background reveals
| Test background | Defects it makes easier to see |
|---|---|
| Light | Dark outlines, rough mask steps, missing bright strands |
| Dark | Light halos, gray fringes, overly transparent edges |
| Saturated color | Background color contamination and uneven partial transparency |
A light background often exposes dark pixels left from a shadow or dark studio backdrop. A dark background reveals pale halos around light hair. A saturated background makes color contamination obvious because edge pixels may still contain the old background color.
Inspect several areas separately:
- The outer silhouette of the head or body.
- Strands extending away from the main shape.
- Spaces between strands, such as gaps in curly hair.
- Contact areas where hair overlaps clothing or shoulders.
- The edge near high-contrast features, such as glasses or ears.
Correct halos and missing strands
If a halo follows the entire subject, inspect the layer mask first. Select the mask thumbnail and use a soft, small brush with black or white paint at low opacity. Paint black to hide leftover background and white to restore areas that were removed. Work with short strokes and keep the mask selected, not the image thumbnail.
If the mask is correct but the edge still has a colored fringe, return to Select and Mask and use Decontaminate Colors carefully. This changes edge pixels toward the subject color. It can improve a green or blue fringe, but a high amount can alter natural hair color and reduce fine detail. Output the correction to a new layer with a layer mask when possible, so the original remains available.
If many strands are missing, do not simply feather the mask. Feathering softens every edge and can make the subject look blurred. Reopen Select and Mask, use the Refine Edge Brush on the affected hair, and then inspect the result again on all three backgrounds.
A repeatable inspection order
- Check the silhouette at 100% zoom.
- Switch to the light background and look for dark edges.
- Switch to the dark background and look for pale edges.
- Switch to the colored background and look for contamination.
- Correct the smallest problem area first.
- Recheck all backgrounds after each correction.
Keep the test backgrounds hidden or move them into a group before exporting the finished composite. They are diagnostic layers, not part of the final image.
Exercise
A cutout looks good on white but has a pale outline on black. What should you inspect and adjust first?
Show answer
Inspect the layer mask and the edge pixels in Select and Mask. Remove excess light background with the mask, then use Decontaminate Colors sparingly if the fringe is embedded in the edge color.