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

โ€œYouโ€™re not thinking about the tool ... it just feels good.โ€โฃ
@joiceesketch on the new #WacomIntuosProโฃ
โฃ
Designer and illustrator Joyce Liu creates dynamic, expressive artwork that transports viewers to a vibrant, futuristic world where shapes and colors blend and flow beautifully. โฃ
โฃ
From the ExpressKeys to the customizable Pro Pen 3 to the lightweight form factor to the seamless connectivity, Everything about it helps her get into the flow of her work. โ€œIt just feels natural,โ€ she says. โœ๏ธ๐Ÿ˜โฃ
โฃ
#WacomIntuosPro #IntuosPro #PenTablet #WacomTablet
105 0
Ever wondered how a digital tablet can elevate your tattoo game? 

Check out @amy.innocenzi's process for creating stunning botanical designs. ๐ŸŒฟ๐Ÿ›๐ŸŒพ๐ŸŽ‹

Amy is an Italian artist deeply inspired by nature and her familyโ€™s roots in art. Watch as she reveals how Wacom gear like the Wacom One helps her achieve the unmatched detail and precision that makes her work stand out.

But itโ€™s not just about technique. Amy shares her experiences navigating the challenges of being a woman in a male-dominated industry and how sheโ€™s built a supportive network of artists along the way. She also opens up about the highs and lows of the creative processโ€”overcoming artist's block, connecting with clients, and pushing boundaries in her work.

Head to YouTube or to our stories to watch the full video. โ˜๏ธ

#madewithwacom #botanicalart #creativeprofessionals #tattooart #WacomTips #wacomone #artistlife
180 18
Artists on Valentine's Day according to @lplucas โค๏ธ๐Ÿคฃ๐ŸŽป๐Ÿ’Œ 
#ValentinesDayArt #valentinesday #artistlife #madewithwacom
489 6
๐ŸŽ‰ The NEW Wacom Intuos Pro is here! ๐ŸŽจโฃ
โฃ
Creative work is all about balanceโ€”part technique, part flow.โฃ
โฃ
The new Intuos Pro is designed to help you stay in that sweet spot where ideas come to life effortlessly. ๐Ÿชโฃ
โฃ
Featuring the Wacom Pro Pen 3, customizable ExpressKeys, and an intuitive physical dial, the new Intuos Pro tool redefines how a pen tablet enhances your creative process.โฃ
โฃ
Whether youโ€™re editing, designing, or animating, Wacom Intuos Pro is designed to speed up your workflow so you can dive deeper into your art.โฃ
โฃ
Are you ready to level up your creative game? ๐Ÿš€โฃ
โฃ
Learn more through the link in our bio. โฃ
โฃ
#WacomNews #WacomIntuosPro #IntuosPro #PenTablet #WacomTablet
690 37
Who's hungry? ๐Ÿฃโœ๏ธโฃ
Why would an art director choose illustrated food over photographed food? ๐Ÿค” Share your thoughts in the comments! โฃ
#FoodArt #DigitalArt #DigitalIllustration #FoodPhotography #MadeWithWacom
188 0
Remember when @thebunbunshopofficial made us a sweet Valentine's postcard on her Wacom Cintiq ๐Ÿ‡๐ŸŽˆ๐Ÿฉท

๐ŸŒน๐Ÿ’˜ This Valentineโ€™s Day, skip the store-bought and get creative! Whether it's a hand-drawn sketch, a digital masterpiece, or a heartfelt design, crafting something unique shows how much you truly care. Not only will you save money, but youโ€™ll also prove that artists are the ultimate romantics. ๐Ÿ’–โœจ

So, what are you creating for someone special this year? Share your creations with us! #madewithwacom #ValentinesDayArt #WacomLove
230 1
Kicking off Black History Month with @imjoshualeonard ๐Ÿ™
Check out his full character design tutorial on YouTube. (Head to our stories ๐Ÿ‘†)
Joshua is an incredible character designer, 2D animator, and concept artist on a mission to create diverse, inclusive, and impactful characters that challenge stereotypes. This month, let's come together to celebrate and uplift Black artists worldwide, shining a light on their talent, creativity, and contributions. ๐ŸฅŠโค๏ธโ€๐Ÿ”ฅ
#blackhistorymonth #blackartist #blackartmatters #madewithwacom
192 40
Sometimes a little change of scenery is all you need to get creative. โฃ
Gather your things (don't forget that tablet ๐Ÿ˜‰) and step outside ๐ŸŽ’โฃ
What do you carry in your bag when when you're whipping up magic on the move? โฃ
#CreativesOnTheGo #WacomMovink #CreativeProfessionals โฃ
148 1
Picture the cafรฉ you ducked into after an art show,โฃ
or the library where you dove into research.โฃ
Maybe it's the bed you sank into to take a breather.โฃ
Then, in a moment of inspiration, you grab your Wacom #Movink and make it happen, the idea flowing before it slips away. ๐Ÿ‚๐ŸŒฌ๏ธ๐Ÿช๐Ÿ“•โœ๏ธโฃ
โฃ
#CreativesOnTheGo #WacomMovink #CreativeProfessionals
158 1
Get lost in the details like @danidiamondphotography ๐Ÿ“ทโ˜•๐Ÿ”

Experience color like never before with the Wacom Cintiq Pro 27! 

With 99% Adobe RGB, 98% DCI-P3, and over 1 billion colors, your photos will pop with incredible accuracy. ๐ŸŽจ

Plus, with HDR Gamma support, stunning 4K resolution, and a smooth 120Hz refresh rate, your photo editing sessions will feel more immersive than ever. ๐Ÿ˜ And with its ergonomic design, itโ€™s the most comfortable way to edit for long hours without any strain.
#wacomworkspace #CintiqPro27 #wacomcintiqpro #photoediting #retouching #photography
744 6