Cut out hair feature image

How to cut out hair from a busy background in Adobe Photoshop, with PiXimperfect

July 3, 2023

In this tutorial, Piximperfect’s Unmesh Dinda isn’t teaching us about adjustment layers, one of his signature techniques, like in the last couple tutorials. Instead, he shows us how to cut out a subject’s hair from any background, no matter how cluttered or busy it is.

This one is a longer tutorial! The video is over 30 minutes long. This blog post will be a general summary, but if you’re looking for a step-by-step walkthrough of the technique, you’ll need to watch the video.



The original image:

Cut out hair PixImperfect 1

Drawing a path

Before we even begin, Dinda draws an extremely complicated path around the outside of the subject. He renames the path in order to save it, then creates a selection out of it by right clicking and going to Make Selection, then clicks on the Mask button with the selection active to create a layer mask. Creating a black background layer underneath the mask shows us that the cutout is perfect around the hard edges, but not around the hair.

Cut out hair 2
Cutting out a mask around the subject

Making Hair Brushes

So, in order to patch in some of the hair that’s been lost, Dinda will need to make a few new brushes. It’s also the part that will be most reliant on his Wacom pen tablet, as there’s no true equivalent way to do this with a mouse.

Taking the default brush, he goes to the Brush Settings panel, and under the Transfer submenu, sets Opacity and Flow to Pen Pressure. Then in the Shape Dynamics submenu, he sets the size to Pen Pressure as well, and Hardness somewhere in the middle. He saves this as a brush preset for painting in hair in the future, then saves it into a new brush Group so that he can keep the next brushes he’ll make together with it.

He then makes second and third brushes using a different method: zooming in on a section of the hair and scattering black dots over it.

Cut out hair 3
Creating a brush

This requires some more complex work within the brush functions, as he selects around them, sets the background color to white, and uses them to define a new Brush Preset through the Edit menu. Then he goes back to the Brush Settings panel and sets similar properties for them as he did for the single-strand brush.

Key Tip: Whenever you want to vary a brushstroke, you can go back to Brush Settings and in the Brush Tip Shape window, adjust the Angle.

Refining the hair inside the mask

The name of the tutorial isn’t entirely accurate, as instead of cutting out hair, it mostly has to do with painting it back in after cutting it out so that it looks more natural. This is the longest part of the tutorial, but also the most straightforward. For it, he relies heavily, again, on his Wacom pen tablet.

To start with, he selects the layer mask that he made over the subject at the beginning, then uses his various hair brushes to paint away parts of it, exposing the “overflow” hairs underneath, the ones that he didn’t capture when cutting it out with the pen tool.

Cut out hair 4
Painting the hair back in with the new hair brush

Note: When working with Layer Masks, black is a part that’s excluded, and white is a part that’s included. Dinda uses white brushes for the hair to paint parts of the layer mask back in.

Key tip: To decrease the opacity of a mask, click on it, go to Window > Properties to open up the Mask Properties window, then decrease the Density.

After decreasing the mask opacity to see where the hair falls, he selects one of his “multi-strand” brushes and begins to paint in the wider swaths of hair. Then, during a long timelapse, he goes in and, circling the entire head, paints in large amounts of flyaway hairs as he sees fit, adjusting the mask opacity to make sure it’s following the flow of the original hair.

Blurring the edges according to the depth of field

One problem with simply painting the hair in will leave is that the edges he painted in are crisp and in focus, which is not how cameras capture flyaway hairs due to depth of field. So to fix this, he takes the blur tool and runs it around the edges of some of the outer hairs.

Cut out hair 5
Making flyaways look more realistic via blurring

Painting additional hair

Dinda calls this step “Where the magic happens,” and it’s the part where he takes the most creative license. For this step, you don’t have to be accurate since you’re adding entirely new hairs, not painting through a mask.

First, he creates a normal layer named “Hair 1,” then with the Eyedropper, samples the root color of the hair near where he wants to paint, then just paints additional flyaway hairs going wherever he wants them to. Occasionally, he stops to blur some of the hairs as well.

Hair 1 is just the first of five hair layers he’ll end up creating, one for each part of the hair, in order to keep them organized.

Cut out hair 6
Dinda: “Creating fringes is very easy: If you’re using a tablet, just let your hand go wild.”

Corrections

If you go back to the mask and increase the density, Dinda says, you’ll notice some parts of the hair are pink. Personally, this is invisible to me, but he insists. You may want to skip this step. This is because he painted over the hair and into the background, which contains some pink flowers.

To fix this, he creates a new layer above the subject and sets it to be a Clipping Mask, meaning it’s constrained to the bottom layer, then takes a sample of the hair color and paints it in. If you want to do this without losing texture, he suggests, you can use the Color blending mode to make sure only the underlying image’s tint is affected.

And with that, he has an isolated image that, while substantial repainting was done, looks exactly like the original image with the hair masked out.


The original compared to the final image:

Cut out hair feature image

Related posts:

Making the Most of Your Wacom with Pablo Muñoz Gómez, Tip 7: Mapping ExpressKeys to Custom Functions

