May
29
2010

How to Remove a person from a photo by using cs 5 Content Aware

With the launch of the new Adobe Suite of comes the long awaited Adobe Photoshop CS5. Packed with new features to speed up your workflow it truly is the most advanced edition of Photoshop to date. One of the new features we will be looking at today is called Content Aware. This feature allows you to quickly fill in a selection with surrounding content making it look like a part of the original image. In this case we will choose to remove a person from a photo, this can be done in less than five minutes. With the additional image enhancements this will take you less than 10 minutes to complete.

For the best tutorials, Follow netglos @twitter and netglos.com

Original Image

Before we begin, download the image that we will be working with. As you can see, there are two individuals in this photo. In today’s tutorial, we will use Photoshop CS5’s Content Aware Feature to remove the man on the left.


Step 1

Using the content aware tool on different images produces different results. An image with a gradient such as the sky in this image is quite tricky to work with. Open beach.jpg in Photoshop.


Step 2

We are extracting the person on the left from this photo. Using the Pen Tool, (P) Begin by making a path around the subject. The nice thing about using content aware is that you do not have to be exact when making a selection. In fact, do your best not to cut too close to the subject.

Notice in the image below how far I am drawing the path from the subject. Try to keep this distance all the way around. If you go too close, Content Aware will take pixels from the subject. If you cut too far it will take pixels from the woman on the right.


Step 3

Once you complete the path around the subject, turn it into a selection. This can be done by right clicking on the path and selecting Make Selection.

A dialog box will pop-up, make sure the feathering is set to 0px. Leave all other options as they are. Click OK.


Step 4

Now we have an active selection around our subject. In this step we will make the subject disappear from the image using Content Aware Fill. To do this, go to Edit > Fill.

A dialog box will pop-up, make sure the Content Aware option is selected. Blending mode is set to normal and the opacity is at 100%. Hit OK.

You can cancel the selection at any time by making another selection or just clicking anywhere else on the page with any selection tool.


Step 5

In this step we will remove some of the other artifacts in the image using the same process. The content aware tool did miss a spot where the subject’s foot originally was. To do this, draw a rectangle around the area using the rectangle selection tool. And use the content aware fill as we have done in the previous steps.

Now let’s remove the people towards the right of the image. Create a rectangle selection around them and use the steps we just demonstrated to remove them.


Step 6 (Optional)

Using the Crop Tool (C) lets crop the image so that the focus is drawn to the woman jumping. To do this, just crop out an area of the image that you would like to keep. Beware of the shadow that is left behind from the person that we have removed. You can use the Content Aware feature to remove this shadow but I have decided to crop it out altogether.

Click the checkmark at the top to keep this area. Photoshop will discard the content that is outside of your crop area.


Step 7 (Optional)

In this step we will the photo by giving it a more vibrant look. The colors currently appear somewhat dull. There are many ways to accomplish this but we will use Color Curves. To do this, go to Image > Adjustments > Curves, (Cmd + M). A dialog box will pop-up and we will select each of the channels, R, G, B and work on them separately. Select the Red channel from the dropdown menu.

We are going to make two points on the graph. One in the bottom of the top right square, and one in the top of the bottom left square.

Once you have made these points, make sure you enter the values for each. For the top right point the Output value is 199, and the input value is 185. For the bottom point the values are 56 and 68, respectively. You can play around with these setting and adjust them to whatever you feel is appropriate. Repeat this for each of the colors, Green and Blue.


Final Image

