RetouchPRO

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


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

Complex hair selection

Reply
 
Thread Tools
  #31  
Old 01-21-2006, 05:48 PM
bart_hickman's Avatar
bart_hickman bart_hickman is offline
Senior Member
 
Join Date: Nov 2005
Location: Oregon, USA
Posts: 479
Hi Ken,

No problem, but I think I'm going to give you the full technique I use for transplanting fuzzy and/or semi-transparent objects from one arbitrary background to another (as opposed to moving between two similar backgrounds or plain color backgrounds which has been explained very well already.)

It's sort of a tutorial I've been working on here and there for about a week, but now I think I'll finish it up using the nice hair example from this thread. I'll post a link to it sometime later this weekend.

Bart
Reply With Quote top
  #32  
Old 01-21-2006, 07:20 PM
Ken45140 Ken45140 is offline
Member
 
Join Date: Jul 2003
Location: Loveland, OH
Posts: 88
Bart: that is super. I am eagerly awaiting and I'll bet others would like to know it also.

Thanks,
Ken
Reply With Quote top
  #33  
Old 01-21-2006, 07:29 PM
bart_hickman's Avatar
bart_hickman bart_hickman is offline
Senior Member
 
Join Date: Nov 2005
Location: Oregon, USA
Posts: 479
Okay, here it is:

http://home.comcast.net/~zumbari/Tut...n_tutorial.htm

I've only tested it on a couple situations including the one in this thread. However, the math implies it should work in a huge variety of situations. It should even work with translucent objects (such as bug wings or bridal viels), but I haven't taken the time to test it on things like that. When I do, I'll add that to the tutorial.

Bart
Reply With Quote top
  #34  
Old 01-22-2006, 10:58 AM
Ken45140 Ken45140 is offline
Member
 
Join Date: Jul 2003
Location: Loveland, OH
Posts: 88
Bart:

Great work, and a very nice technique.

The good news is that I successfully removed the fringe.

The bad news is that I probably cannot recreate my steps, AND, I also can not for some reason put the black background behind the defringed image.

I believe this is so because I am still getting familiar with PSPx layers, groups, and masks, and while I got the end result (no defringing), I am very unsure what layers did what and in what order they should be to match what you are doing. I wonder what PS users will come up with if they try to execute your tut within PS. I actually plan to try this within PS just "to see" what happens.

I am not sure how to ask for additional help, and will just keep trying various combinations of layer and group formation. More work on your part (for less gain) is to expand your tut to more clearly describe the (intermediate) steps. Your layer stack picture is also incomplete (cutoff in your capture) and, if the capture were expanded, might offer additional clues on what I need to have in mine.

This is clearly an "advanced technique", and beginners like myself probably have no right mucking around trying to make it work right now.

The attachment (my first) shows the end result and my layer stack (with a black background) but the hair is on a transparent bg, not a black bg. Also, I have a small spot of remaining blue in the lower center of the hair resulting (I think) from careless manual painting on the manual fix layer. As further demonstration of my need for additional learning, I am failing in trying to adjust the remaining blue out.

[Edit: I should mention that I started with a screen capture of the left side of your Figure 1 and did not do the Brown tutorial from scratch. Maybe that fact is contributing to my troubles here. (?)]

Thanks for sharing; super work!
Ken

PS: Anyone else trying this out???
Attached Images
File Type: jpg Example1.jpg (79.2 KB, 79 views)

Last edited by Ken45140; 01-22-2006 at 11:08 AM.
Reply With Quote top
  #35  
Old 01-22-2006, 12:29 PM
bart_hickman's Avatar
bart_hickman bart_hickman is offline
Senior Member
 
Join Date: Nov 2005
Location: Oregon, USA
Posts: 479
Hi Ken,

The reason you're not seeing the black background is the fringy object isn't contructed correctly. You have a raster layer called "Raster 3" where there should be a mask layer to remove the background (I called this Mask 1 in my tut).

That's a good idea to show the entire layer stackup. I'll put that in at the end of the tut.

Bart
Reply With Quote top
  #36  
Old 01-22-2006, 05:35 PM
ajava ajava is offline
Junior Member
 
Join Date: Jan 2006
Posts: 19
Help me please, with the actual MASKING part...

Quote:
Originally Posted by mistermonday
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
I get the concept of what's going on here...trying to create as much contrast as possible to allow for distinct black and white areas in the image, to then allow for easy masking. But once you have the great contrasting image, how do you actually make it a mask? I understand masks and how they work, I just really get tripped up when actually trying to create one from a selection. Bear with me here, I'm a newbie! Thanks!!!
Reply With Quote top
  #37  
Old 01-22-2006, 06:26 PM
lkroll's Avatar
lkroll lkroll is offline
Senior Member
Patron
 
Join Date: Jan 2005
Location: Alabama
Posts: 4,746
Trying an interative process.

