• site home
  • blog home
  • galleries
  • contact
  • underwater
  • the bleeding edge

the last word

Photography meets digital computer technology. Photography wins -- most of the time.

You are here: Home / The Last Word / Averaging images in Photoshop

Averaging images in Photoshop

June 26, 2019 JimK 12 Comments

Phase One just introduced an update to the IQ4 cameras that allows in-camera capture and averaging of groups of images. If the camera position is fixed, this technique can have the effect of simultaneously:

  1. Allowing long exposure times without the need for a neutral density filter.
  2. Deceasing the amount of noise in the final image over what could have been achieved with a single capture.
  3. Increasing the dynamic range of the final image over what could have been achieved with a single capture.

2, and 3 above are really just two different ways to say the same thing. The amount of noise reduction is the square root of the number of captures. If you have 2 captures, you have 0.707 times as much noise. Four captures, half the noise. 16 captures give you one quarter the noise, and 64 captures get you to one eighth.

I’ve been doing this for some time in post-production. If you want to experiment with it and you are among those who don’t happen to have an IQ4,  but do have Photoshop (Ps), it’s pretty easy.

Here’s what to do.

Bring all your images into Ps as layers in a single image. If you’re using Lightroom (Lr), you can select all the images and pick “open as layers in Photoshop”.

Select all the layers.

Convert the layers to a smart object.

In Smart Object, pick Stack Mode, and then Mean.

 

If you want to experiment, you can also choose Median.

The Last Word

← Is the GFX 100 unfocused? Nikon 200/2 VRI on Z7, Fuji 250/4 on GFX 50R →

Comments

  1. CarVac says

    June 26, 2019 at 4:58 pm

    Phones have done this for quite a while as well, but instead of plain stacking they align the images in blocks.

    Reply
  2. Srdjan says

    June 26, 2019 at 8:50 pm

    When shooting handheld, you may have to shoot with higher ISO and thus introduce more noise in the picture. If you precede the steps described in your link with an Edit->Auto Align step, you can use the image averaging technique on handheld shots and reduce noise. How many shots would be necessary to get the noise behavior of the base ISO?

    Reply
    • JimK says

      June 26, 2019 at 8:59 pm

      How many shots would be necessary to get the noise behavior of the base ISO?

      Let’s say ISO 100 is the base ISO. Then it would take two shots at ISO 200, four shots at ISO 400, or 16 shots at ISO 1600. But if you’re just worried about shadow noise, you could get similar results in fewer shots by bracketing and using HDR in post.

      Reply
      • Srdjan says

        June 26, 2019 at 10:13 pm

        Thanks for the reply. Assuming that I am shooting handheld at the lowest possible shutter speed, there is not much opportunity to bracket in both directions

        Reply
    • JG says

      June 26, 2019 at 11:41 pm

      FYI, an even easier approach is to go to File -> Scripts -> Load Files into Stack, then check the boxes to auto-align the selected files (or folder of files) and create a Smart Object.

      I photograph mostly at night, using long exposures at base ISO, so median-blend multiple files (odd numbers, so no computation is required to determine the median values) for every photo I take to reduce shadow noise, as well as automagically remove star trails, airplane or car lights, pedestrians, etc. from the final, blended file.

      Reply
  3. JpPeretti says

    June 27, 2019 at 5:32 am

    Hi Jim

    Could you explain the #1 point ” Allowing long exposure times … ” ?

    Thank you very much.

    JPierre

    Reply
    • JimK says

      June 27, 2019 at 6:44 am

      Without a ND filter, the longest exposure time is limited by the minimum acceptable aperture and clipping at the chosen ISO setting. If you are averaging many exposures, you can pick the shutter speed for each one to be short enough to avoid clipping, and when you average the series, it will look like you used a longer exposure.

      Here’s an example: say you are taking twilight pictures of a seashore with clouds in the sky. You want the water to be smooth and the clouds to have motion blur. You figure that will take a 120 second exposure. You don’t want to stop down any further than f/11. At f/11 at base ISO, the capture will clip with an exposure longer than one second. You can either use a ND filter and make one shot at 120 seconds, or not use one, and make 120 1-second exposures and average them.

      Reply
      • JpPeretti says

        June 27, 2019 at 7:41 am

        Caught it ! :o))

        Thanks a lot Jim.

        JPierre

        Reply
    • Travis Etherton says

      June 27, 2019 at 6:44 am

      Sounds like Sony’s PlayMemories app for the previous generations of cameras? Something Sony should bring back!

      Reply
  4. janne says

    June 27, 2019 at 7:29 pm

    In Photoshop, it’s usually faster to go the way of File/Statistics menu and do the stacking from there than muck around with layers and smart objects. I don’t know how PS operates internally, but it seems to make an internal copy of the stack when using smart objects – and with deep stacks, this quickly becomes resource intensive and/or slow.

    If you have many images, like simulated long exposure stack can have, and your camera is supported, and you don’t mind the potential loss of bit depth, piece of software called PixelFixer can do the stacking in some seconds per hundred images. It saves the stacked image as a native camera raw file (.nef for Nikon, etc). I’ve fed it stacks that are 200 images deep and it processed them in less than 30s. Truly magnificent piece of software – it also can do flat field and dark frame correction if you have the calibration images. Too bad that it hasn’t been updated in a while and doesn’t seem to be open source…

    However, if you don’t have a camera that is supported by PixelFixer and you have deep stack of images, then I recommend either Imagemagick or Hugin’s hugin_stacker; the latter is somehow even quicker in its operation than Imagemagick is and integrates well with Hugin itself. I’ve done spherical panoramas, where I’ve aligned the sky to stars and the ground to the foreground so that the final panorama can have both pinpoint stars and less noise in the whole image. hugin_stacker supports several stacking modes, including your min, max, average, median and winsorized mean; the latter can be useful when stacking images of deep space since it magically gets rid of satellite trails and such without hurting the signal/noise ratio like median stacking can do.

    Reply
    • janne says

      June 27, 2019 at 7:38 pm

      One way to peruse stacking is to do super resolution. Shift the camera around a tiny, random amount (poke it with a finger, let the mirror slap do its thing, etc), and then align the images with subpixel precision. After that is done, average the images with 2x pixel scale and bayer artifacts such as false colours and remains of the colour filter array pattern in the image are gone. Of course, the results usually aren’t as good as with dedicated pixel shift sensors, but improvements are usually seen nonetheless – if not anything else, the signal to noise ratio is better.

      Reply