Your image should now look something like the one seen below. As you can see, we have removed the man on her left with very little effort using Photoshop CS5’s new Content Aware Feature.


  • http://www.reddit.com/user/oldcrow oldcrow

    It copied the texture from the island on the left. You can see the same shapes.

    This comment was originally posted on Reddit

  • http://www.reddit.com/user/HaMMeReD HaMMeReD

    Step 1) Select person, poorly if you must Step 2) Fill->Content Aware Step 3) Cleanup using techniques available since photoshop 2.0. [Content aware fill truly is genius though, I used it on this japanese kama-sutra map to generate a new position](http://i.imgur.com/4iTdl.png)

    This comment was originally posted on Reddit

  • http://www.reddit.com/user/SarahC SarahC

    They forgot the guys shadow on the floor!

    This comment was originally posted on Reddit

  • http://www.reddit.com/user/emrys emrys

    This is ripped-off from [psdtuts](http://psd.tutsplus.com/tutorials/photo-effects-tutorials/quick-tip-remove-a-person-from-a-photo-with-photoshop-cs5%E2%80%99s-content-aware-feature/). They even hotlinked the images from psdtuts’ S3 hosting.

    This comment was originally posted on Reddit

  • Vinnie

    Cool New Zealand tshirt, bro.

  • Tim

    Go New Zealand!

    @kevdank, it finds other parts of the photo that fit. In this example it takes part of one of the other islands. You’re right it doesn’t invent what is behind. It is still magic.

  • http://www.reddit.com/user/Rataxes Rataxes

    No, thats the girls shadow. They cropped the guys.

    This comment was originally posted on Reddit

  • http://www.reddit.com/user/gynoceros gynoceros

    The comments were entertaining.

    This comment was originally posted on Reddit

  • http://www.reddit.com/user/nopenogod nopenogod

    If you look closely, you can still see a footprint of where the guy used to be.

    This comment was originally posted on Reddit

  • http://www.reddit.com/user/attilad attilad

    Are you talking about Step 5?

    This comment was originally posted on Reddit

  • http://www.reddit.com/user/GaryBusey-Esquire GaryBusey-Esquire

    I’m glad my ex-girlfriends don’t understand photoshop

    This comment was originally posted on Reddit

  • Anon

    notice how they crop it at the end? I can almost guarantee that was because they couldn’t get CS5 to content-aware-get-rid-of the dudes shadow. I tried, it doesn’t work well.

  • http://www.reddit.com/user/jelliedbabies jelliedbabies

    The next step is to photograph your naked self to add to the image.

    This comment was originally posted on Reddit

  • Julian

    Off topic, but this photo looks like it was taken at Longbeach, Batemans Bay, NSW. Those islands in the background look like the Tollgate Islands in Batemans Bay.

  • http://www.reddit.com/user/flashing_lights flashing_lights

    I bet they tried to remove the coloured towel but Content Aware would’t play nice.

    This comment was originally posted on Reddit

  • http://Website physician assistant

    Terrific work! This is the type of information that should be shared around the web. Shame on the search engines for not positioning this post higher!

  • http://www.reddit.com/user/joeyisapest joeyisapest

    This is fake, zoom in on the "content aware" created island… too perfect.

    This comment was originally posted on Reddit

  • boo

    this looks terrible. an amateur at photoshop could do better in the same amount of time using cs4. I love photoshop, but they need to focus on real improvements rather than gimmicks. i for one am not upgrading this time.

  • http://Website medical assistant

    Wow this is a great resource.. I’m enjoying it.. good article

  • http://www.designzillas.com florida web design

    This is actually scary. My friend told me about this feature, but I didn’t believe it worked so well… till now. o:

  • http://Website bgates87

    It looks OK but it’s not great. Before they cropped the image there was an obvious repeated pattern in the rocks in the background, and there’s still this sort of faint “shadow” of a person in the air beside her, or maybe it’s just a smudge on my monitor? It also seems this Content Aware feature is only effective with really simple backgrounds, which diminishes its usefulness because it would be really simple to do this job without Content Aware features.

  • zZZzz

    hey Step 4 then my pic http://stat.gogo.mn/blog/7/35207/wor1d/help.JPG , why this?

  • http://www.brettwidmann.com Brett Widmann

    This is soooo amazing! Thanks for sharing.

  • Peterb2001

    Fake! obviously “shopped”!

  • Pingback: Listed on FAQPAL.com

  • Jimbob

    If you’re going to rip off someone else’s work as your own at least have the intelligence to put the images on your server rather than hotlink them.

  • Pkmillustration

    Of course it’s shopped you pratt, it’s a photoshop tutorial!

  • me

    hate ads in EVERY image… not worth following really

  • me

    hate ads in EVERY image… not worth following really

  • hankscorpio

    Could have been done in 5 minutes using clone tool and patch tool… the content aware isn’t that great and only works in certain circumstances.

Popular Posts