PlayingCardForum.com - A Discourse For Playing Cards

Playing Card Chat ♠ ♥ ♣ ♦ => Design & Development => Topic started by: AceGambit on December 06, 2011, 10:09:16 AM

Title: What is the best way to cut images from backgrounds
Post by: AceGambit on December 06, 2011, 10:09:16 AM
Suppose you have an image of a person, and you want to cut him/her out of the image to put them on a different backdrop, what's the best way to go about this?


For the past er-- 6 years I've been doing this with the polygonal lasso tool, however I read somewhere that the pen tool is the preferred method.  I feel like I have less control with the béziers than I do with the lasso.  I've tried using my wacom and the freeform lasso tool as well, but no matter what, it's tough. 


Is it better to just use the eraser and erase the background from the image?
Title: Re: What is the best way to cut images from backgrounds
Post by: xela on December 06, 2011, 02:41:14 PM
Pen tool! Use the pen tool (make sure it doesn't fill what you select) to select the person or object. You do this by recreating the curves the object has with the pen tool. After you are done making your selection, right click, "make selection" and press ctrl+shift+I to invert your selection to include the background and not the object. Press delete.

Another good trick I learned is duplicating the object/person, applying a gaussian blur to blur the edges, and setting that layer behind the original and messing with opacity to your heart's content. This smooths out the edges.

Title: Re: What is the best way to cut images from backgrounds
Post by: IAmTheChin on December 06, 2011, 02:55:35 PM
If you set your feather you don't have to go through all those extra steps using filters.
Title: Re: What is the best way to cut images from backgrounds
Post by: xela on December 06, 2011, 04:51:48 PM
If you set your feather you don't have to go through all those extra steps using filters.

However, the extra steps allow you to have a separate layer for the blending. For example, if you want to add a stroke to your render, you can't do that with a feather in the layer (it will look horrible).

Title: Re: What is the best way to cut images from backgrounds
Post by: Kanped on December 07, 2011, 10:29:12 AM
Personally, I magic wand anything solid, use the eraser to get a bit closer and remove what's left pixel by pixel but I'm a rank amateur with no training (never even read a tutorial).  That blur idea seems really good, though; I'll be using that from now on, I think.
Title: Re: What is the best way to cut images from backgrounds
Post by: Paul Carpenter on December 07, 2011, 02:18:55 PM
Another way is to make a loose selection with a lasso tool, then use the quick mask and your painting tools to refine it. The approach does depend a lot on what the background is and if you are trying to get details like hair blowing in the wind, etc.  The pen tool is the easiest to get precise on sharp edged objects.

Also, if putting your subject into another scene be aware of the lighting and shadow directions in both scenes or it will look very out of place no matter how good your selection is.
Title: Re: What is the best way to cut images from backgrounds
Post by: AceGambit on December 07, 2011, 03:22:00 PM
So that sounds like a resounding "Pen Tool."  I guess I just need more practice with it.  More anchor points vs Less anchor points.   Feels like not everything I snap a photo of works so perfectly with just a few anchors.  Maybe I should just stick with Vector graphics, cleaner and sharper.  No blur, or pixelation, it's like working in a perfect environment! :D
Title: Re: What is the best way to cut images from backgrounds
Post by: xela on December 07, 2011, 04:02:33 PM
So that sounds like a resounding "Pen Tool."  I guess I just need more practice with it.  More anchor points vs Less anchor points.   Feels like not everything I snap a photo of works so perfectly with just a few anchors.  Maybe I should just stick with Vector graphics, cleaner and sharper.  No blur, or pixelation, it's like working in a perfect environment! :D

Don't forget to hold alt and click on the anchor after making each curve. :)
Title: Re: What is the best way to cut images from backgrounds
Post by: AceGambit on December 07, 2011, 04:08:37 PM
Don't forget to hold alt and click on the anchor after making each curve. :)


Isn't that the same as creating your anchors by click-dragging rather than simply clicking them into position, or is there some difference?
Title: Re: What is the best way to cut images from backgrounds
Post by: PoundFFFFFF on December 07, 2011, 04:43:15 PM
Don't forget to hold alt and click on the anchor after making each curve. :)


Isn't that the same as creating your anchors by click-dragging rather than simply clicking them into position, or is there some difference?

It makes your life ridiculously easier. If you don't alt then you cannot make a corner and a curve at the same time.
Title: Re: What is the best way to cut images from backgrounds
Post by: AceGambit on December 07, 2011, 04:52:10 PM
Definitely will use that from now on.  I had grown accustomed to click-drag, then using keyboard shortcut 'A' to adjust the anchor.


Thanks for the help guys!