20
\$\begingroup\$

I'm very excited about the new Scalado Remove App for Android/iPhone. Let's say you're taking a picture of your friend in front of a landmark with several people walking by. The app allows you to remove the people from the photo, leaving only the background and your friend. The app isn't just doing a clone of the surrounding image to paint over unwanted subjects. It's actually taking multiple images, detecting which objects are moving, and letting you select them for removal. This sounds awesome! But I don't want to be limited to taking pictures with a smart phone.

I would like to take multiple photos of the same scene. (Maybe with a tripod, but it would be better if I didn't have to use a tripod.) Then I would somehow blend them together to remove unwanted elements. How do I do that? I know there are tons of photoshop tutorials out there, but all the ones I find just tell you how to use the clone tool.

\$\endgroup\$
6
  • \$\begingroup\$ This must be a solved problem. They were real good at removing people from photographs to "correct" history, and that was 50 years ago. \$\endgroup\$ Commented Mar 7, 2012 at 0:47
  • \$\begingroup\$ I know that in Photoshop CS5 there's some sort of 'smart fill' function where you select an area and it works out from whats around it, what should be there, and fills it in. Don't know how it works tho.. \$\endgroup\$
    – Mike
    Commented Mar 7, 2012 at 12:39
  • \$\begingroup\$ To add to what @Olin is referencing - fstoppers.com/… \$\endgroup\$
    – rfusca
    Commented Mar 7, 2012 at 15:04
  • \$\begingroup\$ Another resource for history of this, by the CIA's photo interpreter (Cuban missile crisis, etc.) amazon.com/Photo-Fakery-History-Deception-Manipulation/dp/… \$\endgroup\$ Commented May 16, 2012 at 22:36
  • \$\begingroup\$ Some cameras do that. I forgot which model but I did review one which had that exact feature. Its one of those which was made easier with the advent of CMOS sensors. \$\endgroup\$
    – Itai
    Commented May 17, 2012 at 3:52

4 Answers 4

23
\$\begingroup\$

To do this in Photoshop (Available in Photoshop Extended and later CC versions only):

  • File > Scripts > Load Files into Stack
  • Select all layers and use Edit > Auto Align to align them (if necessary)
  • Layer > Smart Objects > Convert to Smart Object
  • Layer > Smart Objects > Stack Mode and choose Median

This will compare pixels between all your images that you've stacked, and use the median value, which means if a person was in a spot in one or two frames, but that spot was empty in 6-8 frames, Photoshop will use the most common value (which is were there was no person there).

This would remove most "ghosts" from the image. You could then manually mask out anything left with Mark J P's method. If there is still someone there (because they were sitting in one spot in all your frames, THEN you will have to resort to the clone tool.

It looks like this feature has been around since CS3. PhotoshopNews has a description and tutorial with example images here

\$\endgroup\$
7
  • 2
    \$\begingroup\$ Do note, though, that you'll probably have to have one "clean" image from which you can paint your friend(s) back into the final image—the average live human can't stay still enough for long enough to become good median pixels over multiple frames. Align again, and use a layer mask (easiest if you Shift-Alt-click on the mask to go into "rubylith mode"). There's no need to be perfect (usually), you can colour outside the lines a little except where another person overlaps. \$\endgroup\$
    – user2719
    Commented Mar 7, 2012 at 0:52
  • \$\begingroup\$ Quite right, I completely forgot about the friend! \$\endgroup\$
    – MikeW
    Commented Mar 7, 2012 at 1:08
  • 1
    \$\begingroup\$ Believe it or not, completely forgetting about the friend in real life once was why I remembered this time. And I was so proud of getting rid of all the people so easily, too... \$\endgroup\$
    – user2719
    Commented Mar 7, 2012 at 1:15
  • \$\begingroup\$ What's the first version of photoshop with those features? \$\endgroup\$
    – Stainsor
    Commented Mar 7, 2012 at 17:41
  • \$\begingroup\$ Looks to be CS3. Found a link with an example of this technique, which I'll add to my answer. \$\endgroup\$
    – MikeW
    Commented Mar 7, 2012 at 17:46
11
\$\begingroup\$

There is another trick to remove (that is a trick, not real 'remove') people from a busy place/road/in-front-of-an-architecture in daylight. Just attach a ND filter (to avoid your image being washed out in day light), place your camera on top of a tripod and shot it for longer time, say 20 seconds.

Now check out the output :)

\$\endgroup\$
1
  • 1
    \$\begingroup\$ Damn - this is exactly the answer I was going to submit!! I have a 10-stop ND and it works wonders for this sort of thing. People walking through the shot just 'disappear'!!! :) \$\endgroup\$
    – Mike
    Commented May 16, 2012 at 13:26
7
\$\begingroup\$

You have multiple options/techniques available, including cloning people out manually (which can be quite time consuming/tough to do effectively) and the content aware fill in Photoshop which again can be quite powerful but is far from perfect.

Alternatively you can do exactly what you described the mobile phone is doing, i.e. you make sure the camera is not going to move between shots (put it on a tripod or wall etc) and that the exposure/white balance settings are fixed then you take a number of photos making sure that you capture everything you need for your final image (i.e. empty areas in all parts of the photograph).

Once you are back in Photoshop (or equivalent) you can merge all of the photos together by adding them all as layers and then pick one photo as your main shot. Now just mask out the people that you don't want visible to reveal the layer underneath which hopefully does not have the person in the same place and leaves you with an empty area. Now you can merge the two layers and repeat this process for each person in the shot and provided you captured suitable images when taking the shot you will be left with the composition you wanted.

A quick Google search revealed this blog post (which has nothing to do with me) illustrating what I am describing: http://dsphotographic.com/2006/12/how-to-remove-tourists-from-your-photos/

The description might sound like it is a lot of effort but it's really not and once you have done it once and understand it this whole process can be done very quickly.

I hope this helps.

Mark

\$\endgroup\$
1
\$\begingroup\$

The Content-Aware Move tool in the latest version of Photoshop (CS6) is making removal of people and objects almost too easy. You can see a nice summary of what the tool can do along with a remarkable demo video produced by Adobe at this page:

http://9to5mac.com/2012/02/15/adobe-demos-content-aware-move-in-photoshop-cs6/

The demo illustrates that a process to remove from or move a complex object such as a person in a digital photo and to seamlessly patch the background now takes a matter of seconds. In the past, to achieve this quality of editing would require a lot of experience in Photoshop and a considerable amount of time.

\$\endgroup\$
3
  • \$\begingroup\$ I don't know if you have actually used this, but it is far from perfect. It is great, I use it all the time, but it isn't "too easy". The demo's that Adobe provides of course makes it seem that way so you are enticed to buy the product they are selling. \$\endgroup\$
    – dpollitt
    Commented May 6, 2013 at 0:47
  • \$\begingroup\$ And content aware fill and its variations make up the replacement pixels "out of whole cloth." They look at the surroundings, figure out patterns, and try to create something that fits in the space you are replacing. If there is something novel behind the obstruction you are filling in, PS has no way to reconstruct it. \$\endgroup\$
    – Duncan C
    Commented Jan 10, 2018 at 0:16
  • \$\begingroup\$ In contrast, if you have multiple images of the same scene, you can identify the things that move and choose unobstructed views of that same area from other images and put them in that location. As long as the background and camera don't move and the lighting doesn't change, you can create a composite that looks pretty much perfect. \$\endgroup\$
    – Duncan C
    Commented Jan 10, 2018 at 0:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.