• 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 / A medium-format camera in your jacket pocket

A medium-format camera in your jacket pocket

February 28, 2013 JimK 2 Comments

In the last few months, I’ve been examining ways to get the highest signal-to-noise ratio (SNR) in digitally-captured images.  I started with ETTR, then explored the issue of optimal in-camera ISO setting. Now I’d like to explore how to get your camera punching above its weight – producing images with the SNR of a larger sensor.

There’s no free lunch here. A major limitation of the technique I’m about to propose is that it won’t work unless your subject is motionless, and your camera is as well. That means a tripod, and that means that the title of this post is a bait and switch; sure, you’ll be able to put your camera in your pocket, but that tripod won’t come close to fitting in there.

What I’m proposing is averaging several exposures. This is not a new idea, but it’s not commonly performed by ordinary photographers. It’s not something that you’ll do routinely, but it’s a great tool to have on your belt should you be faced with a situation where you want the absolute best image quality you can get, and you don’t have a camera with a big sensor with you.

To review the relationship between sensor size and SNR, here’s the rule:

SNR is proportional to the linear dimension of the sensor.

Another way of looking at it is that SNR is inversely proportional to the lens multiplier factor.

We know something about SNR and averaged exposures: it’s proportional to the square root of the number of exposures. You can make your four-thirds camera have the SNR of a full-frame one by averaging four exposures. It’ll have better than the SNR of a medium format camera if you average 16 exposures.

That’s the theory, anyway. I thought I’ve give it a try. I took a Sony RX-1, which arguably doesn’t need any SNR help, and aimed it at this scene, which is familiar to those of you who’ve been reading this blog a while.

I needed to simulate the shadow area in a scene with a reasonably high dynamic range. I set the camera to underexpose from the ETTR exposure by four stops. I focused manually. At ISO 100, I made sixteen exposures. You know, the RX-1 continues to surprise and delight me in little ways: how rare it is to have a camera that can use a standard cable release these days, and how convenient it is when it happens. Here’s what the scene looked like four stops underexposed:

Then I set out to create a set of averaged images. You can do this in Photoshop, but it’s kind of painful: Export the stack of images from Lightroom as layers, convert the stack to a smart object (Layer > Smart Object > Convert to Smart Object), and then Layer > Smart Object > Stack Mode > Mean. Frustrated with all the Photoshop steps, I wrote a little Matlab program to do it:

The Matlab program has an advantage over the Photoshop Smart Object approach: the averaging is done in double-precision floating point, and only converted to 16-bit unsigned integer representation at the end. Since the averaging is done in a linear (gamma = 1) RGB color space, 16 bits is not enough precision for the averaging calculation, or even to represent a single image. I don’t know what precision Photoshop uses for its Mean function.

I converted the images from raw to TIFF in Lightroom, with all noise reduction turned off. I created averaged images from 2, 4, 8, and 16 exposures with Matlab. I brought them into Photoshop and stacked them as layers with one of the original images, then I put an Exposure adjustment layer on top, and set it to +4.0 EV.  I cropped the image very tightly. Here’s the resultant image, as a set of 2x JPEGs.

One image:

Two images averaged:

Four images averaged:

Eight images averaged:

16 images averaged:

The image is not very noisy to begin with. The two-image average is better, and the four image average is still better, but not by much. I can’t see any improvement in the 8-image average over the four, and hardly any in the 16-image average over the four. If I’d have started with a four-thirds image, the differences would have been more striking becasue there would have been more noise.

Is this any better than compositing a bunch of different exposures in some HDR program? Maybe not, but it has one theoretical advantage: there is no tone-mapping step, with its possibilities for creating unnatural results.

 

The Last Word

← “In Motion” interview Raw processing workshop →

Comments

  1. Sloan says

    April 4, 2013 at 5:08 am

    I think it might be possible to get by without the tripod by using the align tool in hugin
    http://hugin.sourceforge.net/docs/manual/Align_image_stack.html
    I’ve had reasonable luck in parralellizing it by keying all the subsequent images off of a random key image. Thus everything aligns to an image and you get a stack of aligned tiffs that you can push through your matlab script.

    Reply

Trackbacks

  1. Averaging images in Photoshop says:
    June 26, 2019 at 1:28 pm

    […] 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 and IQ4,  but do have Photoshop (Ps), it’s pretty easy. […]

    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 How Sensor Noise Scales with Exposure Time
  • Štěpán Kaňa on Calculating reach for wildlife photography
  • Štěpán Kaňa on How Sensor Noise Scales with Exposure Time
  • JimK on Calculating reach for wildlife photography
  • Geofrey on Calculating reach for wildlife photography
  • JimK on Calculating reach for wildlife photography
  • Geofrey on Calculating reach for wildlife photography
  • Javier Sanchez on The 16-Bit Fallacy: Why More Isn’t Always Better in Medium Format Cameras
  • Mike MacDonald on Your photograph looks like a painting?
  • Mike MacDonald on Your photograph looks like a painting?

Archives

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

Unless otherwise noted, all images copyright Jim Kasson.