• 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 / Nikon 12-bit raw mode

Nikon 12-bit raw mode

February 9, 2015 JimK 12 Comments

A couple of weeks ago, I looked at the dynamic range effects of Sony’s 12-bit shutter modes.  Then someone asked about the visual effects of Nikon’s 12-bit raw mode. I did a visual test. For some, that’s enough. If you’re one of those, move along; nothing to see here.

Still around? I’m a numbers guy, too. Actually, I’m both, but the rest of this post is about numbers.

I did a photon transfer curve for the Nikon D810 in both 14-bit losslessly compressed raw mode and 12-bit losslessly compressed raw mode at ISOs of 64, 100, 200, and 400. I figured that by ISO 400, there’d be enough read noise dither that it wouldn’t make any difference whether the precision was 12 or 14 bits, but I wanted to have that data just to prove that to myself — and you all.

Here’s the ISO 64 data:

d810-12-14-sigma-ISO64

The horizontal axis is the mean value in stops below full scale. The vertical axis is the standard deviation of the noise in stops below full scale. I fit camera models to both sets of data. The solid lines are the modeled data, and the dots are the actual measured data points, each computed from 200×800 pixel samples of pairs of images. Only the first green channel (RGGB) is plotted.

Note the “ringing” in the 12 bit data. We’ve seen that effect before with the Sony alpha cameras. It occurs when there is not enough read noise to properly dither the analog to digital converter (ADC), or in this case the post ADC 14 to 12 bit quantizer in the camera. There’s not much difference between the 14 and the 12 bit case until the signal level drops to about 9 stops below full scale.

For the rest of this post, I’ll plot the signal to noise ratio instead of the standard deviation. It’s just another way of looking at the same thing, except now higher is better.

Here’s the ISO 64 and the ISO 400 data:

d810-12-14-SNR-ISO64

You can see that my assumption about the precision not making any difference at ISO 400 was right.

ISO 100:

d810-12-14-SNR-ISO100

Pretty close down to ten stops below full scale. No ringing to speak of, so there’s enough noise to provide sufficient dither.

ISO 200:

d810-12-14-SNR-ISO200

 

There are measurable differences, but I’ll bet you’d never see them in an actual photograph.

My bottom line:

  • ISO 200 and up, 12 bits is fine.
  • ISO 100, 12 bits is probably OK for almost everything.
  • ISO 64: use 14 bits. It won’t cost you much, and it’ll give you peace of mind

The Last Word

← Still more infrared panos Celebrating the process →

Comments

  1. Jack Hogan says

    February 10, 2015 at 12:20 am

    Great work, Jim. I guess nothing that a Canon shooter should worry about, with those massive read noises 🙂

    Reply
  2. Chris Livsey says

    February 10, 2015 at 7:59 am

    So, if 12 to 14 bit is almost always OK (don’t you hate it when people generalise your conclusion?) why was there always a big thing made of the mythical 16 bit on the MFD backs? Is it because they are/were iso – less so you are actually shooting at the Nikon 810 equivalent at iso64?

    Reply
    • Jim says

      February 10, 2015 at 9:09 am

      Chris, any MF CCD back is gong to be noisier than the D810 at base ISO. That means that 14 bits are probably not needed, let alone 16. I think the 16-bit ADC in the Hasselblad (the Phase cameras are reported to not actually have 16-bit ADCs) are the result of a Product Management edict. If I were an engineer presented with such a demand, I would design the ADC, but I wouldn’t worry if the last few bits were noise, since I’d be getting that much noise from the sensor. If I were really feeling like being maliciously obedient, I’d design a 13-bit ADC with a digital noise generator for the last three bits of the 16.

      Reply
      • Chris Livsey says

        February 10, 2015 at 10:09 am

        Appreciated, I’m all for myth busting. I hesitated on the 810 recently which had a UK £300 trade in bonus that just ended. I was rewarded by a £400 bonus now available, the balance may have tipped.
        BTW love the “maliciously obedient” .

        Reply
        • Jim says

          February 10, 2015 at 10:31 am

          Thanks, Chris. Note that the Phase, Hassy, Pentax, Leaf CMOS backs based on the new Sony chip, which has greater DR than and MF CCD back all use 14-bit ADCs. They don’t have much choice, since Sony quite properly put the ADCs on the sensor chip.

          Jim

          Reply
  3. Joseph says

    March 13, 2015 at 11:09 am

    For the noise ratio comparisons, could you explain why the 12bit samples do not go as high up the scale as the 14bit ones do. Is it because there is less highlight detail captured in the 12bit RAW file? Or some other reason, or maybe they’re just overlapped, so I can’t see them.

    Reply
    • Jim says

      March 13, 2015 at 12:06 pm

      That was just an accident of the capture exposures. In the highlights, it makes no difference what the precision is, so I wasn’t careful about that.

      Reply

Trackbacks

  1. Sony a7II 12-bit mode’s effect on shadows | The Last Word says:
    August 4, 2015 at 7:27 am

    […] **The drop in precision to 12 bits is not the cause of the increase in read noise. You can see what simply lowering the precision to 12 bits does in the Nikon D810, which has a mode that effects the change from 14 to 12 bits through truncation. […]

    Reply
  2. Information Transfer: Non ISO-Invariant Case | Strolls with my Dog says:
    November 30, 2015 at 2:08 pm

    […] Only the manufacturer can measure the actual noise level at the input of the ADC.  What we can estimate instead thanks to Photon Transfer Curves is the random read noise referred to the output of the photosites in physical units of photoelectrons (e-).  If analog amplification and transfer of the e- to the ADC adds little noise, we can assume that the estimated noise out of the photosites is about the same as that at the input of the ADC.  That is not always the case.  This subtle difference can sometimes result in interesting PTC responses near base ISO for overly clean sensors, even with an estimated input-referred read noise larger than 1 DN/LSB (latest Exmors, see for example  some curves at Jim Kasson’s). […]

    Reply
  3. Sub Bit Signal | Strolls with my Dog says:
    January 20, 2016 at 2:12 am

    […] kasson performed an interesting exercise with a D810, which as mentioned has a base ISO read noise of about 1 DN at 14-bits: with the green […]

    Reply
  4. Sony a9 read noise anomalies says:
    June 2, 2017 at 2:28 pm

    […] If you want to see some real 12-bit PTCs that look like this, have a look here. […]

    Reply
  5. Sony a7RIII photon transfer curves says:
    December 5, 2017 at 9:57 am

    […] looks fine except for those ripples. We’ve seen something like that before with 12-bit conversions and low-noise sensors.  But the a7RIII appears to have a 14-bit […]

    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

  • bob lozano on The 16-Bit Fallacy: Why More Isn’t Always Better in Medium Format Cameras
  • 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

Archives

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

Unless otherwise noted, all images copyright Jim Kasson.