RetouchPRO

Welcome to RetouchPRO, the web community for retouchers.

You are currently viewing as an unregistered guest which gives you limited access. Registration is fast, simple and absolutely free so please, join RetouchPRO today!

If you have any problems with the registration process or your account login, please contact us. If you've forgotten your password, click here.

Go Back   RetouchPRO > Technique > Photo Compositing
Register Blogs FAQ Search Today's Posts Mark Forums Read

Photo Compositing Collage, montage, masking, selections, combining, etc.

Reply
 
LinkBack Thread Tools
  #1  
Old 01-17-2006, 06:27 AM
Member
 
Join Date: Jan 2005
Posts: 58
Complex hair selection

Hi friends. Im trying to make a perfect selection this image. The image was shoot with chroma background (blue). I need remove background (blue) but I can not remove blue highlights in hair. I have primatte chromakey (digital anarchy) but dont remove spill (blue) in hair. Anyone know a good method?
Thks
Attached Images
File Type: jpg hair.jpg (99.8 KB, 296 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #2  
Old 01-17-2006, 06:50 AM
byRo's Avatar
Moderator
 
Join Date: May 2004
Location: Goiânia, Brazil
Posts: 1,536
I would convert to LAB mode and have a look at the A and B channels.
Duplicate the layer and run levels on one (or both) of the channels marking a black point on the background and a white point on the hair.
You should be able to make a pretty good mask combining these two channels.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #3  
Old 01-17-2006, 11:00 AM
Member
 
Join Date: Mar 2005
Location: Montreal
Posts: 36
Hi
This is how I would approach this: http://byloc.com/hair-extract.jpg

1. Original Image
2. Mask made using calculations. (Multiplied the inverse of an enhanced red channel into an enhanced blue channel.)
3. Result of applying that new alpha channel to the hair, we can clearly see the blue highlights.
4. Mask made with calculations by substracting the blue channnel with the red.
5. Result after using that second alpha channnel to mask a level (or curves) ajustment layer that subdued the blue cast.

Note that you can get much much bettter result if the file has better resolution and less jpeg artifact that the one that was posted. Hope this helps, good luck!

Last edited by meok : 01-17-2006 at 11:10 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #4  
Old 01-17-2006, 11:39 AM
Member
 
Join Date: Jan 2005
Posts: 58
Quote:
Originally Posted by meok
Hi
This is how I would approach this: http://byloc.com/hair-extract.jpg

1. Original Image
2. Mask made using calculations. (Multiplied the inverse of an enhanced red channel into an enhanced blue channel.)
3. Result of applying that new alpha channel to the hair, we can clearly see the blue highlights.
4. Mask made with calculations by substracting the blue channnel with the red.
5. Result after using that second alpha channnel to mask a level (or curves) ajustment layer that subdued the blue cast.

Note that you can get much much bettter result if the file has better resolution and less jpeg artifact that the one that was posted. Hope this helps, good luck!
Great work meok, but I dont understand step 2 and step 4, anyone can explain it more in detail?

Last edited by superfrasky : 01-17-2006 at 12:58 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #5  
Old 01-17-2006, 01:37 PM
Member
 
Join Date: Jan 2005
Posts: 58
I need help.... I can not remove blue background and blue hair highlights....HELP, HELP,HELP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #6  
Old 01-17-2006, 02:04 PM
Cameraken's Avatar
Senior Member
 
Join Date: Feb 2005
Location: Lancashire (UK)
Posts: 1,112
Hi Superfrasky.

Meok provided a great method which works fine on this picture. However there is perhaps a more useful method here which works on most images.

http://www.russellbrown.com/tips_tech.html

And Larry provided a great explanation here

http://www.retouchpro.com/forums/showthread.php?t=11544

Larry painted out the colour Before the extraction but it can be done after with a layer set to colour and applying the same mask. It can look more natural if you add some colour from the new background.

Hope this helps.

Ken
Attached Images
File Type: jpg Ken_hair-copy.jpg (98.1 KB, 218 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #7  
Old 01-17-2006, 03:10 PM
Member
 
Join Date: Jan 2005
Posts: 58
thks cameraken, but meok method I think that is good for this image. the problem is that I dont know how make him (2 and 3 step of method)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #8  
Old 01-17-2006, 03:39 PM
Cameraken's Avatar
Senior Member
 
Join Date: Feb 2005
Location: Lancashire (UK)
Posts: 1,112
Hi Superfrasky.

I think Meok must have a few extra steps. I don’t really understand calculations.

OK. I’ll try and learn with you.

Dupe the Red Channel
Dupe the Blue Channel

On the Red Copy Channel adjust levels
0 1.00 172

On the Blue Copy Channel adjust levels
0 1.00 213

Select Image > Calculations

Source 1
Channel Blue Copy

Source 2
Channel Red Copy Invert Checked

Blending Multiply

Click OK

This makes a new Channel, Alpha1
Image > Adjust > Invert
Adjust Levels
30 1.00 192

This gives something very similar to Meoks Second Picture.




Ken
Attached Images
File Type: jpg Ken_Pic2.jpg (36.2 KB, 119 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #9  
Old 01-17-2006, 04:12 PM
Junior Member
 
Join Date: Jan 2006
Posts: 8
are you using photoshop or paintshop pro?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #10  
Old 01-17-2006, 04:57 PM
Swampy's Avatar
Senior Member
Patron
 
Join Date: Feb 2005
Location: The Swamps of Florida
Posts: 3,679
This was a challenge, but here's what I came up with.

Basically did a H/S to put some more color in the hair first.

Used the red and green channels combined (see the great calculation tutorial above, Thanks, Ken!) to generate a mask

Inverted the mask and deleted the blue background.

Used Photoshop's Color Replacement tool (Under the Heal brush) to replace any remaining blue spill. You can go back into Curves and soften the whole thing to more closely restore the ash blond (original) colors.

This looks best on a dark background.
Attached Images
File Type: jpg swampy-w-hair.jpg (34.0 KB, 135 views)
File Type: jpg swampys-b--hair.jpg (31.9 KB, 189 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #11  
Old 01-17-2006, 05:35 PM
byRo's Avatar
Moderator
 
Join Date: May 2004
Location: Goiânia, Brazil
Posts: 1,536
I read through meok's method and it's pretty much the same as I did here using the LAB channels.

1) Duplicate the layer;
2) Run levels on the A and B channels marking the background as one extreme (black / white) and the hair as the other;
3) Use Image>Calculations to form a new channel by multiplying the modified A and B channels (have to invert one of them);
4) Make a new duplicate of the original image and apply this channel as a mask;
5) Run Levels on the mask until you get the best possible masking of the edge hairs (don't worry about the inner hairs);
6) Paint the mask to show all the hairs away from the edge;
7) The hairs are now separated from the background, problem now is the colours - take a paintbrush set to blending "Colour" and sample from the "good" hair and paint on the "blue" hair. Vary the sample to get a few differente hues;
8) Put in your new background.

