• 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 captures, precision effects

Averaging captures, precision effects

September 27, 2025 JimK 2 Comments

When we average repeated captures of the same scene we hope for a steady improvement in signal to noise ratio. Each independent frame carries its own sample of random noise, and when we average those frames the signal adds coherently while the noise tends to cancel out. The result is a cleaner image that should scale in a predictable way with the number of frames.

A natural question is whether it matters how we do the averaging. If we sum the frames in infinite precision and round only once at the end we can think of this as the ideal case. If instead we round after every addition, as would be the case in a fixed point accumulator that matches the output precision, then in principle we inject extra quantization noise at each step. It seems intuitive that this step-by-step rounding might degrade the benefit of averaging, especially at low output bit depths.

I wrote a simulator to examine this question. I’ve simulated 14 and 16-bit captures with the same amount of read noise relative to full scale. I’ve averaged with 14, 16, and 32 bit precision.

Rounding at each step

 

Rounding at the end

Note that to take full advantage of this approach, we need to have an output precision that is greater than the input precision.

Here are the graphs with stops in the vertical axes, instead of dB.

Rounding at end:

 

:Rounding at each stage:

 

The Last Word

← Aliasing with sinusoidal chirps Noise, Dynamic Range, and Print Size →

Comments

  1. Colin Surprenant says

    October 30, 2025 at 8:32 am

    To set 32 bits precision in PS is it only a question of going into Image->Mode->32 bits/Channel once files are loaded as layers or smart objects layers ? (before applying averaging)

    From a LR to PS workflow, once raw 14/16 bits files are edited in LR, we select them and then just do a Edit In->Open as layers/smart objects in Photoshop and then in PS go into Image->Mode->32 bits/Channel ?

    Reply
  2. phanter says

    November 23, 2025 at 5:01 am

    “The result is a cleaner image that should scale in a predictable way with the number of frames.”

    That’s only the case with poisson noise, like for example the shot (photon) noise in an image.

    With:
    S as the total target signal in photons per second,
    Qe as the quantum efficiency of thedetector,
    Tint as the exposure time in seconds,
    B as the average sky background in photons per second per pixel, (can be ignored in use cases without other light sources)
    D as the average dark current in electrons per second per pixel,
    NR representing the read noise in electrons per pixel and
    Npixel as the number of pixels inside the ROI
    Nframes as the number of frames used

    SNR= (S*Qe*Tint)/sqrt(S*Qe*Tint + Npixel*(B*Qe*Tint+D*Tint+RON²*Nframes))

    So read noise leaves a residual that diminishes stacking efficiency. So there is no linear behaviour to be expected.

    Reply

Leave a Reply Cancel reply

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

December 2025
S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28293031  
« Nov    

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 Why wide-angle lenses stretch the edges of the frame
  • Pieter Kers on Why wide-angle lenses stretch the edges of the frame
  • Stefan Feaux de Lacroix on Fujifilm GFX 100RF inclusive review
  • Lou Jost on Leica 280/4 Apo-Telyt R on GFX 50R in infrared
  • JimK on Why wide-angle lenses stretch the edges of the frame
  • JimK on Why wide-angle lenses stretch the edges of the frame
  • Craig Stocks on Why wide-angle lenses stretch the edges of the frame
  • Tim Wilson on Why wide-angle lenses stretch the edges of the frame
  • Erik Kaffehr on Sharpness and aliasing, one more time
  • Scott on Sharpness and aliasing, one more time

Archives

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

Unless otherwise noted, all images copyright Jim Kasson.