Trackbacks

  1. Averaging GFX 100 images says:
    August 13, 2019 at 10:09 am

    […] weeks ago, I published an article about averaging images in Photoshop. There are two main reasons to do this: to get the equivalent of longer exposures without resorting […]

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

May 2025
S M T W T F S
 123
45678910
11121314151617
18192021222324
25262728293031
« Apr    

Articles

  • About
    • Patents and papers about color
    • Who am I?
  • How to…
    • Backing up photographic images
    • How to change email providers
    • How to shoot slanted edge images for me
  • Lens screening testing
    • Equipment and Software
    • Examples
      • Bad and OK 200-600 at 600
      • Excellent 180-400 zoom
      • Fair 14-30mm zoom
      • Good 100-200 mm MF zoom
      • Good 100-400 zoom
      • Good 100mm lens on P1 P45+
      • Good 120mm MF lens
      • Good 18mm FF lens
      • Good 24-105 mm FF lens
      • Good 24-70 FF zoom
      • Good 35 mm FF lens
      • Good 35-70 MF lens
      • Good 60 mm lens on IQ3-100
      • Good 63 mm MF lens
      • Good 65 mm FF lens
      • Good 85 mm FF lens
      • Good and bad 25mm FF lenses
      • Good zoom at 24 mm
      • Marginal 18mm lens
      • Marginal 35mm FF lens
      • Mildly problematic 55 mm FF lens
      • OK 16-35mm zoom
      • OK 60mm lens on P1 P45+
      • OK Sony 600mm f/4
      • Pretty good 16-35 FF zoom
      • Pretty good 90mm FF lens
      • Problematic 400 mm FF lens
      • Tilted 20 mm f/1.8 FF lens
      • Tilted 30 mm MF lens
      • Tilted 50 mm FF lens
      • Two 15mm FF lenses
    • Found a problem – now what?
    • Goals for this test
    • Minimum target distances
      • MFT
      • APS-C
      • Full frame
      • Small medium format
    • Printable Siemens Star targets
    • Target size on sensor
      • MFT
      • APS-C
      • Full frame
      • Small medium format
    • Test instructions — postproduction
    • Test instructions — reading the images
    • Test instructions – capture
    • Theory of the test
    • What’s wrong with conventional lens screening?
  • Previsualization heresy
  • Privacy Policy
  • Recommended photographic web sites
  • Using in-camera histograms for ETTR
    • Acknowledgments
    • Why ETTR?
    • Normal in-camera histograms
    • Image processing for in-camera histograms
    • Making the in-camera histogram closely represent the raw histogram
    • Shortcuts to UniWB
    • Preparing for monitor-based UniWB
    • A one-step UniWB procedure
    • The math behind the one-step method
    • Iteration using Newton’s Method

Category List

Recent Comments

  • JimK on Goldilocks and the three flashes
  • DC Wedding Photographer on Goldilocks and the three flashes
  • Wedding Photographer in DC on The 16-Bit Fallacy: Why More Isn’t Always Better in Medium Format Cameras
  • JimK on Fujifilm GFX 100S II precision
  • Renjie Zhu on Fujifilm GFX 100S II precision
  • JimK on Fuji 20-35/4 landscape field curvature at 23mm vs 23/4 GF
  • Ivo de Man on Fuji 20-35/4 landscape field curvature at 23mm vs 23/4 GF
  • JimK on Fuji 20-35/4 landscape field curvature at 23mm vs 23/4 GF
  • JimK on Fuji 20-35/4 landscape field curvature at 23mm vs 23/4 GF
  • Ivo de Man on Fuji 20-35/4 landscape field curvature at 23mm vs 23/4 GF

Archives

Copyright © 2025 · Daily Dish Pro On Genesis Framework · WordPress · Log in

Unless otherwise noted, all images copyright Jim Kasson.