Monday, February 13, 2012

When readers and my students ask me how to do background replacements on shots and generally I’ll tell them to just shoot on white or black and use the techniques found in Photoshop Compositing Secrets or The Photoshop Channels Book to mask out the background. This works for me, and if I do a good enough job lighting the background then I can also just drop a U-Point control on the entire background and dial up the brightness in Viveza shown in this example here:

For this article, I used the kit above but I’ll admit that I prefer this kind of umbrella adapter rather than the cheap ones included in this kit. In fact, I don’t even use a cold shoe – I just screw my 580 EX II flash directly into them using the little stand that comes with my flash (it has a screw mount on the bottom). I’m pretty sure this works for Nikon’s too, but honestly I haven’t ever tried it with something like a SB-900 or SB-910.

Replacing the Background in Photoshop

The key to replacing the background in Photoshop is the Color Range dialog that you’ve probably never used before. However, it’s easily found under the Select menu of CS5 (and presumably in the same place in earlier versions).

Once you have this dialog the easiest way to get the results you want is to HOLD THE SHIFT KEY and drag downwards over the areas where you know your background appears. REPEAT this process for the big areas until you get something that looks like the screen shot above. Click OK and you get a selection like this:

To fix the eyes you can just use your favorite method of removing an unwanted selection. I like the quick mask tool, but a minus selection using lasso would work (as would many other ways).

Once your selection is good, then go to the select menu and inverse your selection. This selects the subject instead of the background. You can now do a CTRL+J (or CMD+J) to create a new layer with just your subject as shown here:

From here you can either fill your background layer with another color or just replace the background layer with a new background. For this example, I chose to replace it with black:

This of course reveals what I hate about using Chroma Green Screens – the horrid green fringe! If you are lucky you can go select the layer with your subject (Layer 1 in this example) and then go to Layer –> Matting –> Defringe. Enter a value (usually try 1 and work your way up from there) and voila the green halo goes away. However, that never seems to work perfectly from me (although it does help).

The easy way to remove the green screen

I use the free version of a tool called Easy Green Screen found at http://www.photoshopgreenscreen.com/ that just works at getting rid of most of that nasty green screen. Here’s a quick video that shows how it works:

With a simple few clicks I ended up with a much better separation of my subject from the green screen and doing a 1px Defringe fixed 99% of the problem. The net result of the before and after (using a new background is shown here):

Mouse in and out to see the before and after

There’s a little area by her right arm, hair and shirt that isn’t 100% perfect but I honestly called it close enough for this article. In a real shot I might spend the time fixing it, but honestly that’s what I don’t like about green screens – you have to fight the green halo issue.

Of course you can use tools like Remask and Perfect Mask to quickly deal with contamination issues like this, but they can also be used to remove more complex background when you didn’t use a green screen in the first place.

Conclusion

This article shows that you don’t have to spend much money to do simple background replacements and that there are a wealth of tools to help you get perfect results. Lightroom users are probably better off using a white background and my Viveza trick for the cheapest way to just get a pure white background. However, Photoshop (and equivalent) users can use a product like Easy Green Screen and get great results in a hurry. The biggest tip to remember though is to be sure you get enough light on your background as the more evenly lit and bright it is, the easier it will be to remove it.

Disclaimer

If you make a purchase using the links found in this article, I may make a commission. Thanks for supporting this blog by using my links!

NOTE: This site requires cookies and uses affiliate linking to sites that use cookies.

If you enjoyed this article, please support future articles like this by making a donation or saving money by using my discount coupon codes. Either way, your support is greatly appreciated!

This blog is intended for freelance writing and sharing of opinions and is not a representative of any of the companies whose links are provided on this site.

The opinions provided are of Ron Martinsen alone and do not reflect the view of any other entity

6 comments:

to make it even easier you should also have the model stand further from the green background to prevent the green color from spilling on the hair and making it hard to select. Also a rim light (behind the model pointing at camera) will further separate the subject from thebackground and make the selection easier and cleaner

To add to the point made above, the actual key in rpelacing background in photoshop CS5 is the redesigned "Refine Edge" dialogue box, which throws every other channel and color based techinques out the window.just make a quick selection (with the quick selection tool) and then, click on the "Refine Edge" button in the options bar.using the "Refine Radius" tool (just making a stroke on the edge of the slection) will give out outstanding redults in no time.to reduce the "Green Fringe" just hover over to the "Decontaminate Colors" check box and you're set.a lot better results in a LOT less time.Cheers.MH.Rahmani

I use Refine Edge all of the time and that's actually why I reference "Photoshop Compositing Secrets" in this article because I didn't want to get into a big discussion on how to use that feature. That book covers it better than I would in a short blog article.

For this particular image Refine Edge didn't save the day. It's great sometimes, but not in this case (even when using its paint brush to include/exclude areas). Decomaninate colors being checked didn't help on the left side of the image but it did on the right.