Sub topic 1
Selections, Masks, and Partial Transparency
Prerequisites
You should know how to navigate Photoshop, select layers in the Layers panel, and recognize marching ants around a selection. You should also know the basic rule for layer masks: white reveals a layer, black hides it. Have a photo with visible hair or fur on a contrasting background.
The working model
A selection is a temporary boundary that tells Photoshop where an operation may apply. Marching ants show the visible boundary, but they do not show every detail. Photoshop can also store partially selected pixels. A pixel selected at 50% receives about half the effect of an edit, such as a layer mask or adjustment.
A layer mask is an editable grayscale image attached to a layer. It controls the layer's visibility without deleting the original pixels. White areas reveal the layer, black areas hide it, and gray areas reveal it partially.
Partial transparency is essential for hair. A sharp black-or-white edge either keeps a strand completely or removes it completely. Real hair contains fine, semitransparent edge pixels mixed with background color. A mask with gray values can preserve that transition.
| Mask value | Effect on the layer | Typical use |
|---|---|---|
| White | Fully visible | Solid parts of the subject |
| Black | Fully hidden | Background areas |
| Gray | Partly visible | Fine hair, fur, and soft edges |
Why a hard-edged selection fails
A normal selection often works well for a solid object with a clear outline. Hair and fur create a different problem:
- Individual strands may be only a few pixels wide.
- Gaps between strands can contain the original background.
- Soft focus makes the boundary gradual rather than exact.
- Backlighting can make the outer strands nearly transparent.
- Background colors can contaminate the edge pixels.
If you force this boundary into a hard edge, the result may look clipped. If you include too much background, the subject develops a halo. The goal is not to find one perfect line. The goal is to describe how visible each edge pixel should be.
Selection to mask
The usual workflow converts selection information into a mask. Photoshop uses the selection's brightness as mask information: selected areas become white, unselected areas become black, and partially selected areas become gray.
This conversion is why a layer mask is safer than deleting the background. You can paint on the mask later, disable it, or replace it while the source layer remains intact.
A simple mask decision
When inspecting a cutout, ask what each edge pixel should do:
- Keep solid subject pixels fully visible.
- Hide pixels that clearly belong to the background.
- Keep fine strands partially visible when they fade into the background.
- Remove background color that remains inside otherwise useful strands during later refinement.
The mask itself is not a final judgment about the photograph. It is an editable model of visibility. This distinction matters because an edge that looks correct on a light background may show a dark fringe on a dark one.
Exercise
Why should hair and fur usually be represented with gray mask values instead of only white and black?
Show answer
Gray values preserve partial visibility at soft or semitransparent edges, allowing fine strands to blend naturally instead of being clipped or surrounded by a hard halo.