Welcome to EarlK Design!


The EarlK Design blog consists mainly of entries that show how to do things using Adobe Photoshop that I hope you will find helpful and give your creative mind more tools to work with.

I use Adobe Photoshop CS6, and sometimes Adobe Illustrator CS5, Lightroom 5, and Corel Painter X. However, I believe that much of what I show can be done using Photoshop Elements.



Thursday, September 6, 2012

The Magic Wand Tool....ODWEarl Episode 19


Other Days with Earl is a continuing series of How to Do It articles that I post whenever I have a special topic to show you. They are usually longer articles. There have been 18 previous episodes. You can see what the topics are by clicking on the Menu item ODWEarl above.

Sometimes the Magic Wand Tool can be just the tool to use to make your selection. But, it doesn't always seem to work the way you expected it to work. The more you know about how this tool works the more likely it will do what you expected it to do. Let me tell you a little about what I know about how it works.

The Magic wand Tool selects regions of luminance and/or color by virtue of the fact that it calculates selections in the different color channels. So if you want to select a region of color or luminance (intensity) inside Photoshop the Magic Wand Tool is a great place to start.

Before we begin, let's make sure that we are starting at the same point. In the Tool Bar, make sure you have the Magic Wand Tool selected. The Quick Selection Tool and the Magic Wand Tool are both there. Click on the fourth tool down and select the Magic Wand Tool.



When the Magic Wand Tool is selected, the Options Bar contains items associated with the Magic Wand. The first thing to do is right-click on the Tool Preset Picker box at the far left of the Options Bar and select Reset Tool, NOT Reset all tools.



The first thing you see to the right of the Preset Picker is a group of four buttons with the first button shaded showing that it is selected. This button is for the Magic Wand to make a new selection. Which is what we want when we first select the tool.



The next item in the Options Bar is Tolerance. The default value is 32. Since we reset the tool at the beginning, we have the default values.



Let's consider what the Tolerance value does. Consider the following image. I have on the background layer two identical black to white gradients separated by a yellow bar. There is another layer above that with two yellow bars on it, but the visibility is turned off for that layer. The background layer is selected.



The Tolerance value controls how far Photoshop expands your selection in luminance values from where you click on the image. Now, luminance values range from 0 for black to 255 for white. Therefore there are 256 luminance levels on a channel by channel basis inside a standard 8-bit per channel image. And, these are normally the kind of photos we use. So, each of our RGB channels have 256 luminance levels. 

If I now click near the center of the upper black to white gradient with the Magic Wand tool, and the Tolerance = 32, which is the default setting, Photoshop gives me a selection that is 32 luminance values lighter than where I clicked, and 32 luminance values darker than where I clicked. Photoshop does that on a channel by channel basis and then averages the values and gives you the selection based on that. Here we are looking at a black to white gradient so we don't have any variation in the different color channels.



Now, if we want to change the size of the selection, we change the Tolerance value in the Options Bar. Let's use a larger Tolerance value and change it to 90. I enter 90 in Tolerance. Now, I can either deselect the selection or just leave it there. Since the New Selection button in the Options Bar is still selected, when I click outside the current selection, Photoshop gives me a new selection. I clicked near the left side of the gradient and now I have a selection that is 90 luminance values lighter than where I clicked and as many of the 90 luminance values darker as it can since the darkest edge is fairly close to where I clicked.



Let's decrease the Tolerance value to 15. Then I click the Magic Wand Tool near the right hand side of the black to white gradient. I now get a selection that goes from 15 values darker and 15 values lighter than where I clicked.



We see that if we increase the Tolerance value we get a larger selection. If we decrease the Tolerance value we get a smaller selection.

The next item in the Options Bar is Anti-alias which tries to smooth out the perimeter of the selection. But anti-aliasing of the Magic Wand selection is not very successful in smoothing the edges. It is just that anti-aliasing doesn't work very well with the Magic Wand because of the way Photoshop determines where the edge of the selection should be.



To show you an example of how jagged the edge can be, in the example where I used a Tolerance =32 and clicked near the middle of the upper gradient, I used Command / Control - J to copy the selection to its own layer. I turned off the visibility of the background layer so only the selection of the gradient was visible. Then I zoomed in to 300%. Look how jagged the edge is!