Making the Most of Your Wacom with Pablo Muñoz Gómez, Tip 7: Mapping ExpressKeys to Custom Functions

The best storyboarding classes on Skillshare

The best storyboarding classes on Skillshare

Making the most of your Wacom, with Pablo Munoz Gomez – Tip 6: Creating Advanced Radial Menus

Making the most of your Wacom, with Pablo Munoz Gomez – Tip 6: Creating Advanced Radial Menus

Making the most of your Wacom, with Pablo Munoz Gomez – Tip 5: How to use ‘Precision Mode’

Making the most of your Wacom, with Pablo Munoz Gomez – Tip 5: How to use ‘Precision Mode’

Connect with Wacom on social media

The lovely @martinab.illustrations tests the Wacom Movink, taking advantage of the ability to create from anywhere. From your desk, to the cafe, and anywhere ideas may strike, Movink moves with you, so you never stop creating. 
#wacommovink #creativeprofessionals #creativesonthego #digitalart #artschool
180 10
💡 What is Wacom Bridge?⁣
It's a technology designed to give artists a like-local experience on remote systems, seamlessly integrating local Wacom tablets with AWS solutions like Amazon DCV and Amazon AppStream 2.0.⁣
⁣
With the demand for distributed creative talent growing, Wacom Bridge ensures that creatives can thrive wherever inspiration strikes—studio, home, or halfway across the globe! 🌍⁣
⁣
🚀 Learn more through the link in our bio!⁣
AWS users can enjoy Wacom Bridge at no cost until January 15, 2026 (terms apply).⁣
⁣
#WacomBridge #RemoteWork #DigitalCreativity
87 0
Don't you love how easy @tedslittledream makes it look?
Check out his process on the new #wacommovink ✍️
Ted uses Wacom gear and #photoshop to edit all his concept art.
#madewithwacom #wacomtablet #conceptart #digitalartist #artistsoninstagram
745 14
Do you still draw with a mouse? 🖱️😱🚫
@adam_theillustrator prefers the precision of a stylus and the Wacom Intuos Pro is his trusty ally. 
Feels like paper. Works like magic. 
#intuospro #wacompen #wacomtablet
657 62
It's CYBER MONDAY! ⁣
Save big on Wacom #IntuosPro, our legendary beloved pro tablet!⁣
Perfect for photo editors who need more precision for tracing out masks or layering, illustrators who want the efficiency of working digital rather than scanning and cleaning up hand-drawn work, or a concept artists ready to take advantage of the power of digital painting software. ⁣
⁣
Shop now through the link in our bio!⁣
#christmasgifts #holiday #deals #shopping #amazon #wacomsale
98 2
Creating magical vibes with @monsieur_arefin. ☕📔🫗
Sometimes it takes several tries to capture what you envision. And every try reveals something different and special. 
Stay tuned for part 3.
203 4
When you do it all, you need a tool that can keep up. 🖌️🎬🎨📸🎥🎤
@nickhshaheen found a versatile way to work on the go with the #WacomMovink. The perfect tool for creatives who do it all.
Are you also a studio of one?
146 1
The Wacom Movink is on sale on our Amazon store 🖤🎁🛒⁣⁣
Save $50 USD on our lightest and thinnest pen display ever!⁣
Head to the link in our bio or our stories to save! ☝️⁣
Work and workspace by @danidiamondphotography 📷
#christmasgifts #holiday #deals #shopping #amazon #wacomsale #wacomMovink ⁣
1521 30
🌍 Hey, Wacom community! you already know @wacomeurope — and now we want to get to know You better!

Drop a comment below and tell us:
📍 Where from Europe are you following us?
✨ What do you do? (Are you an artist, designer, photographer, vfx artist, or anything else?)

Let’s build this incredible European creative community together! 👇✨ Don’t forget to tag your creative friends to join the conversation!

#WacomCommunity #CreativeCommunity
272 174
Do you know what the #greasepencil tool is? Let's learn with @janice.journal ✍️🧋
Janice is using a #WacomOne 12
Shop #WacomOne on sale now! Via link in bio 🛒
#wacomtips #wacomart #3dmodeling #3dart #digitalart #madewithwacom
518 4
Add a dash of magic to everyday moments🫖⏱️🥃🥄🃏✨
Our friend @monsieur_arefin shows us that sometimes all we need is already around us. Look around and reimagine the ordinary.
It's amazing what a glue gun and some editing can do 😍
Stay tuned for part two! 2️⃣✌🏾
#madewithwacom #photoediting #artistlife #artistsoninstagram #inspiration #ConnectedInk2024
390 11
Today @aaronblaiseart takes us through the process of how he animated Snowbear. From story boards and rough animations to adding color and more. 🐻‍❄️
Head to Wacom's YouTube to watch the full video and get a glimpse of what it's like to animate an entire short film on your own! 
#animation #2danimation #aaronblaise #MadeWithWacom
679 14
This error message is only visible to WordPress admins
There has been a problem with your Instagram Feed.