Advanced masking method 1
Learn a powerfull technique to advance masking: Calculations
![]()
In this tutorial we will learn a powerful technique to create advanced masking; Calculations.
With this technique you will be able to mask even the most complicated images like the hair of a model. For this tutorial we will use an image with some complexities like the hair and the shape of the model face.
For a perfect masking we usually have to use more than one method, in this case we will use calculations and pen tool.
Lets start.
Before We Get Started
For this tutorial you are going to need:
Model

http://www.sxc.hu/photo/1210353
Back Ground
http://www.sxc.hu/photo/1309046
Step 1 Create new channel using Calculations
This tool merges two channels for creating a new one. This is great because we can create a new channel that contrasts the model and the background.
a) Open your image and double click on it in layers palette to make it editable
b) Select the channels palette
c) Select Calculations in the top menu: Image > Calculations

d) This tool merges two channels for creating a new one. Usually we select the red one above and the blue one below. In this case because of the contrast between the hair and the sky we will select the Green channel above and the blue below.

e) Now for the mask to work we need that the inside of the model is completely with an the background black, so we select invert the blue channel

f) Now we set the blending mode to subtract with a 100 percent offset (90% of the cases you will use this blending mode)

g) Select Ok to create the new channel. This will appear in the channels palette as Alpha 1

As you can se all the hair strains are perfect white and insolated.
It is very important to notice that these are the settings for this particular image. Every image is different so according to the case you will have to play with the settings like the channels or the blending mode to achieve the best mask.
Step 2 Creating path for the face
Now as you can see certain areas of the face and part of the neck and body are not perfect white.
Since this is made of curves we can use the pen tool for this areas
a) Deselect the new alpha 1 channel, select the RGB
b) Create a new path using the pen tool following the face contour and selecting parts of the head, neck and body

c) For this tutorial we are assuming you are familiar with the pen tool. In case you are not next week we are going to publish a tutorial specifically for pen tool.
d) Select path in the palettes and in the options select make selection

e) Enter a feather radius of .5 pixels

f) Return to the alpha channel (select only this channel) and paint this mask with white.

Step 3 fine adjusting
We still have some areas like gray or with small part of white, and it should be perfect white and black
a) Select a soft brush
b) Set the mode of the brush to overlay, if you select a white color it will only paint in the white parts, not painting the black ones (important the brush must be set to overlay)

c) Now select a black color to fine paint the black parts
d) Your channel should look like this:

Step 4 Create the mask
a) Deselect the alpha 1 channel and select the RGB
b) Return to layers
c) Load the selection, in the top menu: Select > Load Selection

d) Select the Alpha Channel 1 and click on invert

e) Now delete the background

Step 5 Fine adjusting hair
Now we have some fringe (blue color in the hair) caused from the blue background, there are different forms to correct this.

a) Create a new layer
b) Load the alpha channel mask (Repeat C and D from step 4 but DON’T SELECT INVERT this time)
c) Remove the inner part of the mask (face and neck) you can do this using the polygonal lasso selecting subtract from the selection.
![]()

d) Using the eye dropper sample some color of the hair and paint the selection with this color

e) Soft the inner part of the mask using a soft brush with the eraser tool

f) Set the blending mode to color

g) Duplicate this layer and set the blending mode to overlay at 35%

Now we can use any background and we have all of our hair even the thinnest strings.

Next part of this tutorial will be done with a blond model because the calculations change.
About The Author
You may also like these stories:
19 Comments to Advanced masking method 1
Sponsors
User Gallery
Interact with us
Popular Posts
-
Colorful light burst text effect
20 Sep 2010
-
Flaming ghost Car
02 Apr 2010
-
Create a Ki energy ball
07 Sep 2010
-
Cool force field tutorial in photoshop
18 Mar 2010
-
Advanced masking method 1
12 Oct 2010
Recent Articles
Recommended Links
-
Royalty-Free Stock Vectors @Depositphotos.com
- Use your favorite design to make custom checks
- Color Picker
This colorPicker is a light weight all-rounder that can display and let you choose the entire color palette in HSB and RGB color modes. - Trazo Publicidad
Latest tweets
Community News
Friends and Favorites
- Lucas Cobb Design
The design portfolio and blog of a graphic designer - BestDesignTuts
a pool of design articles and tutorials - blogarama – the blog directory
- Blog Directory
- Creattica
Great Inspiration Source 












Fantastic tutorial Javier, so easy to follow and the end result is excellent! You should do a follow up on how you crafted the Bokeh background
Thanks Daniel!. You know the Bokeh background is really an image I downloaded from stock xchange : http://www.sxc.hu/photo/1309046, but hey it is a great idea make a Bokeh tutorial next time!!
[...] This post was mentioned on Twitter by Pablo Lara H, Haida Princess, Marc Davison, Nenuno Creative, Javier Cantero and others. Javier Cantero said: New Tutorial: Advanced masking http://bit.ly/9RfCM7 #photoshop #tutorial [...]
[...] Advanced masking method part 1 [...]
[...] Advanced masking method part 1 [...]
nice tutorial mate, so nice.
[...] Direct Link [...]
[...] Leave a comment For the advanced users, a tutorial about making selections using calculations Designerfreelance.net Using channels, pen tool, and general masking skills, you will see how to extract a complicated [...]
Very nice, I love how you got all the details of the hair to show up!!
Thanks for good stuff
Nice tutorial!
Great tutorial Javier!
I have been looking for an easier way to do this technique. Thanks for sharing. I will have to try this out.
[...] Advanced Masking Method En:Photoshop, Tutoriales 0 Compartir tweetmeme_style = 'compact'; tweetmeme_url = [...]
Wow this is a great resource.. I’m enjoying it.. good article
good method
[...] Elnace : Tutorial Photoshop [...]
[...] Advanced Masking Part 1 [...]
good Job I have been looking for an easier way to create a fabulous one.thank you:)
Indeed, I find the tutorial so easy to follow and I even added up twists on my own. Thanks for bringing out those ideas in me. More power!