Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 25th, 2003, 05:08 AM
MarioPro's Avatar
MarioPro MarioPro is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Portugal
Posts: 53 MarioPro User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 33 m 38 sec
Reputation Power: 7
Removing background with Photoshop

Hello,

I need some good advice on the best solution to remove or trim the background from a picture without damaging the first plan. For example, I have a photo with a singer and want to remove the backstage and get only the singer in order to put a different background.

Any help on best practices on this would be very helpful.

Thanks in advance
MP
__________________
-----------------------------------------------------------------------------
If a word can't save lives, silence may probably kill - Preventing suicide is your task to!...

Reply With Quote
  #2  
Old March 25th, 2003, 12:25 PM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,124 jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 1 Day 10 h 58 m 38 sec
Reputation Power: 717
I've always done this with the Magic Wand (2nd row, 2nd col on Tools bar). Once you select that, click the Magic Wand Options in the Options window. You can set the Tolerance of the tool, which determines how close the colors have to be for it to stop magically selecting. Play with that a little and see if you can get it working. I hope I have explained it well.

Reply With Quote
  #3  
Old March 25th, 2003, 04:13 PM
MarioPro's Avatar
MarioPro MarioPro is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Portugal
Posts: 53 MarioPro User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 33 m 38 sec
Reputation Power: 7
Hi,

Thanks for your reply. In fact, the magic wan is the most simple process but not a fast and accurate one when dealing with complex images with cvery near color patterns, and this is where the problem resides.

Even changing the tollerance and digging into the image, this may take hours to achieve a good result.

I've seen a tutorial about this subject but, sincerely, I can't remeber where it was neither I'm able to find it again.
I recall something about "Filter" -> "Extract" but can't figure how this is done correctly and with precision.

Reply With Quote
  #4  
Old March 25th, 2003, 04:23 PM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,124 jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level)jharnois User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 1 Day 10 h 58 m 38 sec
Reputation Power: 717
Sorry I can't be of more help. I'm not an artist (not even close) so I don't use PhotoShop very often at all and I know I don't use its more advanced features. I was really just happy to be able to post my little bit of knowledge in the Graphics forum.

Reply With Quote
  #5  
Old March 25th, 2003, 04:36 PM
MarioPro's Avatar
MarioPro MarioPro is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Portugal
Posts: 53 MarioPro User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 33 m 38 sec
Reputation Power: 7
It's me that have to thank your reply, even if it wasn't the most professional and helpful one it was indeed very much appreciated.

Thanks

Reply With Quote
  #6  
Old March 27th, 2003, 11:12 AM
Ucht's Avatar
Ucht Ucht is offline
This is only a test
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2003
Location: Off the air
Posts: 2,893 Ucht User rank is First Lieutenant (10000 - 20000 Reputation Level)Ucht User rank is First Lieutenant (10000 - 20000 Reputation Level)Ucht User rank is First Lieutenant (10000 - 20000 Reputation Level)Ucht User rank is First Lieutenant (10000 - 20000 Reputation Level)Ucht User rank is First Lieutenant (10000 - 20000 Reputation Level)Ucht User rank is First Lieutenant (10000 - 20000 Reputation Level)Ucht User rank is First Lieutenant (10000 - 20000 Reputation Level)Ucht User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 5 Days 20 h 1 m 43 sec
Reputation Power: 147
I usually just use quickmask and paintbrush to create the selection I want -- it gives you a lot more control than the wand or pen tools. Hair's still a drag, though. I've only just started to play with Image->Extract, but it seems pretty neat. A little tricky, but with some practice, it seems like it can be quite a time-saver. Here's a short tutorial I found on it:

http://www.photoshopcafe.com/tutori...tout/cutout.htm

I've used the two cleanup tools instead of the history brush, so I can't comment on how that works.

Reply With Quote
  #7  
Old March 27th, 2003, 11:27 AM
MarioPro's Avatar
MarioPro MarioPro is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Portugal
Posts: 53 MarioPro User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 33 m 38 sec
Reputation Power: 7
Hi,

Thanks so much for your reply and for the link. This tutorial is simmilar to the one I've seen before but couldn't remember where.