Now the next item in the Options Bar is Contiguous. We could also use the term Adjacent instead of Contiguous. What it does is select pixels that are adjacent to one another. For example, in this image where I have selected with the Magic Wand, with Tolerance=50, in the bottom gradient, the selection does not jump the gap between the two gradients caused by the yellow bar. The selection is 50 values lighter and 50 values darker from where I clicked and only in the bottom gradient.



Now if I turn off Contiguous by clicking on its check mark to turn it off, and then click in the upper gradient near the left side of the image, we see that the selection is in both the upper and lower gradients....it has jumped the gap to include all on this layer that is 50 values lighter and 50 values darker than where I clicked in the upper gradient. The pixels no longer need to be adjacent to one another.

Now the next item in the Magic Wand Options Bar is Sample All Layers. And notice that I have both Contiguous and Sample All Layers turned off.



Now I will turn on the visibility of the layer with the two yellow bars. And, I leave both Contiguous and Sample All Layers off. And, the background layer is still the active layer. Tolerance is still 50. Then I click the Magic Wand in the gradient area between the two upper yellow bars.


What is now selected is 50 values lighter and darker than where I clicked on the gradient area. But the selection includes the area of the upper and lower yellow bars between the gradient areas. And the selection excludes the region over the middle yellow bar. This is because the background layer is the active layer and Sample All Layers is off. Thus, the wand is sampling what is on background layer as if the upper and lower yellow bars were not there.

Now, if I turn Sample All Layers on, keep the background layer still the active layer, and click in the same spot in the gradient area as in above, Then I get this selection. Since the Magic Wand is looking at all layers that you see, a composite of all the layers,we get the four selection areas that are between the yellow bars and 50 values lighter and darker than where I clicked on the gradient.



But, what happens if I have Tolerance=50, Contiguous off, Sample All Layers off, and the layer with the two yellow bars the active layer, and I click with the Magic Wand in the same place as before in the gradient? Everything but the two yellow bars are selected. This is because the wand is sampling what is where it clicked on the two yellow bars layer. 










And, that area is transparent, that is, there is nothing there. So everything that is transparent is within the 50 values of the Tolerance value = 50. You can see that if I turn off the visibility of the background layer. the only thing not selected are the two yellow bars on this layer.












It is important to remember that the selection in Photoshop only affects one active layer sat a time. That is to say, if you have made a selection and you went to use that selection then you have to be on the layer on which you want to use it.

A very good use for the Magic Wand Tool is to select a region of solid color. Let's look are what we had before. I have open the .psd document with the two layers in it....the background layer is the layer with the two identical black to white gradients separated by a yellow bar....and the layer with the two yellow bars. And, I have reset the tool to the default values.



I want to select only the top yellow bar of the image without any jagged edges. In the image above, you may notice that I have the layer with the two bars on it the active layer....this is the layer I want active since I want to select a bar that is on that layer. With that layer the active layer, i can leave the default Sample All Layers Off. I want the default Contiguous left ON. And, I want Anti-alias OFF so that Photoshop won't try to smooth the edges and give me a jagged edge. And, I want to change the Tolerance = 0. With the Tolerance = 0, the Magic Wand will make the selection 0 values lighter and 0 values darker. Since 0 values lighter and darker means only the value where you click will be selected. Hence the selection will be just like it had been made with the Rectangular Marquee Tool.



This is basically how the Magic Wand works. And, this is just about all that I want to say for this episode of Other Days with Earl. However....let me show you two more things that comes to my mind. 

Here I have a document with many layers of solid color rectangles. Each layer has one solid color rectangle on it. I want to select, with the Magic Wand Tool, the various colors. Since I know that I want to select regions of solid color, I know that I want Tolerance = 0. I want Anti-alias OFF. I want Contiguous ON. And, For this example, I will have Sample All Layers OFF. I have my Layer 5 the active layer. I click in a visible part of Layer 5. The selection is that of the whole rectangle of Layer 5 even though we do not see a part of Layer 5.



If I leave all the other settings the same and change Sample All Layers to On, and then click on the same place as before and Layer 5 is still active, I get just the region selected being that which I see of Layer 5, not the entire rectangle.



So.........think about what you are trying to select and set your Magic Wand Tool Options the values you need them to be to get what you want.

Here is the other item I wanted to point out. Remember the Selection Options in the Magic Wand Options Bar?



Generally, we have been using only the first option, A, New Selection. B adds to the selection, C subtracts from the selection, and D gives the intersection with the selection. Here is a brief video showing these Selection Options.



addAndSubtractFromSelection from Earl Kreins on Vimeo.


Here are some general guidelines:

•  To increase the size of the selection region, increase Tolerance.

•  To decrease the size of the selection region, decrease Tolerance.

•  Anti-alias On will give you jagged edges.

•  To make a selection of a solid color
Make layer with the item on it the active layer.
Tolerance = 0
Anti-alias OFF
Contiguous ON
Sample all Layers OFF

There is more to know about the Magic Wand Tool, but this should give you an idea of what could be happening if the tool is not doing what you expect.


Hope this was helpful to you.

Please give me some feedback on what you thought about this Episode of Other Days with Earl. If you have something that you are interested in let me know. Maybe I can help.

Enjoy life!


Earl

26 comments:

Redbird said...

I had no idea the magic wand tool could do all this!
Thanks
Noreen

Redbird said...

I had no idea the magic wand tool could do all this!
Thanks
Noreen

Guo Guo said...

guowenhao20150317
jordan shoes
longchamp handbags
louis vuitton outlet online
burberry outlet
asics gel kayano
kobe 9 shoes
tory burch outlet online
iphone 6 case
coach outlet online
kate spade
cheap ray ban sunglasses
michael kors outlet
chanel handbags
salvatore ferragamo
adidas shoes
nhl jerseys wholesale
michael kors handbags
toms shoes outlet online
christian louboutin outlet
nfl jerseys wholesale
cheap ray ban sunglasses
louis vuitton outlet online
air jordan shoes
babyliss
ray-ban sunglasses
oakley sunglasses wholesale
nba jerseys
cheap mlb jerseys
mlb jerseys wholesale
louis vuitton outlet stores
tiffany and co jewelry
pandora
coach outlet
swarovski outlet
abercrombie outlet
fitflop
air jordan shoes
mcm backpack
christian louboutin
gucci shoes

Dongdong Weng said...

20156.11dongdong
air max 2015
michael kors outlet online
fitflops clearance
celine
christian louboutin outlet
michael kors
jordan 8
ray ban sunglasses
hollister
coach factorty outlet
abercrombie store
timberland earthkeepers
louis vuitton outlet
ray ban sunglass
michael kors bag
coach factory outlet online
jordan 11 low
polo ralph lauren
jordan 4s
hollister outlet
coach outlet store online
tory burch outlet online
christian louboutin
toms shoes
toms shoes
chanel uk
abercrombie & fitch
oakley sunglasses wholesale
coach outlet
christian louboutin
timberland boots
lebron james shoes
cheap jerseys
oakley galsses
celine outlet
cheap jordans
hollister clothing

Shijun Lin said...

shijun 6.15
ray ban wayfarer
michael kors uk
christian louboutin sale
louis vuitton outlet
coach factory outlet
oakley vault
coach outlet online
michael kors outlet
michael kors
hollister clothing store
christian louboutin shoes
prada uk outlet
celine bag
coach outlet online
cheap oakleys
chanel no 5
michael kors
gucci
abercrombie
cheap air max shoes
hogan outlet
christian louboutin shoes
michael kors outlet online
oakley outlet
pandora jewelry
gucci outlet
michael kors outlet
michael kors uk
jordan 13s
cheap chanel handbags
abercrombie & fitch
true religion sale
ray ban sunglass
timberland outlet
ralph lauren uk
true religion sale
lv handbags
running warehouse
air max 2015
christian louboutin

Unknown said...

bottega veneta outlet
nike free uk
futbol baratas
nike air max uk
miami dolphins jerseys
michael kors outlet
tory burch outlet
dansko outlet
north face jackets
the north face jackets
nike trainers
new england patriots jerseys
burberry outlet
indianapolis colts jerseys
ugg boots
air jordan 13
mulberry uk
miami heat jersey
chicago blackhawks jersey
cheap football shirts
green bay packers jerseys
surpa sneakers
philadelphia eagles jerseys
pittsburgh steelers jersey
air max 2015
cheap wedding dresses
ugg uk
vans shoes
san francisco 49ers jerseys
new york jets jerseys
new york giants jerseys
beats headphones
wei20150619

Qing Cai said...

manchester united jersey
lacoste polo shirts
beats by dr dre, http://www.beatsbydrdre-headphones.us.com/
baltimore ravens jerseys
cheap wedding dresses
giuseppe zanotti outlet
ralph lauren polo shirts
giuseppe zanotti
oakley,occhiali oakley,oakley italia,oakley occhiali,oakley sunglasses
coach outlet
ugg uk
cartier watches
the north face jackets
timberland shoes
michael kors outlet
air jordan shoes
chelsea jersey
nike roshe
coach outlet
converse shoes
coach handbags, http://www.coachhandbagsoutletonline.us.com/
thomas sabo
louis vuitton outlet
five fingers shoes
gucci handbags
true religion jeans, http://www.truereligionoutletstore.us.com
louis vuitton outlet store, http://www.louisvuittonoutletstore.name/
swarovski uk
louis vuitton outlet, http://www.louisvuittonoutletstore.name/
ray-ban sunglasses, http://www.raybansunglass.com.au/
cai2015829

Minko Chen said...

oakley outlet
juicy couture outlet
blackhawks jersey
nike huarache, http://www.nike-airhuarache.co.uk/
ugg boots uk
tommy hilfiger outlet
chicago bears jerseys
nike free 5.0
north face jackets
chelsea jersey
nike air max 2014
packers jerseys
nick foles jersey,eagles elite jersey
michael kors,michael kors canada,michael kors handbags,michael kors outlet,michael kors outlet canada
michael kors factory outlet, http://www.michaelkorsfactoryoutlets.in.net/
nike mercurial
air jordan shoes, http://www.jordan-shoes.us.com
football shirts uk,soccer jerseys uk,cheap soccer jerseys uk
nike air max
supra sneakers
christian louboutin shoes
seahawks jersey
coach outlet canada
michael kors wallet, http://www.michaelkorswallet.net/
true religion sale, http://www.truereligionjean.in.net
wm910

陈晓 said...

crx123
vary. cheap barbour jackets ray ban christian louboutin jordans for sale mercurial superfly michael kors outlet nike roshe run north face outlet store kate spade bcbg max uggs timberland outlet toms shoes outlet coach bags michael kors outlet online sale louis vuitton bags lululemon hermes birkin toms shoes outlet new balance omega adidas online polo ralph lauren adidas sneakers air jordan retro burberry outlet online uhren mizuno wave kate spade outlet louis vuitton outlet online michael kors outlet online sale ray bans tommy hilfiger polo ralph christian louboutin shoes oakley sunglasses cheap nike air max nike free coach factory abercrombie.com longchamp outlet jordan retro 11 ray ban lululemon australia swarovski uk nike jimmy choo shoes burberry

方松腾 said...

tory burch outlet
calvin klein,calvin klein outlet online,calvin klein wholesale,calvin klein shoes,calvin klein underwear,calvin klein coats,calvin klein handbags
ugg outlet
michael kors outlet store
tiffany and co
kate spade handbags
ray ban sunglasses outlet,ray ban sunglasses,ray ban,rayban,ray bans,ray ban outlet,ray-ban,raybans,ray ban wayfarer,ray-ban sunglasses,raybans.com,rayban sunglasses,cheap ray ban
oakley sunglasses wholesale
ferragamo shoes
true religion sale
new balance sale
louis vuitton bags on sale
lacoste polo
swarovski outlet
instyler ionic styler,instyler,instyler ionic styler pro
louboutin uk
longchamp bags
soccer jerseys,cheap soccer jerseys,cheap soccer jerseys for sale,soccer jersey,usa soccer jersey,football jerseys
michael kors handbags wholesale
air force one shoes

Gege Dai said...

20160112xiaodaige
camisetas futbol baratas
louis vuitton handbags
nike foamposite
michael kors outlet online
ralph lauren outlet
coach outlet online
true religion jeans sale
christian louboutin,louboutin,louboutin outlet,louboutin outlet italia,scarpe louboutin
louis vuitton handbags outlet
ray-ban sunglasses
fitflops clearance
swarovski outlet
ralph lauren polo
oakley sunglasses wholesale
cheap nike shoes
kate spade outlet
burberry outlet sale
michael kors handbags
true religion jeans
true religion jeans
nike outlet factory
air force 1 shoes
tiffany outlet
air max 90
beats by dre
nba jerseys
prada sneakers
cleveland cavaliers
asics,asics israel,asics shoes,asics running shoes,asics israel,asics gel,asics running,asics gel nimbus,asics gel kayano
louis vuitton outlet store
tiffany and co
true religion jeans
coach outlet store
oakley outlet store
kate spade uk outlet

