• 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 / Sony a7S noise reduction in-camera processing of raw files

Sony a7S noise reduction in-camera processing of raw files

August 5, 2014 JimK 8 Comments

A few weeks back, I did a series of dark-field exposures with the Sony alpha 7S (a7S) at all available ISO settings. After some processing, I produced this graph:

RNvsISOSSCorr

There are two places in the curve where sudden — and unexpected, at least by me — drops occur as the ISO is increased. The first one occurs as the ISO 1600 to ISO 2000 transition. I think I know what that is: the place where the a7S switches from low conversion gain to high conversion gain as described in this Aptina white paper.

The second drop, the one that occurs above ISO 50K, I had no explanation for. However, there was a thread at DPR that proved enlightening. The thread was started by a person who’s handle is DSPotographer, and, not surprisingly, he (or she, for all I know; going with the odds, I’ll use “he” here.) appears to be, as we say in patent applications,  “skilled in the art” of digital signal processing.

DxOmark didn’t show the kinks. I sent DSPographer a set of my a7R dark-field files. He used a completely difference analysis protocol on them, and essentially reproduced my results. He wondered about the processing at high ISOs, and started analyzing the histograms and spectral distributions of the dark fields.

I produced the following graphs by modifying  Matlab code that DSPographer wrote and sent to me. Any defects are my responsibility, and most of the mathematical sophistication comes from him.

Here’s a look at the dark field noise spectrum of the a7S at ISO 50K:

a7s50KRNspectrumThis looks like you’d expect it to look: a big spike near dc that comes from amplifier heating and other low frequency effects, and flat otherwise.

Now look at the ISO 100K plot:

a7s100KRNspectrum

Something is rolling off the high frequencies. But what?

Using parameters that DSPotographer and I worked out together, I took the ISO 50K dark frame and applied a 2×2 median filter with a large threshold to the data.

thresh code

Here’s what I got:

a7s 2x2 median th 88

The histograms

A 2×2 mean filter works pretty well, too:

a7s 2x2 mean th 81

DSPotographer analyzed the histograms and they make sense, too.

So, problem solved, right? Sony using some kind of thresholded spatial filter at ISOs above 50K, trading a7S resolution for noise. Probably so, but there’s something else that could be affecting this: Sony’s raw compression algorithm.

Here’s a histogram of the dark-field noise at ISO 400K:

a7s400Khisto

The spread is low enough that the tone compression part of the Sony raw compression algorithm won’t have much effect, but it’s big enough that the delta modulation piece of the algorithm will be active. I don’t think that’s having much effect, especially since the thresholded mean or median algorithm will keep differences out of the more aggressive parts of the delta mod coding. But I mention it for completeness.

The Last Word

← Getting ready for another exhibition Mastering Leica M240 green shadows →

Comments

  1. Cobarcore says

    June 22, 2015 at 4:22 am

    Hi Jim,
    very very interesting page! I’ve been testing A7s from a while for night sky imaging and I’ve made an ISO-gain graph that shows exactly the same step you’ve found at ISO>1600.
    You state it is a change in the internal amplifier, can you give some reference? (no link to aptina)

    Interestingly I’ve not seen the step at ISO>102k, maybe because I’ve turned High ISO Noise Reduction “off”?

    I hope to better discuss these topics, and I too use matlab for analisys.

    Reply
    • Jim says

      June 22, 2015 at 7:32 am

      Are you saying you don’t want a link to Aptina? Why’s that? If that’s right, what link do you want?

      The Spatial filtering above ISO 50K can’t be turned off AFAIK, nor can the similar (but different) filtering when the shutter is set to bulb.

      Jim

      Reply
    • Jim says

      June 22, 2015 at 7:34 am

      It’s not a change in the internal amplifier per se, but a change in the conversion gain effected by changing the capacitance associated with the photodiode.

      Reply
  2. Cobarcore says

    June 29, 2015 at 1:55 pm

    Hi Jim,
    thanks for the reply! Yes, the aptina link is what I like to read! Sorry for my bad english… I was sayng that the link in your text “as described in this Aptina white paper” is missing. So please add.

    You say another interesting thing about another filter applied to bulb exposures, and as an astrophotographer, I’m quite interested. What’s the best method to evidence this?

    Reply
    • Jim says

      June 29, 2015 at 4:26 pm

      Aptina white paper: https://www.aptina.com/products/technology/DR-Pix_WhitePaper.pdf

      Sony filtering of bulb exposures: http://blog.kasson.com/?p=10012

      Jim

      Reply
    • Jim says

      June 29, 2015 at 4:28 pm

      Yes, the aptina link is what I like to read! Sorry for my bad english

      It’s a lot better than my Italian!

      Jim

      Reply

Trackbacks

  1. Spacial filtering of raw images by Sony a7S, a7II | The Last Word says:
    April 28, 2015 at 1:51 pm

    […] We’ve seen before that the a7S performs some spatial filtering of raw files at ISO settings of…. I used the same technique to investigate whether there was any spatial processing to images made using Bulb. […]

    Reply
  2. Frequency domain sensor analysis says:
    February 2, 2017 at 10:58 am

    […] clues to whether or not cameras are applying spatial filtering to their raw files. I started when I was investigating why the Sony a7S suddenly had a better engineering dynamic range (EDR) when the …. One would think that, as ISO goes up, EDR would go down. The kink in the a7S EDR curve was […]

    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.