Tutorial : How To Do A Precise Selection!
Apologies to those who have been waiting for my new tutorial which never seemed to be published. I know, and am deeply honoured, that there are many who look forward to it, and I humbly thank them, and you, for all the support that all of you have given me.
That said, let’s get on with today’s tutorial!
This time around, I will show you how to do a precise selection in Photoshop, and then some of the cool things that you can achieve, once you’ve mastered it. Precise selection? That isn’t very descriptive, is it? Doesn’t sound cool, but here are 2 teaser images to encourage you to read on.
To do a precise selection in Photoshop is not all that difficult. It might be tedious, but it’s not difficult at all. There are several ways to achieve this, and in this tutorial, I will guide you through two methods. I will be using the photograph below for examples. Feel free to use your own, or, if you like, use the same image.
-
First Method : Mask & Brush
The basics of precise selection, for both methods, lie with using Layer Masks. The first method, you may already be familiar with, if you had gone through my previous tutorials. This is the more tedious method of the two that I’m going to show you, but it’s necessary for me to include this for the tutorial. Here are the steps :
- Step 1 :
Step 1 is the same for both methods. Open up your image in Photoshop, in a new document, and Add layer mask to the image layer.
- Step 2 :
Make sure your foreground colour is black, and that the layer mask is selected, then use the Brush tool (shortcut button B), a solid – non-feathered – brush, to paint the section you want selected. If you have no Background layer, painting the section with black will show you a square grid, Photoshop’s default “transparent” background. If you do, your background layer will be shown instead. Zoom in so that the item you want selected fills up a big percentage of your screen, to make it easier for you. Zoom in to 600% even, if you prefer it so. I know I do.
Control + / Command + to zoom in, Control - / Command -to zoom out.
- Step 3 :
Alternate with different sized brushes. Use smaller sized brushes to paint over the smaller parts of the image. This is the part where it gets tedious. If the item that you want to select has many small parts, or if it is complex, then you might have a more difficult time painting all of it in properly.
This is what it should remotely look like when you’re done painting all the details in. If you managed to brush in everything perfectly, I applaud you! It’s not that easy! Normally I would paint in the reflection as well, but since using this method is not the focus of this tutorial, I didn’t.
- Step 4 :
Now, press the Control (Command for Mac users) button, and click on the Layer mask thumbnail. This will grab your selection. By default, the parts painted in white is the selection. You want the one in black to be selected, so go to Select > Inverse. This grabs the item you painted in, and you can now disable your Layer Mask.
Note : You can also use the Quick Mask method, by pressing Q to enter Quick Mask mode, in place of Step 1. Then brush in the item you want, and then press Q again to exit the Quick Mask mode which will automatically select your brushed area.
End of First Method of precise selection using a Brush tool.
- Step 1 :
-
Second Method : Mask & Pen
This second method is what I would recommend you to learn and master. This enables you to quickly do superbly precise selections that would otherwise take a very long time to do using the First Method.
- Step 1 :
Step 1 is the same for both methods. Open up your image in Photoshop, in a new document, and Add layer mask to the image layer.
- Step 2 :
This method requires you to play around and familiarise yourself with the Pen tool (shortcut button, P). Let me show you my recommended settings first :
I suggest reading a bit on the Pen tool from the Help section, or just playing with the tool for a while. If you want to skip doing that, you can still follow this tutorial.
- Step 3 :
If you’re familiar with using the Pen tool to follow an image’s outline, you can just continue on to the next step.
Otherwise, use the Pen tool and click on the edge of the item you want to select to create what is called an Anchor Point. Trace out the item’s outline using the Pen tool using as many Anchor Points as you want/need. Every single click creates a new Anchor Point.
As with the previous method, feel free to zoom in as much as you need. It will make the tracing out easier.
Note : Should you click on a wrong place, press the Delete button to clear the last Anchor Point you created. Be careful, though. Pressing the Delete button a second time will delete the rest of the path (the lines and Anchor Points that are created are called Paths) that is left, which you might want. If you want to delete off the next Anchor Point, click on it first before pressing the Delete button.
- Step 4 :
When you’re almost done tracing out the item using the Pen tool, click on the first Anchor Point that you created to close the path. When you hover over the first Anchor Point, you will see the Pen cursor change to have a circle beside it. When you close the path, all the Anchor Points you’ve created will become one solid path line.
To save the path that you have worked so hard to create, go to the Paths tab (Windows > Paths, if you don’t see it), and double-click on the Work Path layer. Enter a name for it, if you like, and click Ok to save it. Now that path is accessible via Paths tab everytime you open the document you’re working on. Each newly-created path needs to be saved like this.
- Step 5 :
Once you’re done with tracing out the whole item’s outline, with the Pen tool still in use, right-click and click on Make Selection. Give one or two pixels Feather Radius if you want a blurry edge. For this tutorial, I’m using 0 as I want a smooth nice edge instead.
Click Ok and you will get your selection. Click on the Layer Mask and click on Edit > Fill > Use > Black (shortcut : Alt Backspace if black is your Foreground colour, Control Backspace if black is your Background colour) to mask the selection.
Note : An easier tool to try that is somewhat similar to the Pen tool is the Magnetic Lasso tool (right-click the Lasso tool button). It gives less control compared to the Pen tool, but it is quite good for beginners. If you feel like the Pen tool is a bit too frustrating for you, try the Magnetic Lasso tool instead, and forge on!
End of Second Method of precise selection using a Pen tool.
- Step 1 :
So, now that you know both methods, the best way to get a really precise selection is to use a mixture of both. I would start with the Pen tool (method 2) first, and then clean up any stray edges with the Brush tool (method 1). Alright, let’s see what you can do with this new trick!
Example 1
This is what came out of this tutorial example, of course.
To do this :
- Step 1 :
Follow the Second Method, and edit any stray edges with the First Method above.
- Step 2 :
A major difference though : Make sure your Path has been saved (see Step 4 of the Second Method : Mask & Pen above), fill the whole Layer Mask with black instead of white (that is, there will be no selection yet at this point). Click on your saved Path, and Make Selection (see Step 5 of the Second Method : Mask & Pen above). Fill the selection with white instead of black.
- Step 3 :
Right-click on the layer (eg. Layer 1), and click on Duplicate Layer. Drag this layer so that it’s below Layer 1. Right-click on the Layer Mask of the duplicated layer and delete it. Desaturate the image by going to Image > Adjustments > Desaturate.
- Step 4 :
You’re done! I added some gradients to the image above to make a faux-vignette.
Example 2
If you’ve visited my blog before, you’ve seen this image! It was done using the steps in this tutorial!
Example 3
You can also completely remove an aspect of an image, and replace it with something else entirely.
Example 4
And of course, this will help you create slightly more advanced clones!
To “cut out” the object you have selected, right-click on your selection and click on “Layer via Copy” or “Layer via Cut” (I recommend using “Layer via Copy”). This will create a new layer out of just that selected bit. From there, you can duplicate that layer (right-click on that new layer and click on “Duplicate Layer…”) to other documents.
Alternatively, you can just add a Layer Mask to the layer with the selection. I prefer doing this as it is less destructive, and you can still clean up your selection in the future, using the First Method in this tutorial.
Alright, that’s the end of this tutorial! And what a long tutorial this is! I hope this makes up for its absence for the past months! I look forward to seeing what you come up with. Till the next tutorial!
This entry was published by mr malique’s co-author, Zul. His opinions are his own and do not necessarily reflect mr malique’s opinions. Zul is a hobbyist-photographer, an engineer by education, but a web designer by profession. He can be found roaming the streets begging people to accept HTML into their hearts. Other times, he can be found not making much sense at zuldevil.com
If you enjoyed this post, go ahead and subscribe!
| Print article | This entry was posted by Zul on March 10, 2008 at 3:19 am, and is filed under Co-Writer, Photography, Tutorials. Follow any responses to this post through RSS 2.0. Both comments and pings are currently closed. |
Comments are closed.