Attached Images
File Type: jpg Hair-byRo.jpg (98.6 KB, 203 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #12  
Old 01-17-2006, 06:41 PM
Cameraken's Avatar
Senior Member
 
Join Date: Feb 2005
Location: Lancashire (UK)
Posts: 1,112
Quote:
Originally Posted by Swampy
(see the great calculation tutorial above, Thanks, Ken!)
Ha Ha. Swampy. That wasn’t a tutorial. That was a complete Guess based on Meok’s method. I have read loads of things about calculations and still don’t understand it.

I understand how to use it. But I don’t understand which channels I should be using or Why and I don’t understand which blending mode to Choose. I guess it will come with practice.

Rô. Your picture looks great.
Using Russell Browns method (as I did in my first post here) some of the stray hairs look very ‘fat/thick’.

I will try your method.

I still think Leuallen’s method of changing the colour of the stray hairs to the colour of the new background Before making the selection makes a lot of sense.


Ken
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #13  
Old 01-17-2006, 10:52 PM
bart_hickman's Avatar
Senior Member
 
Join Date: Nov 2005
Location: Oregon, USA
Posts: 471
For step 2, he multiplied the inverse of the red channel and the non-inverse of the blue channel. Both the red channel and blue channel were enhanced prior to multiplication. You could enhance them as needed (curve, channel mixer, etc..) to get good contrast. This can be done interactively using adjustment layers rather than layer arithmetic.

For step 4, he subtracted some percentage from the blue channel and replaced that with an equivalent percentage from the red channel. This works because the hair has roughly equal red and blue channels. Again, I found that the channel mixer was more interactive for this step--go to the blue channel, set blue to 20% and red to 80%.

Very educational.

Bart
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #14  
Old 01-17-2006, 11:24 PM
Senior Member
Patron
 
Join Date: Dec 2005
Posts: 1,036
Hair selection using LAB

I simply converted the orig image to LAB and selected the B channel (most contrast) and duplicated it. Then using the Apply Image command, applied the B channel to itself in Overlay Mode. A simple levels adjust to boost the contrast and the mask was pretty well done. Like Ro, I painted away the blue in the edge hair. Regards, Murray
Attached Images
File Type: jpg Hair Rev MM Thumbnail.jpg (78.3 KB, 141 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #15  
Old 01-18-2006, 12:27 AM
Kraellin's Avatar
Moderator
 
Join Date: Apr 2005
Location: somewhere over there
Posts: 6,241
Blog Entries: 4
if i understand what you want, you want to remove the blue background, but save the blue highlights in the hair? is this right? that's how i read it, so i did this:

craig
Attached Images
File Type: jpg hair-1-k-1.jpg (96.0 KB, 123 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help removing complex hair from crazy background renato17 Image Help 16 11-24-2006 09:30 PM
Retouching Hair Strands - Does CS2 have a photo "TUBE" mode? ray12 Image Help 3 09-06-2006 08:39 PM
Selection Tool T Paul Scratch Pad 1 06-16-2005 12:13 PM
How to make a perfect selection of hair ? loornard Image Help 14 03-02-2005 02:30 PM
13 Photoshop Selection Tips DJ Dubovsky Photo Compositing 5 10-20-2004 07:49 AM


All times are GMT -6. The time now is 05:22 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 Doug Nelson. All Rights Reserved moo




1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50