Skip to main content

Selecting Hair and Fur

The hardest selection in image editing, made manageable

In This Lesson

Why Hair Is So Hard

Hair and fur have thousands of fine strands, each partly transparent at its edge, blending into the background. There is no clean boundary to trace — a hard selection either clips the strands to a helmet shape or leaves a fringe of the old background. The goal is not a perfect outline but a soft, partial-transparency mask that keeps the wisps while dropping the background.

🎓 Set Yourself Up to Win

The best hair selection starts at capture: a subject against a plain, contrasting, evenly lit background is far easier than one against clutter. When you can influence the shoot, a clean backdrop saves an hour of masking.

Method 1: Foreground Select

GIMP's Foreground Select tool is purpose-built for soft-edged subjects.

  1. Choose the tool and draw a loose lasso around the whole subject, staying just outside it. Everything outside becomes the known background.
  2. Press Enter. The area darkens; now paint a line through the interior of the subject — including strokes down the middle of the hair — to mark what is definitely foreground.
  3. Adjust the brush size and the Preview until GIMP's guess hugs the subject, then press Enter to turn it into a selection.

Foreground Select analyzes color to estimate the boundary, so it captures far more strand detail than any click tool. It is your first move on portraits and animals.

flowchart LR A[Lasso around subject] --> B[Paint foreground strokes] B --> C[Tune brush and preview] C --> D[Convert to selection] D --> E[Refine the hair edges]

Foreground Select learns the subject from your interior strokes.

Method 2: A Channel Mask

When the background is fairly uniform, a channel mask often beats any tool. The idea: find the color channel with the most contrast between hair and background, and turn it into a mask.

  1. Open the Channels dialog and eyeball which of Red, Green, Blue separates hair from background best.
  2. Duplicate that channel, then push its contrast hard with Curves until hair is near-black and background near-white (or vice versa).
  3. Paint the subject's solid body pure white and the far background pure black, leaving only the wispy edge as grays.
  4. Load it as a selection (Channel to Selection) or use it directly as a layer mask.

We build channel masks properly in Wednesday's lessons — this is a first taste of their power for hair.

Refining the Wisps

Whatever method you start with, finish in a mask. Convert the selection to a layer mask and paint at low opacity with a soft brush: black to hide stray background caught between strands, white to recover wisps that were lost. A small Gaussian blur on the mask softens a boundary that is still too crisp. Work at high zoom — the edge is everything.

💡 Paint the Mask, Not the Photo

Editing a mask is completely reversible: black hides, white reveals, gray is partial. You can chase individual strands without ever damaging the underlying image, and undo any stroke freely.

Killing the Halo

The classic giveaway of a bad hair cut-out is a bright fringe of the old background glowing around the edge. Fight it:

  • Shrink the selection by a pixel (Select → Shrink) before making the mask, tucking inside the contaminated edge.
  • Paint edge color inward. On a layer clipped to the subject, sample the hair color and gently paint over the fringe.
  • Match the new background's tone. A hair edge lit by a bright old background looks wrong on a dark new one — dim the edge to fit.

⚠️ Color Contamination

Semi-transparent strand edges carry the old background's color. Against a new background of a different hue, that leftover color reads as a halo. Desaturating or recoloring the edge band — or masking it to the new background's color — is what sells the composite.

Practice Activities

  1. Foreground Select portrait. Extract a person with loose hair from a plain background using Foreground Select, then place them on a new background.
  2. Channel-mask a pet. Build a channel mask for a furry animal against an even backdrop and refine the edges.
  3. Halo hunt. Take a rough hair cut-out over a dark background and eliminate every bright fringe pixel.

Summary

✅ Key Takeaways

  • Hair needs a soft, partial-transparency mask, not a hard outline.
  • Foreground Select learns the subject from interior strokes — the go-to first move.
  • A channel mask from the highest-contrast channel captures fine strands on even backgrounds.
  • Finish by painting the layer mask at high zoom with soft brushes.
  • Eliminate the edge halo / color contamination by shrinking, repainting, and tone-matching the edge.

➡️ What's Next

Next, general polish for any selection: Edge Refinement Techniques.

Additional Resources