Used GIMP. Duplicate the layer many 4 or 5 times since you'll need them. I used the color picker and picked the blue color and created a fill layer. I set the resulting fill layer to Divide and set opacity to 50%. Merge down. Set the resulting layer to Dodge. Paint the obvious parts that suppose to be head/hair white. Desaturate this layer and do an autolevel. Do any necessary obvious b/w fills and cut the layer. Create a layer mask on one of the duplicate base layers and anchor the cut layer in place. Create a transparent layer on top and set to color. Use color picker to pick a good color from the hair and paint the edges (gets rid of the remaining blue). Merge Down. This step removes the mask and also creates the target so that you can copy a new background to it. Delete any remaining base layers. Takes a few minutes to understand this, but, in the end, you can do a mask for this in a matter of a couple of minutes. It heavily depended on the fact that you had a solid color background by the way. Here's the PSD file (transparency intact; used yousendit to host since the file is over 1Meg and I'm running out of storage space; would have saved it as PNG, but, for some reason transparency of PNG files saved with GIMP is not compatible with PS; a problem that will have to wait til later to figure out).
Attached Images
File Type: jpg Details.jpg (79.2 KB, 96 views)
Reply With Quote top
  #38  
Old 01-25-2006, 02:17 PM
Craig Walters's Avatar
Craig Walters Craig Walters is offline
Senior Member
 
Join Date: Apr 2005
Location: somewhere over there
Posts: 8,786
Blog Entries: 4
complex selections like this have always been a bit of a problem for me. i can normally get things fairly decent, but not exact. and i have gotten better, but i still need work.

i'm fairly happy with this technique, but it has limitations because i had to use some blending modes that may not always work on every image. they just happened to work with this one because of the contrasts and brightnesses.

i'm also not going to try to post the steps here as it got pretty convoluted and i'm not even quite sure all i did either. suffice it to say that i'm still trying to perfect a good working technique for all this. i did take some steps no one else has mentioned, though, and i'll give you what i can of those.

i can make a decent mask. that was fairly easy, so i'll skip that. the hard part of this image is that there is blue where you want transparent and there is blue where you dont want transparent. this makes things a bit tricky because if you simply erase the blue you also erase the blue where you dont want to. and if you alter the blue where you do want it to match up with the rest of the hair, you also alter the blue where you want it transparent and removed.

so, one of my steps was to use the 'color replacement' tool in psp 10. i replaced the blue with black where i wanted it transparent and then used a plugin to 'eliminate black'. that wiped out the blue where i wanted it transparent.

the other odd part i did was not to use a hue/sat layer, but instead used the 'colorize' tool. this allowed me to easily adjust hues from blues to reds while keeping the relative values of the blues over into the reds. it also allowed me to adjust the lightness of the current blues a bit also. this worked REALLY well on this particular image and was one of the last steps i did in getting the full hair-as-i-wanted-it image with the rest of the image as a transparency.

but all of the above needs a bit of work. it's a long process, somewhat inexact and i had to make one final step to bring in the rest of the fringe hair i had lost. i made a new, blank raster layer, put a gradient fill below it and then brought in the original image complete and unchanged and put that below the filled raster layer. i then set the fill layer to 'light' and that brought out the remaining lost fringe from the original.

like i say...i'm still evolving this process

craig
Attached Images
File Type: jpg hair-4-k-1.jpg (88.5 KB, 57 views)
Reply With Quote top
  #39  
Old 01-25-2006, 02:45 PM
Ken45140 Ken45140 is offline
Member
 
Join Date: Jul 2003
Location: Loveland, OH
Posts: 88
Try BGE (BackGround Eraser)

Craig: I am certainly a beginner on these more complex hair extractions. However, as the attachment shows, the BackGround Eraser in PSPx (which you say you use primarily) is more powerful than I had first realized. The following link is an indepth article by the developer of the BGE in which the details are explained. With that and some other help on the PSPx Corel Newsgroup, I was able to produce the extractions illustrated in the figure.

This is the source of the article:
http://tinyurl.com/8h2ck

BTW, the panel talking about the Brown Technique relates to somewhat modified steps to accomplish the same objective in PSPx rather than in PS.

Ken

[Edit: I need to rework the image to lower its size---see next reply.]
Reply With Quote top
  #40  
Old 01-25-2006, 02:48 PM
Ken45140 Ken45140 is offline
Member
 
Join Date: Jul 2003
Location: Loveland, OH
Posts: 88
Image to go with previous post.

Ken
Attached Images
File Type: jpg Hair06b1a.jpg (76.1 KB, 90 views)
Reply With Quote top
Reply

  RetouchPRO > Technique > Photo Compositing


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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


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


All times are GMT -6. The time now is 10:14 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Copyright © 2016 Doug Nelson. All Rights Reserved