- Category:
- Background Removal
- Summary:
- Cut out hair and fine detail in Photoshop with Layerbench—a detail-aware Smart Cutout that keeps individual strands, plus one-click Clean Edges to remove halos.
Hair is where most one-click cutouts fall apart. Automatic tools clip flyaway strands into a hard outline or leave a coloured fringe where the old background used to be. Layerbench, a Photoshop panel plugin, is built for exactly this case: its Cut out hair/details action runs a detail-aware matte that keeps individual strands on transparency, and its Clean Edges control removes the leftover halo in one click — all as standard, editable Photoshop layer masks.

Precision cutout on fine hair — the Smart Cutout panel keeps strands against transparency instead of clipping them to a hard edge.
Why hair is the hard case
A clean subject (a bottle, a shoe) has a crisp edge that any selection tool can follow. Hair doesn't: the boundary is thousands of semi-transparent strands blending into the background. Two problems follow:
- Clipping — the tool draws one hard outline and chops off everything finer than it, so the result looks like a helmet of solid hair.
- Fringing — translucent edge pixels keep some of the old background colour, leaving a visible halo once you drop the subject on a new backdrop.
Layerbench addresses both: a detail-aware cut for the strands, and a mask-shrink for the fringe.
Step 1 — Cut out hair and detail
- Open the portrait and select the layer that holds the subject.
- In Smart Cutout, click Cut out hair/details. Layerbench builds a detail-aware layer mask that preserves individual strands rather than a hard silhouette.
- Review the mask at 100–200%. Because it is an ordinary layer mask, you can paint it by hand with a soft brush — white to recover a stray strand, black to remove a leftover patch — without re-cutting.
If you only need an editable selection to keep working with, use Create Subject Mask instead; to split the subject and background onto separate layers for compositing, use Separate Background.
Step 2 — Clean the edges
Even a good hair cut often keeps a 1–2 px rim of the old background colour. Clean Edges removes it with a single Shrink Radius value and a Clean Up Edges button.

Before/after at Shrink Radius 1 px — the leftover rim is pulled inward and the halo disappears, non-destructively.
- Select the cut-out layer (with its mask).
- Set Shrink Radius to 1 px for a light fringe, 2–3 px for a heavier one.
- Click Clean Up Edges. The mask contracts inward by that amount, trimming the contaminated edge pixels. It is the same idea as a manual mask Minimum filter, reduced to one field and one click.
Step 3 — Export or composite
Once the strands are clean, finish in one of two ways:
- Cutout & Export PNG — writes a transparent PNG trimmed to the subject's visible bounds, at the original size, ready to deliver.
- Separate Background then drop a new layer underneath — for a composite onto a new backdrop, with the subject (hair included) sitting on its own layer.
Problems this solves
- "The hair looks like a solid blob." The detail-aware cut keeps fine strands instead of a hard outline.
- "There's a white/grey halo around my subject." Clean Edges shrinks the mask to cut the fringe pixels — no manual Minimum-filter fiddling.
- "I don't want to destroy the original." Everything stays a layer mask on an untouched layer, so the cut is fully reversible and paintable.
- "I have dozens of portraits to do." Each cut is a couple of clicks from the same panel, so volume work stops being a menu-diving marathon.
Tips for tricky hair
- Shoot or choose images with reasonable contrast between hair and background where you can — wispy dark hair on a dark background is hard for any tool.
- For stray strands that matter, recover them by painting the mask white at low flow rather than re-running the cut.
- If a faint colour cast remains on translucent strands after shrinking, a small Hue/Saturation or a manual edge brush on a duplicate layer cleans it up.
Getting started
Dock the Layerbench panel next to Photoshop's own tabs and run the three steps on one portrait: Cut out hair/details → Clean Edges (1 px) → Cutout & Export PNG. Once it feels fast, it scales to a whole folder of images. You can try the workflow at Layerbench.