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 programs comes the long awaited Adobe CS5. Packed with to speed up your workflow it truly is the most advanced edition of 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 background 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 that is left behind from the person that we have removed. You can use the Content Aware feature to remove this 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://friendfeed.com/renkliteneke Ahmet E.

    #rtbak

    This comment was originally posted on FriendFeed

  • tom

    wow, it’s amazing how accurately it guessed the shape of that island behind the guy’s foot…now i want cs5 hahaha

  • http://httpbench.net Colum

    That is pretty damn cool. I have to try that

  • Pingback: Tweets that mention How to Remove a person from a photo by using cs 5 Content Aware | Tutorials Photoshop Flash 3d -- Topsy.com

  • Nick

    This feature was in the GIMP software some years ago. GIMP is a free equivalent of Photoshop.

  • http://richworks.in Richie

    Yep.. as Nick says… Gimp had already done this long back… Nevertheless, this is a great feature..

  • Nick

    Haha, just kidding. GIMP is a poor imitation made by elitist developers who don’t realize that Photoshop has more powerful features.

  • Nick

    LOL! I should have said… I work for Adobe so I’m scared by software that does just as good a job for a lot less money!

  • Crowds

    Hahaha
    But gimp has the Blade Runner plugin which Converts a 2D image to 3D which allows you to see round corners.

  • http://tweekhub.com Tweek Hub

    Gimp will never be photoshop in my eyes I love photoshop to much haha

    http://tweekhub.com – All your friends are doing it.

  • Appalled

    You know, this would be a cool little tutorial if you hadn’t ripped it off of psdtuts.com. You weren’t even classy enough to rehost the images. No credit anywhere. Really fucking classy.

  • http://ebru.com ebru

    i can tell from the pixe…

  • bill

    The problem is that now the bit of island magically created from behind his feet is identical to a bit of the island next to it.

  • http://mouseandcat.com/blog/ mouseandcat

    @tom Actually, it drew from the similar shape of the island to the left of it. If you were to compare the two islands, the constructed part from where his feet were is nearly identical in shape and texture to the island on the left. Of course, if the image is cropped as shown, the island on the left is no longer visible, so you don’t have two very similar-looking islands in the same image.

  • Mike

    You all suck. This is the absolute end to photography.

  • Pingback: Gadget Newz

  • joe

    too bad the torrent i downloaded was CS3. LOL

  • http://www.farketmez.net/ farketmez

    Just Great !!!

  • hlhhi

    i think for the island, it copied off the island on the left, the grass shape looks the same

  • Bob

    Actually, the part of the island on the right is literally an exact copy of the left island. that’s all Content Aware does is copy a similar part of the picture

  • Lyric

    Tilt your screen back. You can still see the guy’s outline in the sky. 0/10

  • http://technme.com Someone

    Oh Wow Nice Work
    i like it

  • Ivan

    Yes, the outline is still visibile on all of the manipulated pictures.

  • Nick

    i think i’m bi-polar

  • Nick

    I’m a tool!

  • Nick

    no u

  • Nick

    @Appalled

    This saves netglos’ bandwidth, so they don’t haz to pay for extra pix.

  • http://www.promotionking.net mike

    thats way to cool why you are bi-polar

  • http://jason.pp.ua Jason

    Photoshop CS5 makes life easier !!! (:

  • Nick

    im not bi-polar. my other half is.

  • Charlie

    ok clap clap adobe.. veryyy cool!

    might have been a little more impressive if it wasn’t 99% clear blue sky behind the man. hope it is as good when using more complex imagery though ;)

  • http://Website cna training

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

  • cee_greg

    How the hell did it create the missing parts of that island? If you look close enough not only does it include all the colors from the other parts, but in fact creates greater shadowing than was featured on the parts showing. Furthermore, the ‘created’ part includes rock faces, waves crashing on the beach, and realistic foliage placement. What I’m trying to say is….WHAT THE ****!?!!?

  • http://psd.tutsplus.com http://psd.tutsplus.com
  • Pingback: Cool Credit images | Fast 2 Learn Cards

  • Pingback: Understanding Bathroom Design – Imagination | Coffee Machine Red

  • Pingback: Polar CS Series Cadence Sensor

  • kevdank

    the only fishy thing i found is how detailed the island behind the foot is. how the f*uck does a program know whats behind him. it could have been a boat behind the foot, we don’t know so how would a computer know

  • kevdank

    haha i just noticed my censor fail, so now theres no need to bring it up, unless ur a troll

  • kevdank

    so now i want to change my original comment, at first i didnt pay enough attention to notice it literally is the same patch of island as the other one, look at the wave placement, it is same as left islane.
    now my complaint is about the person that chose this photo because of how realistic the islands would look. dont expect that to happen to your pics in real life

  • http://happyrain.org/ Emily

    I’m a tool!

  • cee_greg

    ahhhh thank you kevdank that was killin me

  • Pingback: How to Remove a person from a photo by using cs 5 Content Aware « daisy's workspace

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

    How does the Content Aware fill the rest of the mountain in?!?

    This comment was originally posted on Reddit

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

    I think you have to be a real expert to use the content aware feature. I tried to use it to remove some curtain string hanging over a panel. I found it impossible to mask the thin string properly to erase it. On the other hand, it was trivial to use the clone tool to replace the string with panel background near it

    This comment was originally posted on Reddit

Popular Posts