View Full Version : extracting blond Hair for black background-destination hi,
i have to extract 12 x60MB TIFF images, with girls in front of a white background. unfortunately i have to set them all in front of a black background :devil:
i have only 1 week for it, the whole body is also to extract but thats the fast part of it. additionally i have to repair the skin (and do this with 14 more images of that series, which remains on white back)
i said "very good planning", but the shoot is done and cant be reshot. :heul:
so i would use the masking technique back and forthmasking as i do usually,
and maybe paint a few thin hairs then later (difficult with mouse though)
any idea how to extract it faster but still looking "real" ?
- using extract tool in Photoshop CS2 ? i never did, hm.
- using knockout 2? i could use it, but never did, is it easy without practice?
i am very practiced with my bezier-tool and with back/forth masking in the mask-channel, and i prefer it and like it, but it could be simply too slow reg. the time limit.
:normal:
any idea, would be glad!
thanks mistermonday 02-09-2006, 03:24 PM Pure,
Start by checking out this RetouchPRO thread. For hair, especially fly-away or whispy, the Extract filter does not do a great job. Knockout is not much better.
Sometimes these extractions are much easier than you would think ut it depends on the color and contrast relationship of the hair to the rest of the image. I suggest that you post an example image here and see what ideas come back which are specific to that image. Here is the link.
http://www.retouchpro.com/forums/showthread.php?t=12557&highlight=superfrasky
Regards, Murray studioj 02-09-2006, 03:52 PM I have to strongly recomend this video:
http://av.adobe.com/russellbrown/AdvancedMasking.mov ok
http://homepage.mac.com/purepeter/Sites/temporary/haare.jpg
:lol: bart_hickman 02-09-2006, 05:09 PM This looks delicously fun. You have three light sources which must be separated from one another--the background, the foreground, and the strong highlighting of the hair strands. Do you want the glowing highlighting of the hair-strands to be preserved on the new black background?
Bart Do you want the glowing highlighting of the hair-strands to be preserved on the new black background?
Bart
no, not necessarily. the photographer said its enough exctracting the thick hairs and medium thin and leave the ultra-thin ones out.
maybe painting a few thin i thought, i dont know.
in general it doesnt mind what i do, it should only look natural studioj 02-09-2006, 05:44 PM Pure, you can get the ultra-thin over the black with Russell Brown's method.
Trust me mistermonday 02-09-2006, 06:58 PM The fly away hair is basically the same neutral color as the background except at a different lightness (89 vs 99). My only hope here was lab. I moved the image to LAB and did a curve adjust by setting a point on the L at 89 and then nudging that point way down. What happened was all the fly-away hair remained bright (99) while the foreground hair got very dark. This left the backgound at medium gray. Using Select> Color Range and adjusting the fuzziness, you can select just the background and in 1 minute you have the makings of a good mask. It needs some touch up but I will have to work on it later. Of course by that time Super Masker Bart will likely have figured out a better way.
Regards, Murray Flora 02-10-2006, 01:34 AM Changing backgrounds for flyaway, fine hair is something I've always liked, and still do, to experiment with ... but up to now, there hasn't been a result making me go 'WOW' when changing from a White to a solid Black background ....
They are the 'non colours' at the extreme opposite from each other and therefore, in my opinion, such a drastic change will always look a bit 'fake/pasted/you name it' ... Specially because, as Bart very rightly pointed out, 'the strong highlighting of the hair strands' is due to the particular conditions and background in which that shot was taken .... if the background would have been solid blue, like in the case of the link Murray provided, 'the strong highlighting of the hair strands' would have a strong bluish/cyan cast .... and whatever has colour and therefore information, can be changed ....
In this case the background in nearly white and the highlighting of the hair strands is even lighter ....
Bart asked "Do you want the glowing highlighting of the hair-strands to be preserved on the new black background?" .... I know Bart can work magic in 'impossible' extractions, but, in this case, in my opinion, if you preserve the glowing highlights against the new black background, it will make the lighting look wrong (I'm no photographer, but I think white reflects light back ... black tends to 'absorb it toning the highlight in the hair in a completely different way ..) ... and will be a dead giveaway of manipulation indipendently on how good and accurate the mask might be....
If you tone the highlights down and try to splash some colour in them, they will look rather flat and lifeless ... a far cry from the glowing highlights of beautiful healthy hair ...
The other alternative is to 'eliminate' the lighter flyaway strands ... which can also be an unsatisfactory compromise ....
I might try the procedure for myself .... but I don't know if the result it could be considered acceptable for commercial use ... Here is an extraordinary technique that I learned from someone.
You'll need to do it in steps, which is typical for difficult selections, especially hair.
Start by selecting the main hair portion and copy it to a new layer. (You can probably get this selection quite easily from the channels, if you know that trick.)
The next step is to get the flyaway hairs. This is really difficult on this pic because the colour of the bg is so similar to the hair. Duplicate bg layer and accentuate the difference in colour between the bg of pic and the flyaway hair if you can, with whatever method you want. Next, and here's the weird part, sample the bg colour with the colour picker. Add a new empty layer and fill it with this colour and then change this layer's mode to difference. Next, isolate this colour with something like Select>Color Range, and using the colour picker click the background colour. You'll get a finer selection this way of the flyaway hair.
The end result here looks quite poor, but this picture will never look good no matter what you do if you intend on putting it on a black background.
Your idea of painting hair is an excellent idea. Doing this and disorting the strands with the ripple filter will help give you a pretty good illusion of natural hair.
Also, you can forget about trying those one touch type knockout methods, like the extract or others like it. They won't work for this type of thing. You need to use channels and whatever advanced methods you can pick up - like this one. There's no easy way unfortunately.
good luck,
Mig Flora 02-10-2006, 01:58 AM Mig,
You are right .. it is one of the best ... and it was the first I tried ... but, ....but this picture will never look good no matter what you do if you intend on putting it on a black background.... that is exactly the point I was trying to make with my previous post ... Gary Richardson 02-10-2006, 02:03 AM Can't open the attachment on MIG's post. No problem with other attachments. Yeah, you're right Flora - this doesn't work and I don't bother with it when I see this problem.
One trick though, to get around the difficulty of selecting flyaway hair when all you want to do it change backgrounds is to cheat and and keep all the flyaway hair + the superfluous colour around it, and then when you switch backgrounds, then make sure the colours around the strands of hair are the same in the new background. I know this is common sense, but it's a good trick for those who are stubborn and want to try and select every last pixel of hair. It'll only drive them crazy.
mig bart_hickman 02-10-2006, 02:06 AM The first thing I tried was the background eraser tool in Paintshop Pro. I did a couple of other easy tweaks after the BGE, but that's the main part. That's the first attachment--took about 10 minutes including tweaks.
For grins (or so I thought), I tried the defringing mask method, which took 45 minutes and there was some hand brushing (I hate it when that happens.) That's the second attachment.
Neither looks completely natural, but I think the BGE is a bit better-looking. Maybe some brushing in the hands of someone with artistic talent (not me) can help finish it off.
I did a third BGE version with a bit more aggressive erasing. The right side looks okay, but the left side looks a bit weird.
Bart Mistermonday:
first i would like to ask if there is any risk converting the ECI-RGB into LAB and back? i am afraid of it in case of loosing any information or pixel.
if there is no risk at all. i will follow your instruction
Flora:
yes youre right. i think it willl never look real "good" but as compromise i would follow your instruction.
Mig: very good result, i will try that and eliminate the fly-around hairs by using some of the layers-option-palette menu (multiply or luminosity or whatever, i try)
thanks you all Flora 02-10-2006, 02:32 AM Gary,
...any luck in downloading the pictures?
No problems here, but sometimes it happens to me too .... In these cases, I 'force' a total reload of the page (with Netscape is Crtl+Shift+R) and it ususally works ... Rydiant 02-10-2006, 12:47 PM Hi everyone,
I've observed discussions on RetouchPRO for a while now. I've never had anything to contribute that hasn't already been mentioned by others in each thread until now. This isn't original but I think it's a good reminder:
Pure, try to refer to a similar image; give yourself a target. Look for a model shot against a black background and lit in a similar fashion. It's so obvious to consider (and accordingly, very easy to forget when you're in a pinch,) but it's impossible to undervalue how an ideal picture gives you a goal to aim for in your retouching. You'll know what doesn't look real because you'll have a concrete example for comparison. You won't need to rely on imagination or vague memory.
We're all sensitive to human features that "just don't look right." We can all keep working through trial and error to make our retouching look better. Of course it's best to know exactly what we're aiming for when we need to maintain realism.
I hope this helps. And Pure, I hope you come up with the result you need in time! Good luck!
Photoshop. The RetouchPRO community is full of genius! I've learned a lot. Thanks to the mods and all the contributors. I hope to be a part of more discussions in the future. mistermonday 02-10-2006, 02:06 PM Hi Pure,
There is no visible loss in converting to LAB and back. Mathematically there may be a tiny quantizing error but it is not noticeable.
Regards, Murray Hi there, Rydiant! Welcome to RetouchPRO :bigthmb:
You quite right of course.
Sometimes we get so carried away with the intricacies of channel blending that we forget to look where we're going - good reality check!
Rô Flora 02-10-2006, 02:32 PM Hi Rydiant!
Welcome to RetouchPRO from me too!! :pleased:
Thank you so much for the great tip!!! As Rô said, we tend to get 'carried away' ... so, it's a brilliant idea to keep an image of reality for quick comparison!! :) :) bart_hickman 02-10-2006, 02:57 PM I think we all agree this is one of those pathalogical cases you'd want to avoid at all costs.
For future reference, the best choice is to shoot with a background and lighting of similar color to the final desired result. Russel Brown's techniques work best in this situation.
If you don't know what the final background will look like or if you just want more flexibility to have a general image that you can cleanly extract for an arbitrary number of possible scenarios (ie aribrarily changed background and arbitrarily changed hair highlights) it's best to ensure that every light source has a distinct color--the more saturated the better. So, for example, if the background had been saturated dark red and the hair-highlight had been light saturated green (the third light source is what is coming from front of the subject--in this case it's the yellow of the hair), you could more easily (and smoothly) separate the three light sources and adjust them as desired in the final image.
Bart Kraellin 02-10-2006, 03:07 PM oh lord, another bad hair day ;)
has anyone tried the vertus software on this yet? i'd be real curious to see how that works.
craig studioj 02-10-2006, 03:11 PM Ok non of the 2 ways that Russell Brown shows in his videos are usefull for this, well, not as a "GOOD RESULT"
I'm a little stuck, but after the meal I was wondering about something, I'll give a try.
Do you know pure that you put all of us to work?
LOL
Ok, Now I edited my post to attach my try, please tell me if you think it's some how reallistic and I'll tell you my process
Check most on the upper side of the pic, I wasn't putting attention to the lower part, but the method works for bought studioj, your pic is very good.
unfortunately i didnt have enough time to experiment today,
but i found my own way of doing it and mixed everything a bit together from your approaches and the videos one.
alltogether i like the result, it took me the whole day, but i have to continue with 10 more and i must leave it now, until the client says "no" or "yes".
of course its not as precise as all of yours, its just done in a flush or hurry and finished "moody" as for the atmosphere and lightmood, for my own point of view. :wavey:
here it is: unretouched/retouched
http://homepage.mac.com/purepeter/Sites/temporary/blonde_onwhite.jpg
http://homepage.mac.com/purepeter/Sites/temporary/blond_onblack.jpg
thanks for your help again, i cannot say how much you all helped me today.
i was nearly close to heartattack, to say it ironically. :dizzy: :dizzy: :) studioj 02-10-2006, 03:59 PM :D I like the final result, I like the model too :D
It's not what you where looking at the beginning, but the result it's good for my point of view bart_hickman 02-10-2006, 03:59 PM Looks good. Please tell us how. :happy:
Bart thanks
extracted the hair and body with the video method (i think it was colormixer)
then i had a channel with a nice mask, actually 2 as for body and hair, like described in the video above.
applying the mask and cleaning it, erasing everything light and medium light in the hair.
finally copied original hair as layer over the masked layer and erased everything which i didnt need. then pressed invert (i), then applied several curves for the second hair layer and applied another layer as luminosity filled with light orange airbrush over the hair peaces which went light-grey as i inverted it. then the invertlayer looks like a mix between red/blonde against black background. hope this works also for next 10 images. :cat:
thanks studioj 02-10-2006, 04:18 PM Mine was the most simple of all of you. I used the old REPLACE COLOR option in the menu IMAGE/ADJUST/REPLACE COLOR
I used 20% tolerance and click on the upper background color, and I decrease the luminosity only in 15%.
I did this like 6 times and then, I had a very nice contrast in the background and the hair. Then, use color burn tool (O) on the edge of the hair and a hard black brush on the rest of the background.
REPLACE COLOR worked perfectly, more than LAB color and the other methods Gary Richardson 02-10-2006, 04:37 PM Hi Flora, sorry I'm a bit late coming back. Tried just now and it opened fine, just some kind of temp glitch I suppose.
Thanks for the suggestion, will try it next time I have such a problem.
Gary Cameraken 02-10-2006, 06:38 PM Hi Pure.
You Say you ‘unfortunately I have to set them all in front of a white background’
I don’t know whose fault this was but it sounds like the instructions were not that clear. As a photographer without clear instruction then I would have added a backlight or hair light.
Another Way.
Why not extract the body but leave a snoot on the background. This is what I would have done when taking the shots.
This means you can have a black background without any hair extraction, which will look more natural.
Ken Mine was the most simple of all of you. I used the old REPLACE COLOR option in the menu IMAGE/ADJUST/REPLACE COLOR
I used 20% tolerance and click on the upper background color, and I decrease the luminosity only in 15%.
I did this like 6 times and then, I had a very nice contrast in the background and the hair. Then, use color burn tool (O) on the edge of the hair and a hard black brush on the rest of the background.
REPLACE COLOR worked perfectly, more than LAB color and the other methods
sorry doesnt understand that really. i tried it and it works fast, in the preview i get a nice mask from the hair. but then i press ok, and nothing happens.
what is the goal from this, do i get a mask in channels for example?
another question i dont understand:
when i use the magic wand tool, or lets say better i use the channelmixer to get a mask from body and hair, and i have it finished, the edges of the mask are very hard and ripped. do you use a soft selection then always after that or blurring?
compared to the slower method of creating a path with the pathtool and beziertool, with a finishing selection of 1 or 2 pixels, the result is very sharp and doesnt look so broken as the other methods.
thanks Ok non of the 2 ways that Russell Brown shows in his videos are usefull for this, well, not as a "GOOD RESULT"
I'm a little stuck, but after the meal I was wondering about something, I'll give a try.
Do you know pure that you put all of us to work?
LOL
Ok, Now I edited my post to attach my try, please tell me if you think it's some how reallistic and I'll tell you my process
Check most on the upper side of the pic, I wasn't putting attention to the lower part, but the method works for bought
again me,: :cat:
how did you get it so soft and sharp? i like this result best, the picture is not quoted, hm.
using russel browns method i always tend to get a mask which looks ripped and broken. especially the thin hairs look very broken.
and something i am not sure about: the pictures will be printed 1:1, like 2meter high outside for an advertising campaign
which kind of black as background would you define? i took 100Black and 50Cyan then filled the background with it, altough i am working in ECI-RGB. would you fill it with 255/255/255 rather? lkroll 02-11-2006, 07:56 AM About a minute and a half to be exact. I used GIMP's Color to Alpha and picked the background color. I then blended the base layers middle hair area back into the frey (most time consuming part; still not that hard) and done. Here's (http://img70.imageshack.us/img70/3344/haare5lb.png) the transparent PNG file (note: IE does not support full PNG transparent specifications). Note too that this only worked because your background was pretty much a solid and consistent color. :) studioj 02-11-2006, 08:26 AM Pure, I didn't use any mask to get the background dark, I used the item menu showed in the attached 1.
For english it is REPLACE COLOR, for German, no idea.
Flora, You and Me should make a Items and Terms translation to help everyone else here :D
Open the dialog window (attachment 2) and CLICK ON THE UPPER COLOR in the background to get the color sample. Set tolerance at a low value. Set Luminosity to a minus value. Then you can see results like the attachment 3.
The change it's very little, but do the same for 4 or 5 times, and you will get a nice gray background and bright white hair :) ok. i know. replace color. i am in there now. but it doenst work very good, i get very harsh and broken looking outlines of the hair.
i dont know how you all do your fine outlines with nice fading gradient to the black KR1156 02-11-2006, 10:35 AM lkroll....picture looks awesome....do you think you could explain your method in a little more detail....i'm not sure what GIMP's color to channel is and the second part that you say was blending the base layer back into the fray kinda lost me.
are you using Photoshop?
I would appreciate any feedback
Thanks. yes true.
i dont have gimp here.
my photographer is not satisfies with my result, any idea how i could get sharp and clear extract of the single thicker hairs?
i only have photoshop CS 2 on a mac, nothing else, sorry.
i used some of your methods and tried channelmixer, replace color and so on,
but i only got masks with ripped looking loutlines. then smoothing it afterwards with gauss or blur tool it looks not real.
so the methods are good only the outline is my problem. do i make a mistake anyway?
the thin hair i can paint always.
in the end i have to make dozens of bezier-curves, hm :blank:
thanks :square: Flora 02-11-2006, 04:03 PM lkroll,
.... looks great! ... I'd be very curious to see how it would look on a solid black background as pure had asked ... :pleased:
studioj
I'm working on your 'Replace Color' Technique which, for this case, seems to get the best results ... Thanks for sharing ... and I'll let you know ... :pleased: lkroll 02-11-2006, 06:14 PM Like I said, this one was quick. Used very rough selection to get the base back, so for colors below midgrey, you'll see the imperfections, but busy backgrounds (non-solid) works. Anyway, GIMP has a plugin called color to alpha. I select the background color and then chose Filters>Colors>Color to Alpha. The background will become transparent (and so will some of the base colors on her head since the background is so close to her hair color). I then select (and I did this with a rough brush) the center area of her hair and copy that and delete the base layer. I paste the result and merge all layers (merge preserves tranparancies). The PNG file is the result. Again, simple simple simple. If I was a little more careful, even black wouldn't look that bad.
I still believe you can do the same in CS/CS2. I would be surprised if not. You should be able to create a color mask, but I'm not that proficient in CS2 yet. :) Flora 02-12-2006, 01:06 AM Hi lkroll,
yes, it can be done with Photoshop as well, in 2 very simple steps and it didn't take more than 5 minutes ....
* Select>Color Range, [Selection button checked], with the 'Add to sample' Color picker I clicked on different parts of the hair, adjusted 'Fuzziness' until I was satisfied with the mask, OK, Ctrl+Shift+I Inverted the mask so I was working on the background and not on the selected hair ...
* After this, you can use Levels, Curves, Color Balance, Selective Colors, Photo Filter ... to change the colour of your background and give a very light cast to to the lightest highlights ... If you'd like stronger colours you could tone down the very light grey of the background first (very easily and quickly done with Levels withouth affecting the highlights...) ... or you could change the blending of your colour Layer to Multiply ....
It's really very easy when you keep the background on the light side .... and even easier if you change to a 'busy background' .... The problem is changing white to black ... and the fact that even black wouldn't look that bad ... but it will never look real good ... :o:
In my attachment:
Left image was done with Levels.
Middle Image was done with Selective Colors.
Right Image was done with Color Balance. lkroll 02-12-2006, 08:05 AM A side effect of the Colors to Alpha filter. Duplicate and then run colors to Alpha on top layer. Then duplicate the top layer several times until the background is black. Then copy the original layer on top and set to Saturation and adjust opacity down to a little. Do some additional black painting and your done. Really not a masking technique, but black, as you already eluded to, is a special case. Now call me the master of Chiaroscuro. :lol: lkroll 02-12-2006, 06:35 PM I make mistakes too (but most of the time I'm perfect :lol: ). I thought that the forground color was picked when using this filter. The default color for Color to Alpha is FFFFFFh (white) and must be manually changed. So I did all the above using the white to alpha. Sorry for the mistake. The results speak for themselves anyway. ;) Flora 02-17-2006, 03:59 PM Hi lkroll,
sorry for getting back so late, but I've been very busy (and I'll be for the next two weeks ...)
Now call me the master of Chiaroscuro. ... couldn't agree more ... :D :wink: !!!!
(but most of the time I'm perfect ). .... You can't imagine how familiar this sounds ..... been living most of my life with someone just like that .... (...that's what he says... ) :pleased: :D :D | |