I've done some experiences with this tutorial now and it worked.

Thanks for your support.


Reply With Quote
  #8  
Old March 31st, 2003, 11:54 PM
mttatkns mttatkns is offline
Got source?
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Mar 2003
Location: Laguna Niguel, California, USA
Posts: 2,332 mttatkns User rank is Private First Class (20 - 50 Reputation Level)mttatkns User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Another good tool to use is magnetic lasso.

Reply With Quote
  #9  
Old April 1st, 2003, 12:56 AM
MarioPro's Avatar
MarioPro MarioPro is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Portugal
Posts: 53 MarioPro User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 33 m 38 sec
Reputation Power: 7
Hi,

Thanks for your post. The magntic lasso, in complex images turns to be more difficult to select and extract with precision. Don't you think so?

Reply With Quote
  #10  
Old April 1st, 2003, 07:02 AM
bricker42 bricker42 is offline
Moderator =(8^(|)
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2002
Location: Sacramento, CA
Posts: 1,710 bricker42 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 38 sec
Reputation Power: 8
Send a message via AIM to bricker42
Well, here's a technique that provides a good starting point:

Go into your channels pane and choose the channel with the best contrast between foreground and background.

Copy that to a new channel, then start playing with levels/curves to improve the contrast. Your goal is a solid white object with a black background.

Use the lasso tool or a solid brush (no fuzzy edges) to clean up any black areas in the foreground and any white areas in the background.

Another good variation is to build the new channel using pieces from the other channels depending on which has the best contrast for a particular area.

Once you have the channel finished, go back to your image and go to select > load selection, and choose your new channel.

This technique is especially good for hair and other fine edges, and it's overkill for simple projects. Doing it right takes a bit of effort, since it's very easy to destroy the contrast on the edge if you're not careful.

For simple jobs, I recommend creating a layer mask and just "covering" whatever you don't need. You can see your results better than with Quick Mask, and you don't need to worry about corrupting your image data if you mess up.

The last technique I've seen is to make a path-based selection. If you have the patience for it, you can get some good results, but I've always had better success with one of the other methods.
__________________
-james

Reply With Quote
  #11  
Old April 1st, 2003, 08:58 AM
mttatkns mttatkns is offline
Got source?
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Mar 2003
Location: Laguna Niguel, California, USA
Posts: 2,332 mttatkns User rank is Private First Class (20 - 50 Reputation Level)mttatkns User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Quote:
Originally posted by MarioPro
Hi,

Thanks for your post. The magntic lasso, in complex images turns to be more difficult to select and extract with precision. Don't you think so?
Yes, if you don't zoom in. Zoom in and it usually works much better

Reply With Quote
  #12  
Old April 1st, 2003, 11:15 AM
MarioPro's Avatar
MarioPro MarioPro is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Portugal
Posts: 53 MarioPro User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 33 m 38 sec
Reputation Power: 7
Hi,

Thanks again for your help. I'm now trainning the channels technique and the lasso but on my first tries it seems that I'm getting better results with the "Extract" system, maybe due to some lack of experience in the others you've mentioned.
It was of great help your tips and I have to get on with some experiences to achieve even better results.

Thanks again!

Reply With Quote
  #13  
Old April 1st, 2003, 06:43 PM
mttatkns mttatkns is offline
Got source?
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Mar 2003
Location: Laguna Niguel, California, USA
Posts: 2,332 mttatkns User rank is Private First Class (20 - 50 Reputation Level)mttatkns User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Well, the problem with extract is it doesn't make very clean edges, and then you have to zoom in to correct this, which is like 2 steps when you could only have one. Just my opinion... do whatever works best for you.

Reply With Quote
  #14  
Old April 2nd, 2003, 07:22 AM
MarioPro's Avatar
MarioPro MarioPro is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Portugal
Posts: 53 MarioPro User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 33 m 38 sec
Reputation Power: 7
Thanks,
It seems so, but since I'm not very confortable with the masks and channels I have to work a bit harder on this to get to your conclusion. I'm doing so

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Removing background with Photoshop


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump