Sub topic 3
Isolating the Subject Cleanly
Assume you can navigate Photoshop, work with layers and opacity, make basic selections, and use Move and Transform. This chapter uses a layer mask, which hides pixels without deleting them. A clean mask is the foundation for believable shadows and reflections because every later effect must follow the subject’s actual outline.
Choose the right selection method
Open the image and duplicate the subject layer. Keep the original hidden as a backup. Photoshop offers several ways to select a subject:
- Object Selection tool: useful for people, products, and other clear objects.
- Select Subject: a fast starting point for a prominent subject.
- Quick Selection tool: useful for adding or removing broad areas.
- Pen tool: best for hard, precise edges such as furniture, packaging, or vehicles.
- Color Range: useful when the subject contrasts strongly with its background.
For most photographs, begin with Select Subject or Object Selection, then refine the result manually. Automatic selection is a starting point, not a finished mask.
Build the layer mask
- Select the duplicated subject layer.
- Choose Select > Subject.
- Inspect the marching ants around the subject. Hold Shift while selecting with another tool to add missing areas. Hold Alt or Option to subtract unwanted areas.
- Zoom to 100% and inspect the outline, especially hair, thin objects, fingers, and gaps.
- Choose Select and Mask.
- Set the view to Overlay or On Black so edge problems are easy to see.
- Use the Refine Edge Brush on hair or other soft details. Paint only across the transition between subject and background.
- Adjust Smooth, Feather, Contrast, and Shift Edge carefully. Small values usually preserve more detail.
- Set Output To to Layer Mask and confirm.
A mask thumbnail appears beside the layer thumbnail. White areas reveal the layer, and black areas hide it. Gray areas reveal the layer partially.
Inspect and repair the mask
Create a temporary layer below the subject and fill it with a strong color, such as red or bright green. This reveals halos, holes, and leftover background pixels.
Click the mask thumbnail before editing. Use a soft or hard brush with black, white, or gray:
- Paint with black to hide background.
- Paint with white to restore the subject.
- Paint with gray for a partially transparent edge.
- Use a hard brush for solid manufactured edges.
- Use a soft brush only where the photograph contains a naturally soft transition.
If the subject has a bright fringe from the old background, return to Select and Mask and try a small negative Shift Edge value. Do not remove too much. A thin edge is usually easier to correct than missing subject detail.
| Problem | Likely cause | Practical correction |
|---|---|---|
| Bright halo | Old background remains around the edge | Contract the selection slightly or paint black on the mask |
| Jagged outline | Selection was enlarged or heavily sharpened | Use a smaller hard brush and refine the edge |
| Missing hair | Automatic selection treated hair as background | Restore strands with the Refine Edge Brush or a low-opacity white brush |
| Transparent subject areas | Gray or black was painted inside the subject | Paint white on the mask to restore them |
Keep the cut-out usable
Name the layer clearly, such as Subject - masked. Leave the mask linked to the layer unless you need to transform the image and mask separately. Keep the original layer hidden. Later, you can duplicate the masked layer for a reflection while preserving the clean source.
Exercise
You create a mask, but a thin strip of the original background remains around the subject. What should you try first?
Show answer
Inspect the mask on a contrasting background, then paint black on the mask or use a small negative Shift Edge adjustment. Do not erase the original layer.