Photoshop Tutorials,the free resource for Photoshop Users
home > photoshop_Tutorial > photoshop basics > Using the Pen Tool to Extract or Make Selection
Using the Pen Tool to Extract or Make Selection
    Views:    Submitted:2009-12-14 23:06:14    Author: PhotoshopAtoms

In this demonstration, we will extract this boy's face from the background using the Pen tool:

Using the Pen Tool to Extract or Make Selection image 1

We can either use the Pen tool or the Freeform Pen tool. The difference is that when working with the Pen tool, we choose when to place our anchors, but with the Freeform Pen tool, it will 'guess' where is the best place to put the anchors - you can alter the settings by using the magnetic options for example.

First, we will try the Freeform Pen tool. We can zoom in for a better view, but make sure the whole image is still visible to you - particularly if you're using magnetic, as it will prove difficult to move around whilst drawing. Try to draw down the side of the face. With magnetic turned on, it can be a lot easier:

Using the Pen Tool to Extract or Make Selection image 2

Selecting around the edges with the Pen tool doesn't matter, as we can easily add that to the selection afterwards. The main aim of the Pen is to separate the background from the part we want. We can use the Freeform Pen tool to select the Path that was created and examine the curves. We can also edit the Path to make a better fit. Using the Freeform, you can hold Ctrl and click to move anchors around, and hold Alt down to edit the anchors's curves.

For example, here where the path doesn't get close enough to the mouth, we can add a new anchor at that point by simply clicking on the path (notice the cursor changes to a Pen with a + sign:

Using the Pen Tool to Extract or Make Selection image 3

Now choose the Convert Point tool and move the new anchor in to the lip:

Using the Pen Tool to Extract or Make Selection image 4

Next, we can use the same tool to move the arms of the anchor, to change the direction of the path to match the face:

Using the Pen Tool to Extract or Make Selection image 5

Now go around the path and make sure it's snug against the face - adding, editing or subtracting anchors as needed. We should have something like this:

Using the Pen Tool to Extract or Make Selection image 6

Now we can goto the Paths panel (Window > Paths), and then right-click the path we created in the panel, and choose Make Selection, 0 Feather.

Using the Pen Tool to Extract or Make Selection image 7

Now we can fill in the selection around the edges with the regular marquee tool, and then copy and paste into a new layer, and do what we want with the background (blur, for example) or give it a new background:

Using the Pen Tool to Extract or Make Selection image 8

Using the Pen Tool to Extract or Make Selection Tutorial: Final Result

Notice how smooth the edge is - a selection marquee tool alone could never achieve these results.