Cut out hair feature image

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

February 2, 2025

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:

Connect with Wacom on social media

Curious about what it's like to design textile patterns for iconic brands like Lucky Brand and Free People? We asked Los Angeles-based illustrator and makeup artist Julia Hill to give us an inside look at her creative journey, from her roots as an illustrator to her exciting transition into the world of pattern design. @juliahillart 🌸🌼❇️🪷 #madewithwacom #digitalart #patterndesign #artistlife #creativeprofessionals
241 34
Maximize your creative flow with the Wacom One Stand 👊⁣ Whether you're using your Wacom One 12 or your Wacom One 13 Touch, this foldable, portable and moveable stand will keep your screen nice and steady. ⁣ Find the perfect angle for your posture with the Wacom One stand.⁣ ⁣ Curious about other accessories to make Wacom One your own?⁣ Head to Wacom.com to learn about mix and matching colorful pen cases, rear covers, carry cases, drawing gloves and more. ⁣ Thank you @henriquefriedrichs for the cool demo of the stand!⁣ #WacomOne #WacomPen #DigitalArt #DrawingTablet #WacomTablet ⁣
1052 27
Wacom One 13 Touch is on sale!⁣ ⁣ Get the smoothest, most precise and responsive drawing experience of your life with Wacom One 13 touch. ⁣ ⁣ Perfect for sketching, painting, animating, planning, and editing without any roadblocks. ⁣ ⁣ Plus, it’s packed with creative software like Clip Studio Paint, Affinity, Magma and more! 🎨🔥⁣ ⁣ Shop through the link in our bio!⁣ ⁣ #WacomSale #WacomOne #WacomTablet
124 0
The new Wacom Intuos Pro was redesigned from the inside out, with Wacom’s most advanced pen tablet technology.⁣ ⁣ Built with 40+ years of innovation, the #WacomProPen 3 is fully customizable. Choose from various grips, button configurations, nibs, and adjustable weight for a setup that fits your exact needs.⁣ ⁣ Learn more through the link in our bio!⁣ ⁣ #WacomIntuosPro #IntuosPro #PenTablet #WacomTablet
326 9
Every artist has their own creative ritual, whether it’s the perfect cup of tea, a morning walk to clear the mind, or that burst of inspiration that hits at just the right moment. 🫖🕯️🎧 Maybe it's lighting the perfect candle to set the mood, or sketching out ideas on an old notebook. Whatever it is, these little essentials set the stage for our best work. For me, it's all about my Wacom tablet. Wacom has teamed up with my club, @wearethedesignkids, to make sure students have the right tools from day one. With the right gear in hand, we can build our own creative rituals and refine our craft. So, what’s a must-have in your creative ritual? Maybe a special sketchbook, a cozy corner, or the perfect playlist? #WacomPartner #WacomForEducation #digitalart #inspiration #wacomintuos
242 30
Built to shine, new or not. ✨💎📦⁣ Give a Wacom device a second life and unlock the opportunity to upgrade, expand, or enhance your digital workflow.⁣ Check out #WacomRefurbished deals available in the US & Canada through the link in our bio or visit the Wacom estore. ⁣ #WacomSale
159 7
Some people wanna stand in your light. 👎 Lucas wants to teach you how to draw light. 💡☀️😁 Thank you @lplucas and @clipstudioofficial for making it so easy! #madewithwacom #WacomTips #wacommovink
2089 14
Let’s get to work! 💥 Setting up your Movink is a breeze. Just plug in and start creating with ease and comfort! ✍️ What’s on your creative agenda today? Drop a comment and share with us! #WacomMovink #CreativesOnTheGo #CreativeProfessionals
458 5
🎨✨ Navigating license agreements as an artist can feel like a maze. Too often, we’re faced with contracts that lean heavily in favor of clients, leaving us with little protection. For artists like Zeynep Alpay, finding a way to make these agreements fair and transparent has been a true game changer. Now she can focus on what she does best, creating art, while the details are handled with Yuify.  🔒 Want to see how artists can truly protect their rights? Head to Yuify.com for the full picture. #WacomYuify #Yuify #CreativeRights #DigitalRightsManagement
83 0
“I use my tablet for everything.” 😍☺️😳⁣ @joiceesketch ⁣ Everything about the new Wacom Intuos Pro her Joyce get into the flow of her work. Read more about Joyce's unique artistic style, her whimsical world of critters and the ups and downs of her creative journey on the #WacomBlog⁣ ⁣ #WacomIntuosPro #IntuosPro #PenTablet #WacomTablet
436 8
Artists vs Water 💧💦🌊🥛🫗🖌️ @lplucas has some tips to help you along the way 🩵 #madewithwacom #digitalart #drawingtips #movink #artistlife #artistsoninstagram
2726 23
"I love the new dial, it has haptic feedback, which I was always looking for ... I can feel its position, I can feel its options, and I can feel what I have to do to reach my aim.” ⁣ Markus Bledowski on the new #WacomIntuosPro⁣ ⁣ Markus is a motion designer based in Germany who has been using Wacom products for decades. He thinks the newly redesigned Wacom Intuos Pro is the best version yet. ☺️⁣ ⁣ #WacomIntuosPro #IntuosPro #PenTablet #WacomTablet
194 1
This error message is only visible to WordPress admins
Error: There is no connected account for the user 17841445048021802.