Skip to content

Tutorial · Hair & Edge Matting

How to Cut Out Hair and Fur in Photos (Sub-Pixel Edge Matting)

Hair and animal fur are the ultimate test of any background removal algorithm. Here is how modern on-device neural networks isolate fine strands with sub-pixel alpha gradients.

Updated

Published by AssetHUD

The Challenge of Hair and Fur

Unlike solid objects with sharp borders (like a smartphone or coffee mug), human hair and animal fur consist of thousands of individual strands that blend into the background.

A hard binary mask marks pixels as entirely subject or background. That can lose fine strands and soft edges. Different background removers handle these transitions differently; inspect the exported alpha against contrasting backgrounds instead of assuming all tools use the same mask method.

Complex hardware textures and reflections with the background removed
Complex hardware textures and reflections, the original photo
Original Cutout
Sub-pixel edge matting preserves delicate textures without harsh halos.

How BiRefNet Solves Fine Edges

AssetHUD includes the BiRefNet (Bilateral Reference Network) AI model. Instead of making a simple binary cut:

  • It predicts a continuous 8-bit alpha matte for every pixel along the contour.
  • Individual flyaway hair strands receive proportional alpha values (e.g., 30% or 60% opacity).
  • When placed over a new backdrop in Figma or Photoshop, the new background color shows through the hair naturally.

Step-by-Step: Cutting Out Portraits in AssetHUD

  1. Press Ctrl + Space from any app.
  2. Drop your portrait or pet photo into the HUD.
  3. Select the High Precision (BiRefNet) model in settings.
  4. Press B. When the cutout is ready, zoom in to inspect the edge and check it against a contrasting background.
  5. Press C to copy the cutout directly to your clipboard.

Related AssetHUD features

AssetHUD app icon

Your next asset is one shortcut away.

Install AssetHUD, press its shortcut from any app, and search. The Free plan needs no card.

Download free for Windows Download free for Mac

v1.2.4 · 200 MB · Windows 10 and 11

v1.2.4 · macOS 11+ · For Apple silicon Macs

See pricing