How To Remove People From Photos in Photoshop – Image Stack Tutorial

371K views 9,765 likes 355 comments

Jump to a step in the video (6)

Click a time to play the video from there.

  1. 0:00 Introduction
  2. 1:04 Load Files into Photoshop With Statistics
  3. 4:08 How To Edit Stack Modes
  4. 5:02 Fix Errors With The Spot Healing Brush Tool
  5. 7:25 Replace The Sky
  6. 8:43 Apply Adobe Camera Raw Adjustments
Text size
Appearance

Your choices stick across every tutorial on this device.

In this tutorial, you’re going to learn how to remove people from photos in Photoshop!

This is a follow-up to last week’s tutorial, How to Remove Anything from a Photo in Photoshop. In that tutorial, we used manual tools like the Spot Healing Brush Tool, Patch Tool, and Clone Stamp Tool, to remove the distracting element. However, in this video, we will see how you can let the camera do all the hard work.

For this Photoshop tutorial, we’re going to use Image Stacks to remove people walking through your photos. This is a fantastic technique that requires a bit of planning and the use of multiple photos, but the results are astonishing!

The Image Stack Mode method is perfect for removing people from crowded places or unwanted objects that are moving through a scene.

We will use the Mean Stack Mode which will take a statistical average of the content found in all the photos that we will use for this tutorial. This means that it will keep identical areas and remove everything that changes between the different photos.

It is very likely that cars and people will move and change locations and will be removed when the Stack Mode is applied, leaving only the background.

When you’re out taking photos make sure that your camera is on a tripod so that the images line up during the blend. If you do not have a tripod, make sure that stand very still and hold your camera as steady as possible.

Wait about 25 seconds or so between each photo that you take so that you give people enough time to move. In most cases, you will only need between 10 to 20 photos, but take more just in case.

In this tutorial, we’re going to use fourteen photos that I shot with my cell phone without using a tripod. I wanted to use photos that were not shot under the perfect conditions so that you could see the power of this technique.

Stack Modes

Stack modes operate on a per-channel basis only, and only on non-transparent pixels.

For example, the Maximum mode returns the maximum red, green, and blue channel values for a pixel cross-section and merges them into one composite pixel value in the rendered image.

ModeResultComments
Entropyentropy = – sum( (probability of value) * log2( probability of value) )

Probability of value = (number of occurrences of value) / (total number of non-transparent pixels)
The binary entropy (or zero-order entropy) defines a lower bound on how many bits would be necessary to losslessly encode the information in a set.
Kurtosiskurtosis = ( sum( (value – mean)4 ) over non-transparent pixels ) / ( ( number of non-transparent pixels – 1 ) * (standard deviation)4 ).A measure of peakedness or flatness compared to a normal distribution. The kurtosis for a standard normal distribution is 3.0. Kurtosis greater than 3 indicates a peaked distribution, and kurtosis less than 3 indicates a flat distribution (compared to a normal distribution).
MaximumThe maximum channel values for all non-transparent pixels
MeanThe mean channel values for all non-transparent pixelsEffective for noise reduction
MedianThe median channel values for all non-transparent pixelsEffective for noise reduction and removal of unwanted content from the image
MinimumThe minimum channel values for all non-transparent pixels
RangeMaximum minus the minimum of the non-transparent pixel values
Skewnessskewness = (sum( (value – mean)3) over non-transparent pixels ) / ( ( number of non-transparent pixels – 1 ) * (standard deviation)3 )Skewness is a measure of symmetry or asymmetry around the statistical mean

Standard Deviationstandard deviation = Square Root(variance)
SummationThe sum channel values for all non-transparent pixels
Variancevariance = (sum( (value-mean)2 ) over non-transparent pixels ) / ( number of non-transparent pixels – 1)
*Source: Adobe Helpx
Pro Training

Selections and Masking Mastery

Complete course includes 2.5 hours of step-by-step lessons, 6 structured modules, downloadable practice files, and custom Photoshop brushes. Everything you need to master selections and masks in one place.

View the Course

Final Image

Drag the slider to see before and after

After: How To Remove People From Photos in Photoshop – Image Stack Tutorial
Before: How To Remove People From Photos in Photoshop – Image Stack Tutorial
Jesús Ramirez

About the author

Jesús Ramirez

Jesús Ramirez is a graphic designer and the founder of the Photoshop Training Channel, which he started in 2012 and has grown past two million YouTube subscribers. He has taught at Adobe MAX, Adobe Summit, and Photoshop World, teaches courses for CreativeLive and Pluralsight, and was one of five artists chosen for Adobe Stock's Make a Masterpiece campaign. His Photoshop templates shipped inside Photoshop CC 2018.

More about Jesús Ramirez

Similar Posts

5 Comments

  1. In this tutorial, you use the Image Stack Mode to remove images that are moving. Can you use the same method to remove pixels that are static?

    I was thinking that if you do not have a green background, to take a picture of a static background, then another with the subject in it. If this method can then remove background that are the same, it would be easier to create a transparent mask, with just a small amount of fiddling.

    BTW, Love your tutorials, especially the 90 seconds ones. Brilliant ?

  2. Hi, Oh dear, kurtosis, entropy …
    This, in my opinion, this table is difficult to understand without considerable knowledge of what is increasingly seeming an over complex program. I did decide to stop after 4 years of using Photoshop because of this. XxxxxxxAdobe have given me 3 months free to decide.

Comments are closed.