Chen Jeje said...

jordans for cheap
kobe zoom
jordan retro
air jordan
ray ban sunglasses outlet
oakley outlet
cheap michael kors purses
michael kors
Air Jordan 11
ugg boots sale
michael kors outlet online
tiffany and co jewellery
michael kors handbags sale
Cheap Jerseys Online
cheap oakley sunglasses
michael kors purses outlet
kobe sneakers
michael jordan shoes
oakley sunglasses cheap
kobe zoom
cheap true religion
mlb jerseys authentic
huarache
michael jordan shoes
michael kors handbags clearance
tiffany Jewelry
michael kors outlet online
tiffany and co outlet
oakley outlet online
michael kors handbags

chenlili said...

2016-4-14 xiaobao
hollister
oakley sunglasses
ray bans
jordan 11s
michael kors outlet
ray bans
adidas trainers
louis vuitton outlet
jordan 8s
celine handbags
hollister kids
ray ban sunglasses
coach outlet
michael kors outlet online
gucci outlet
jordan retro
kate spade
oakley vault
nike running shoes
louis vuitton outlet
tiffany jewelry
jordans
nike air force
ray ban sunglasses outlet
michael kors handbags
kate spade handbags
mont blanc
celine bags
michael kors outlet
mont blanc pens
michael kors outlet clearance
marc jacobs
supra sneakers
michael kors outlet
nike blazers
ray ban wayfarer
coach outlet
cheap jerseys
burberry outlet online
christian louboutin outlet

huangqing said...

miami heat jersey
bengals jersey
boston celtics
ferragamo outlet
chiefs jersey
nike trainers
boston celtics jersey
tods outlet
foamposite shoes
los angeles clippers
tommy hilfiger
instyler
salomon shoes sale
giuseppe zanotti outlet
ravens jerseys
carolina jerseys
new york jets jerseys
new york knicks
saints jerseys
redskins jerseys
abercrombie outlet
abercrombie and fitch
new york knicks jersey
jordan 11
vans outlet
green bay packers jerseys
fred perry polo
ysl outlet
golden state warriors jerseys
packers jerseys
lacoste pas cher
nike foamposite
supra shoes sale
ed hardy tshirts
seahawks jersey
4.15huangqing

Chenzhen 20160303chenzhen said...

cheap ray ban sunglasses
polo ralph lauren
nike blazer
coach factory outlet
lacoste polo shirts
ralph lauren outlet
louis vuitton bags
longchamp outlet
armani exchange
oakley sunglasses
nike trainers
burberry outlet
ugg boots
michael kors outlet
cartier love ring
michael kors uk
burberry outlet canada
reebok
nike air max 90
cheap ray-ban sunglasses outlet
true religion jeans
valentino bags
ray ban sunglasses outlet
nike cortez shoes
designer handbags wholesale
coach factory outlet online
converse sale
polo ralph lauren outlet online
ecco outlet
lululemon outlet store
nike free runs
jordans
adidas superstar white
burberry outlet
michael kors canada
coach outlet online
air max 90
true religion jeans
polo ralph lauren
yeezy boost 350 white
chenzhen20160420

Gege Dai said...

05025wangjuan8
oakland raiders jersey
giuseppe zanotti shoes
seahawks jersey
air max 2014
puma shoes
boston celtics jerseys
converse shoes
san antonio spurs jerseys
chicago blackhawks
bears jerseys
ferragamo shoes
dallas cowboys jerseys
air jordan 13
saints jerseys
vans outlet
carolina jerseys
tommy hilfiger uk
new york knicks
foamposite shoes
new york knicks jerseys
philadelphia eagles jersey
packers jerseys
nike soccer shoes
redskins jerseys
salomon shoes
san diego chargers jersey
broncos jerseys
nike outlet store
golden state warriors
tods outlet online

dong dong23 said...

