Jump to content

How To Cut Out Hair in Photoshop Even Difficult Backgrounds


Destorion

Recommended Posts

Clipping a subject from its background is one of the fundamental procedures that is required for a variety of Photoshop projects. I’ve covered the best selection methods for a range of situations in my video titled How To Cut Anything Out in Photoshop, but cutting out hair always proves to be the most challenging, especially when dark or detailed backgrounds are involved where there isn’t sufficient contrast between the portion you want to keep and the areas you don’t. In today’s Photoshop tutorial I’ll show you some advanced techniques for cutting out hair, even difficult real world scenarios where the subject isn’t conveniently placed against a clean studio backdrop!

 

Cutting out short hair or fur

1.jpg

If you have a subject with relatively short hair or fur that has good contrast with the background, like this photo by Ayo Ogunseinde, Select and Mask tool is a reliable tool to produce a clean clipping. Begin by tracing the subject with the Quick Selection tool. Follow the subject’s outline closely to allow the mask to snap to the edges.

2.jpg

Correct any mistakes by holding the ALT key and paint with the Quick Selection tool to add portions of the subject back in, that might have been missed. If there isn’t enough contrast for the Quick Selection tool to work, manually add to the selection with the Polygonal Lasso tool.

3.jpg

Apply the selection as a Layer Mask, then right click the mask thumbnail and choose Select and Mask to bring up some advanced options to refine the clipping.

4.jpg

As well as the various sliders that allow you to fine tune the outline as a whole, the Refine Edge brush is ideal for perfecting hair selections. Paint over the hair outline to make a cleaner clipping.

5.jpg

Cut out long hair from clean backgrounds

6.jpg

Longer hair has so many fine strands it’s impossible to draw a selection of them all, but as long as the subject is against a clean background, the Channles method will generate perfect results.

7.jpg

In the Channels panel, find the channel with the most contrast. In this example of A Happy Guy in Spectacles from Shutterstock, the hair is darkest in the Blue channel. Make a duplicate of the channel by dragging it onto the ‘New’ icon.

8.jpg

Use the Levels or Curves tools from the Image > Adjustments menu to set the background as the white point. The shadows can then be clipped to darken the hair, but don’t go too far, otherwise it will leave a white outline around the hair selection.

9.jpg

A silhouette of the subject needs to be created for the mask to make a full selection. Select the Burn tool and set the option to Shadows in the top toolbar. Paint around the subject to safely darken the edges of the face and body, without needing to accurately trace the outline.

10.jpg

The remainder of the subject can be quickly painted over with a black brush to complete the black and white mask.

11.jpg

Hold the CMD key (or CTRL key on Windows) while clicking the new channel thumbnail to load its selection. Activate the RGB channel to bring back the full colour image in order to copy/paste onto a new layer or apply a layer mask.

12.jpg

Cut out hair from detailed backgrounds

13.jpg

In the real world, your source photographs aren’t always conveniently shot against a perfectly lit studio backdrop. Things start to get tricky when there’s no contrast between the subject and its background. In this photo by Ana-Maria Nichita the mottled colours make it impossible to find a channels selection or find the edges with the selection tool.

14.jpg

Use the Pen tool, or Polygonal Lasso tool to manually trace the subject. When it comes to the hair, just make a rough selection of the main body of hair. Make the selection, then Copy/Paste onto a new layer.

15.jpg

Rather than try to rescue the hair from the original photograph, just paint in some new hair! Select the Smudge tool and set up the brush tip with the Size control set to Pen Pressure under the Shape Dynamics section of the Brush Settings.

16.jpg

Set the opacity of the original layer to around 70% as a reference for where the hair needs adding, then begin drawing new strands of hair in the relevant directions. Begin with a brush size of around 4px, then gradually reduce the size to add finer hair strands. It sounds like an extremely tedious process, but it doesn’t take too long, especially if you have a graphics tablet.

17.jpg

Cut out long hair from detailed backgrounds

18.jpg

As the subject’s hair gets longer, it becomes too difficult to manually draw the hair back in. In these situations it’s possible to produce a decent cut-out with the help of Photoshop ‘Hair’ Brushes.

19.jpg

Make a selection of the subject as accurate as possible and apply a layer mask. Use a soft brush to fade out the hair where it meets the background.

20.jpg

Rather than paint in individual hair strands, Photoshop hair brushes provide a series of curls and ringlets that can help generate a completely new outline. Ivadesign has 3 Photoshop hair brush sets you can download for free.

21.jpg

Each brush can be scaled in size with the [ and ] keys and rotated by adjusting the angle icon within the Brush Settings panel. Also use the Flip X option to orientate the hair brush to follow the natural flow of the subjects hair.

22.jpg

Create a new layer, then use the colour picker to sample the original hair colour near the area the brush will be placed.

23.jpg

Make a single click with a brush, then find an alternative lock of hair to use in a different part of the outline. Change the colour selection, orientate the brush, then dab an instance of the hair strands.

24.jpg

Change the blending mode of the hair layer to Hue so the original subject is still visible. Continue adding new hair to construct a completely new outline.

25.jpg

Once the new hair outline has been created, apply a layer mask and erase the coloured areas from the subject’s face with a regular black brush.

26.jpg

Cutting out other hair styles

27.jpg

Photoshop brushes of long flowing locks of hair aren’t going to be suitable for all hair types, but the same technique can be applied to other hair styles. It just involves finding an alternative portrait of a person with similar hair that is selectable against a clean background. New Photoshop brushes can then be derived from the donor image.

29.jpg

Draw a path around the subject with the Pen tool, roughly outline the hair, then apply a layer mask.

30.jpg

This photo of a Beautiful Afro Business Man from Shutterstock features a similar hair style that is selectable using the Channels method.

31.jpg

Trim the canvas to contain the hair silhouette, then go to Edit > Define Brush Preset.

32.jpg

Back in the main document, create a new layer and begin painting in a new hair outline, remembering to sample the colour from the original photograph.

35.jpg

Change the new hair layer to Hue so the subject is still visible. This brush can also be used to remove the hard outline from the original clipping. The tight curls will blend with the new outline.

36.jpg

Switch the colour to white and paint back over the shoulders and body to restore any areas that have been removed.

37.jpg

Apply a layer mask to the new hair layer and erase the portion that overlaps the face to remove any discolouration.

38.jpg

 

Credits:blog.spoongraphics.co.uk

Link to comment
Share on other sites

  • 1 year later...

Thanks so much to the image masking that I have found it is a technique of image processing used to eliminate from images the edges of blurred, translucent or hairy parts of image.  What is image masking? - Quora

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...