about 5 years ago
oooo this is uber cool!
I always use the magnetic thing and can’t select as precise.
about 5 years ago
glad u learn something new.
about 5 years ago
Yay!
about 5 years ago
Niez?y tutorial, napewno mi si? przyda ;]
thanks for share it.
about 5 years ago
Hi Adrian, sorry, I don’t understand your first sentence… But you’re welcome.
about 5 years ago
Hi, I would like to be able to do this and then use the object I’ve cut out. But that part seems to be missing from this tutorial? How do I save this object I’ve so carefully selected?
Ciaoo
Angelina
about 5 years ago
Hi Angelina, thanks for your comment!
The missing step you need is (when you’ve already got the item you want already selected) to just right-click on the selection and click on “Layer via copy” or “Layer via cut”. That will create a new layer out of just that selected bit. From there, you can duplicate that layer (right-click on the copied/cut layer and click on “Duplicate Layer…”) to other documents.
Hope I’ve helped!
Psst, show us your final piece, yah?
about 5 years ago
cool…
great tutorial.
about 5 years ago
Thanx man!
This is really helpfull!
Greetings from Amsterdam
about 5 years ago
wowowowowww!
about 5 years ago
Thanks yanni, mike and yehey! =D
about 3 years ago
salam.. thanks.
i was looking for this technique using photoshop for quite a time. thanks again.
about 3 years ago
izuan, glad to have helped!
about 3 years ago
thanks, and i have the handle of it except i dont know how you applied the gradient
about 3 years ago
Pancakes :
Erm, are you mocking my detailed tutorial? lol. If you’re not, here’s how to do it :
Create a new layer above your photograph, and using the Gradient Tool (shortcut button G), left-click on one part of your new layer to set where to start the gradient, and drag the left-click until the point you want the gradient to end before you release the left-click.
The trick is to set one end of the gradient a colour, and the other end a 0% opacity so that the gradient fades nicely into your photo. Click on the gradient image on the toolbar to change it!
Cheers!
about 3 years ago
lol, i’m not. its just a typo. its supposed to be “got the hang of it”. hehehe
is this how you change the color of the background to black and white? because if it is, then mine is not working. when i apply the gradient it isnt fully black and white even if i change the opacity. =(
about 3 years ago
ok, lol i found another way to make the background black and white but it isnt as good as your technique. lol
about 3 years ago
Hi,
I’ve been cutting a lot lately and I am familiar with those methods.
However can you explain how do you cut areas of objects which are out of focus and blurry on a noncontrast background?
(You see, the bounadries of such areas are sometimes impossible to discern when zoomed to 800%.)
about 3 years ago
Adrian :
Well, sometimes you have to make a(n artistic) judgment call. Most of the time, I just get rid of the parts which are out of focus. That is, the “new” edge would be the nearest solid area after the blurry parts. Most times this would work well enough.
If you really want to maintain as much of the unfocused area as you can, then what I usually do is use a feathered brush to mask those boundaries. It’s tedious, but that’s what you have to do to be a perfectionist.
Cheers!
about 3 years ago
Thanks!
I’ve considered your approach, but sometimes the feathered brush is not a solution. This is usually when the object you are separating has a logical direction of lines and some gradually changing or constant width – in such cases the small irregularities in the lines direction or width are pretty obvious even on 50% magnification.
about 3 years ago
Well, if you’re working on a complicated image, then you’d have to do some complicated masking… If I’m understanding you correctly, you’d probably need to do some minor (and careful) masking with the gradient tool to achieve what you want…
All the best!
about 3 years ago
Hm…
I haven’t used a gradient tool for masking. I will give it a try.
Thank you!