RetouchPRO

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


Photo Retouching "Improving" photos, post-production, correction, etc.

Help Needed: How to extract girl from background?

Reply
 
Thread Tools
  #1  
Old 12-15-2011, 02:41 AM
colaja colaja is offline
Junior Member
 
Join Date: Dec 2011
Posts: 3
Help Needed: How to extract girl from background?

Hi

I need help with extracting this beautiful girl from background. Any suggestions, techniques, advice is much appreciated.

Thanks in advance!
Attached Images
File Type: jpg girl.jpg (32.7 KB, 87 views)
Reply With Quote top
  #2  
Old 12-15-2011, 03:12 AM
gperkins1973 gperkins1973 is offline
Junior Member
 
Join Date: Nov 2011
Posts: 12
Re: Help Needed: How to extract girl from backgrou

Just simply make a selection around the girl and go edit, fill then content aware. Click ok and she will disappear. Then just use the healing or clone tool to clean up. I then picked a lightish grey colour as the foreground colour and then left the background as white. Then then use the lasso tool to create a swiggly shape where the ghosting effect is and then create a layer mask. Then use guassian blue to soften the mask. Then just reduce the opacity down to around 30% and then blend it in a bit more using the gradient tool to soften the layer mask around the edges to blend in.


cheers

Graham
Attached Images
File Type: jpg girl remove.jpg (13.4 KB, 53 views)
Reply With Quote top
  #3  
Old 12-15-2011, 06:39 AM
Chain's Avatar
Chain Chain is offline
Senior Member
 
Join Date: May 2009
Location: Oslo, Norway
Posts: 551
Re: Help Needed: How to extract girl from backgrou

Excellent solution Graham!


How I would do it: (simple and quick)
1. Duplicate the background layer, and hide the Background (it's our original).
2. Add a new background between the two layers (I just picked white for visibility, but a dark background closer to the original will look better).
3. Make a selection of the girl. I simply used the quick selection tool. Nothing terribly accurate.
4. Make a mask of the selection by hitting the "Layer Mask" button in the layers panel.
5. In the "Masks" panel, click "Mask Edge" to refine the selection.
6. Increase the radius until the hair/fur looks good. You might want to try Edge Decontamination (In my example I used it at max strength; but I only had the lowres preview you uploaded).
7. Manually refine the mask (paint with black/white in the mask using the Brush Tool). A Wacom tablet helps a lot.

You might want to do this twice (so two layers); once for the hair/fur, and one mask for the rest (e.g. a mask made using the pen tool, or simply using different Mask Edge settings).

The contrast between the subject and background is not very high, so I'm sure you have to manually refine the mask a bit no matter the method you use. Also if the new background is very different from the original (mainly in terms of brightness) you might have to do some more work on the mask, as well as adjusting the color along the edge to get it looking good (e.g. the automatic edge decontamination I used to get it to look ok on white made the red from the gloves bleed into the hat).
Attached Images
File Type: jpg rough-mask.jpg (45.6 KB, 50 views)
File Type: jpg refine-edge.jpg (43.7 KB, 47 views)
File Type: jpg manual-refine.jpg (43.7 KB, 55 views)

Last edited by Chain; 12-15-2011 at 06:45 AM.
Reply With Quote top
  #4  
Old 12-15-2011, 10:18 AM
gperkins1973 gperkins1973 is offline
Junior Member
 
Join Date: Nov 2011
Posts: 12
Re: Help Needed: How to extract girl from backgrou

Sorry I read it that they wanted to remove the girl from the background and not just mask the girl. Must have been really early this morning. LOL
Reply With Quote top
  #5  
Old 12-15-2011, 11:19 AM
Chain's Avatar
Chain Chain is offline
Senior Member
 
Join Date: May 2009
Location: Oslo, Norway
Posts: 551
Re: Help Needed: How to extract girl from backgrou

I thought your solution was funny on purpose. lol

Good job on the background though.
Reply With Quote top
  #6  
Old 12-15-2011, 02:05 PM
colaja colaja is offline
Junior Member
 
Join Date: Dec 2011
Posts: 3
Re: Help Needed: How to extract girl from backgrou

this is exactly what I need. thanks Chain, you saved my day
Reply With Quote top
  #7  
Old 12-15-2011, 02:50 PM
John Wheeler's Avatar
John Wheeler John Wheeler is offline
Senior Member
 
Join Date: May 2011
Location: Colorado
Posts: 583
Re: Help Needed: How to extract girl from backgrou

You had me going too Graham.

Hi colaja

Kudos to Chain for a very nice result

The approach below is very similar to Chain's with a slight twist.

- Create Saturation Layer (Sat as defined by Color Picker - actions are available online for this). This creates a pretty good distinction on the boundaries. Note that the larger pixelation you see has to do with the JPEG compression of the image so it will be much easier with the original image
- Use quick select tool on inside of person
- Turn into Layer Mask
- Use Refine Mask with Radius about 1px and Smart Radius turned on and also up the contrast on Refine Mask
- Put in white background

Image below Left to Right and Top to Bottom is
1) Original
2) Sat Layer
3) Layer Mask that was created
4) Final Image

Adding tufts in strategic spots on the Layer mask would bring in a little more hair yet I did not do that step just to show what you can get with basic steps.

girl_panel_SFW.jpg
Reply With Quote top
  #8  
Old 12-15-2011, 03:22 PM
colaja colaja is offline
Junior Member
 
Join Date: Dec 2011
Posts: 3
Re: Help Needed: How to extract girl from backgrou

Thanks John, but I don't actually understand what you did with saturation layer. can you explain me a bit more?

thanks in advance!
Reply With Quote top
  #9  
Old 12-15-2011, 04:00 PM
Chain's Avatar
Chain Chain is offline
Senior Member
 
Join Date: May 2009
Location: Oslo, Norway
Posts: 551
Re: Help Needed: How to extract girl from backgrou

The saturation layer was essentialy John doing a "color adjustment" trying to increase the contrast between girl and background. This was just to give the Quick Selection Tool an easier time finding the edges. It wouldn't have to be a Saturation layer; it could be a Curves adjustment layer, or perhaps your red channel. I wouldn't worry too much about it.

For me the Quick Selection Tool did just as fine a job without it.

(I don't know exactly what method John used to get that saturation layer; I make mine differently).
Reply With Quote top
  #10  
Old 12-15-2011, 04:33 PM
John Wheeler's Avatar
John Wheeler John Wheeler is offline
Senior Member
 
Join Date: May 2011
Location: Colorado
Posts: 583
Re: Help Needed: How to extract girl from backgrou

Chain is exactly correct. There are many ways to increase the contrast with the background which can enhance the differentiation with the subject. Separate from several Saturation Layers approaches, here is just yet another with the instructions shown in the Layer Label descriptions over the resulting image:

Screen-shot-2011-12-15-at-3.19-SFW.jpg

The quick selection tool does great by itself as Chain indicated. I just like to see what is there during the selection process.

I agree, I would not worry about it. I was just sharing additional ways to increase the contrast with the background.
Reply With Quote top
Reply

  RetouchPRO > Technique > Photo Retouching


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
What filter was used on the background? W3Images Photo Retouching 14 10-22-2011 05:43 AM
Background removal kidsphotograph Photo Retouching 4 10-08-2011 09:38 AM
tricky hair extraction / background replacement P_fuzz Photo Retouching 20 09-17-2011 01:43 AM
Photo taken on light background > dark background misterlondon Photo Retouching 3 08-26-2011 12:12 PM
replacing background with textures snapshot53 Photo Compositing 3 05-28-2011 03:41 AM


All times are GMT -6. The time now is 02:57 PM.


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