Skip to main content

How To Change The Background Of A Photo In Photoshop

Personally, I got interested in Photoshop when I realized that it could pluck a person out of a photo and then paste him/her onto a totally new background. To this day there are many requests from friends and family who want to do something similar with their photos. So I will be showing you a few techniques to get it done using Photoshop.
Photoshop has the excellent “Extract” filter built especially for such tasks. Photoshop CS4 however, no longer features the Extract filter. So we will first look at how to use the extract tool to pull off the maneuver, then briefly see how you can enable the extract filter in CS4 or use an alternative to the Extract filter. Let’s get working straight away, shall we?

Change the Background of a Photo with The Extract Filter

If you have pre-CS4 version of Photoshop, you can find the Extract filter under the Filter menu. The Extract filter is very useful to cut out or extract a person/object from the photo and then use it on another photo to change the background of the original photo. The tool is very simple to use. Although it opens a giant dialog box there is really no need to be intimidated by it.

First off, go ahead and check the Smart highlighter box right away. Now choose the highlighter tool and draw around the object you want to extract. Make sure you cover the edges, this means that the highlight stroke should roughly lie half on the object you want to extract and half on the background. You don’t have to be precise or want a Wacom tablet. Photoshop will help you along. Somewhat like this:

You can change the brush size of the highlighter for greater precision in corners and smaller areas. Then choose the fill tool from the extract filter toolbar and click once inside the area you want to keep. Hit the preview button and you will be shown what the final image will look like once extract finishes its work. Click OK if the results seem close to what you are looking for, or else you can start over once again.
Expert Tip:
Duplicate the layer before starting the extract filter. That way, you still have the original image when extract finishes. Now Ctrl + Click on the extracted layer’s thumbnail to load it as a selection. You can now use Select > Refine Edges to improve the selection and hence the extract. Once done hit Ctrl + C and then Ctrl + V to get the extracted-refined object on its own layer.

The Extract Filter in CS4

As I mentioned earlier, the extract filter is no longer present in Photoshop CS4, the latest offering from Adobe. You can simply copy and paste the ExtractPlus.8BF file from your CS3 installation’s Plug-ins/Filters/ folder to the corresponding folder in CS4 install directory. Oh, you can also download it from Adobe’s site if you don’t have a CS3 installation handy. My Bad!

When you fire up Photoshop the next time, you will see the extract command under the Filter menu. You can now use it as detailed above.

Alternatives to Extract Filter

There are always more than one way to achieve similar results in Photoshop. So if you would like to ditch the extract filter altogether you can use the improved quick selection tool. It does a pretty good job of detecting edges. In case it goes wrong, you can always add to (Shift) and subtract from (Alt) the selection. As an added advantage, it gives you a selection you can easily refine, so you wouldn’t have to work extra to get the selection as we did in the expert tip above.

You can also use the freeware InstantMask to mask out a person or object from any photo. It uses a slightly different approach that reminds one of the commercial plug-in Mask Pro from OnOne software but the results vary hugely.

Here is the finished result using the extract tool. Just added a background and some text!
Keep in mind that there is an algorithm doing the processing behind what seems like magic. The application has no idea who or what the object is in the photograph. You get best results when there is good contrast between the object and the background. That is one of the reason people shoot against a green or blue screen because then you can get excellent contrast in the green/blue channel and creating a mask to extract an object is super easy.

Comments

Popular posts from this blog

How To Hide Text In Microsoft Word 2007, Reveal It & Protect It

Sometimes what we hide is more important than what we reveal. Especially, documents with sensitive information, some things are supposed to be ‘for some eyes only’. Such scenarios are quite common, even for the more un-secretive among us. You want to show someone a letter composed in MS Word, but want to keep some of the content private; or it’s an official letter with some part of it having critical data. As important as these two are, the most common use could involve a normal printing job. Many a time we have to print different versions of a document, one copy for one set of eyes and others for other sets. Rather than creating multiple copies and therefore multiple printing jobs, what if we could just do it from the same document?  That too, without the hassle of repeated cut and paste. We can, with a simple feature in MS Word – it’s just called Hidden and let me show you how to use it to hide text in Microsoft Word 2007. It’s a simple single click process. Open the docum...

Build Your Own Awesome Personal 3D Avatar with Avatara

Do you use social networks and want to build your own awesome 3D avatar? Maybe you want to send someone a cute cuddly image of yourself (kind of)? Or maybe you have your own ideas of what you would do with an Avatar… Well look no further than Avatara which I discovered from the MakeUseOf directory . You can create 3d avatars out of pre-set up templates or create your own from scratch. To start, visit Avatara’s homepage . You will see this screen: Click Get Started to umm, get started! That will take you to this screen: You see that you can build your own Avatar using an uploaded head shot like the Obama one above (just an example, guys). Or roll with one of their awesome avatars. I chose to start with a blank avatar by clicking Start with a blank avatar at the bottom of the screen. That takes you to here: I clicked on the filter at the top and told it to filter out everything but male characters and then I saw this: I rolled with Buck and continued. You need to click Select...

Ex-Skypers Launch Virtual Whiteboard Deekit

Although seriously long in the tooth and being disrupted by a plethora of startups, for many years Skype has existed as an almost ubiquitous app in any remote team’s toolkit. So it seems apt that a new startup founded by a team of ex-Skype employees is set to tackle another aspect of online collaboration. Deekit, which exits private beta today, is a virtual and collaborative whiteboard to help remote teams work smarter. The Tallinn, Estonia-based startup is headed up by founder and CEO, Kaili Kleemeier, who was previously a Head of Operations at Skype. She and three colleagues quit the Internet calling giant in 2012 and spent a year researching ideas in the remote team space. They ended up focusing on creating a new virtual whiteboard, born out of Kleemeier’s experience collaborating with technical teams remotely, specifically helping Skype deal with incident management. “Working with remote teams has been a challenge in many ways – cultural differences, language differences, a...