jordan retro
cheap jordan shoes
adidas originals
true religion jeans
michael kors outlet
cheap nfl jerseys
tods shoes
air jordan pas cher
coach outlet online
ray ban sunglasses
michael kors outlet online sale
louis vuitton outlet
polo ralph lauren
tory burch outlet
abercrombie & fitch
ralph lauren outlet
michael kors outlet online
celine handbags
coach outlet store online
ray bans
ghd flat iron
kevin durant shoes 8
true religion jeans
cheap jerseys
supra shoes
ralph lauren outlet
cheap jordans
nike sb
kate spade
jordan 8s
louis vuitton handbags
cheap oakley sunglasses
tiffany outlet
cheap ray ban sunglasses
jordan 3
adidas stan smith
louis vuitton outlet stores
louis vuitton handbags
toms
cheap oakley sunglasses
20166.27wengdongdong

dong dong23 said...

ray ban sunglasses outlet
uggs sale
cheap jordans
insanity workout
jordan 8
kevin durant shoes 8
nike air max 90
michael kors handbags
adidas yeezy
vans shoes outlet
oakley sunglasses
toms shoes
ray-ban sunglasses
kate spade handbags
oakley sunglasses
jordan shoes
cheap oakley sunglasses
instyler curling iron
coach factory outlet
kate spade
toms shoes
louis vuitton outlet
coach outlet
michael kors outlet
ugg boots
adidas originals
michael kors outlet clearance
louis vuitton outlet
christian louboutin flats
jordan 6
coach outlet store online
louis vuitton outlet
ralph lauren clearance
tory burch sale
replica watches
nike outlet
canada goose coats
burberry handbags
louis vuitton
uggs outlet
20168.27wengdongdong

Gege Dai said...

michael kors outlet store
rolex orologi
longchamp bag
ugg boots outlet
rolex watches
toms shoes
nike air force 1
tods outlet
prada sunglasses
ferragamo outlet
louis vuitton handbags
ugg outlet
nike air max 90
burberry outlet store
longchamp pliage
rolex watches,rolex watches,swiss watches,watches for men,watches for women,omega watches,replica watches,rolex watches for sale,rolex replica,rolex watch,cartier watches,rolex submariner,fake rolex,rolex replica watches,replica rolex
mulberry bags
ugg boots
ed hardy tshirts
vans outlet
michael kors outlet
north face jacket
uggs outlet
michael kors handbags
louis vuitton outlet
nike free 5.0
longchamp solde
toms outlet
louis vuitton handbags
kate spade uk
nike free running
soccer jerseys
ugg boots
uggs on sale
toms shoes
czq20160909

raybanoutlet001 said...

michael kors handbags outletthis
nike blazerpost
nike trainersadd
michael kors outletshare
michael kors outlet onlineof
michael kors handbagsup
cheap ray bansbelow
michael kors handbagsbook,
polo ralph laurenwith
michael kors outletthrow

琐事 said...

falcons jersey
cheap jordan shoes
michael kors outlet
michael kors outlet store
chicago bulls jersey
michael kors outlet
nike blazer low
jets jersey
broncos jerseys
ralph lauren outlet

raybanoutlet001 said...

salomon shoes
skechers outlet
tiffany and co
ghd flat iron
birkenstocks
nike free
ghd hair straighteners
nike tn pas cher
oakley sunglasses
cheap jordan shoes

Gege Dai said...

moncler coats
north face jackets
chrome hearts outlet
louis vuitton outlet
hermes belt
futbol baratas
michael kors outlet clearance
uggs outlet
ralph lauren uk
ralph lauren shirts
20161128lck

Hua Cai said...

true religion outlet
toms outlet
ralph lauren
coach outlet online
polo ralph lauren
ralph lauren outlet
louis vuitton
lacoste polo shirts
cheap oakley sunglasses
cartier watches
20170220caihuali

Unknown said...

rolex replica
philadelphia eagles jerseys
nhl jerseys
oakley sunglasses
michael kors handbags outlet
air max 90
lebron shoes
adidas nmd r1
michael kors handbags
broncos jerseys

龙大猫 said...

pandora charms
michael kors outlet
basketball shoes
kobe 11
yeezy sneakers
nike dunks
kobe 11
adidas superstar shoes
roshe shoes
longchamp le pliage

Post a Comment

Please leave me a comment. I would like to hear from you.
Thank you.