Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am interested in removing extraneous objects from an image. More specifically the situation is that there is a series of images of a particular background. In each image there are objects in the foreground, however these objects differ across the series of images in terms of their location. Note that some objects always exists in the foreground. The background is static. An example might be a busy tourist spot and you want to remove the people or tourist buses from the image.

I'd like the software to take the series of images and as much as possible reconstruct the background.

Is there software available that has this capability? If so what are the steps necessary to use that functionality? Similarly if anyone knows a lot about image processing, are there any image processing algorithms that could handle this? Thanks.

share|improve this question

closed as off topic by Ben Richards, 8088, Canadian Luke, soandos, Nifle Oct 25 '12 at 6:49

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

This is a great question for the Photography SE! A practical use would be to set up a camera on a tripod at a busy tourist attraction and take multiple shots while people move around, then stitch all the empty areas to show the place without the madding crowd. – Gnubie Oct 24 '12 at 17:45
Software requests are off topic as per the FAQ. Now, if you want to know methods of doing this, as @Gnubie mentioned, you could try Photography.SE. – Ben Richards Oct 24 '12 at 18:15
@sidran32 I did review the FAQ before posting. Where does it say that software requests are off topic? Anyway I will take your word for it. – Antonio2011a Oct 24 '12 at 21:51
@Gnubie Yes I had a number of applications in mind. That being one of them ! – Antonio2011a Oct 24 '12 at 21:54
@Antonio2011a They count under "shopping recommendations", even if it's free software. – Ben Richards Oct 24 '12 at 22:03
up vote 3 down vote accepted

According to , some versions of Photoshop can do this automatically:

Load all the photos into Photoshop and then choose File, Scripts, Statistics. Change the Stack Mode to Median, and then click Add Open Files. Finally, click OK. That's all you need to do. Photoshop will think for a little while (depending upon how many photos you supplied), and you will end up with a photo with no tourists, almost like magic.

share|improve this answer
Thanks for your research. This is the kind of solution I was looking for, so I've marked this as the answer. – Antonio2011a Oct 24 '12 at 22:02
If there's a Mode option, that might be even better. But these other-than-mean averages are key. – Ben Voigt Oct 24 '12 at 22:22

The Content-Aware Fill feature in Photoshop CS5 or later can do this. To use it, you select the unwanted object using the lasso tool or any other technique, then Edit > Fill > Content-Aware. Photoshop will replace the selection with a background image interpolated from nearby background imagery.

share|improve this answer

Do you need it done automatically?

If not, you could import each image as a separate layer in Photoshop, The Gimp or any image editing software with layers (and preferably, layer masks). For each layer, erase (making transparent) unwanted parts, or apply a layer mask and make the unwanted parts transparent (this method is more reversible). Hopefully, there are no common transparent parts in all layers! Finally, flatten/merge the layers.


share|improve this answer

If you're using Android or iPhone, check out Scalado Remove App:

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .