• 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 / Dither, precision, and image detail

Dither, precision, and image detail

April 14, 2016 JimK Leave a Comment

I’ve done several studies on how much noise dither is enough to eliminate posterization.

How read and quantizing noise interact

Read noise and quantizing, again

More on read noise and quantizing

The answer, for Gaussian noise dithering, is about 0.5 the least significant bit voltage, rms. When you’re doing the judging visually, in the tests I’ve run it’s hard to come up with a precise number, but it’s between 0.5 and 0.8. Other people have come up with higher numbers. The highest I’ve seen from a credible source is 1.6 counts, and I have not gotten enough information to reproduce the experiment that generated that number.

Recently, I was engaged in a discussion with someone about the salutary effects of dither, and he challenged me: “Sure, dither’s fine when you’ve got no detail, but you need precision to see the detail.”

Well, that was an interesting thought, and had a certain amount of reasonableness associated with it. If dither works by averaging, how’s it going to work when the averaging would destroy the thing you’re looking for?

You know me, I had to devise an experiment. I created this image:

quick fox gray sm

It’s go no tones near white or black, so over and undershoot won’t be a problem. I reprogrammed my camera simulator to ignore photon noise, apply read noise only after the amplifier with rms value equal to a specified number of LSBs of the ADC. I ran the ADC at 3, 4, and 5 bits of precision. This gives the same effect as large Exposure pushes on underexposed images with cameras of greater precision.

Other model details:

  • f/2 diffraction-limited lens
  • 450, 550, and 650 nm light
  • 4.88 um pixel pitch
  • Adobe RGB RGGB CFA
  • bilinear interpolation demosaicing

Here’s what you get with a 3 bit converter and very little noise, enlarged to 300%:

Fox3nit-p1noise

My first set of images had noise equal to half an LSB of the 3 bit converter, a full LSB for the 4 bit converter, and 2 LSBs for the 5 bit converter. Thus the noise voltage remains the same if the full scale voltage remains the same, regardless of the precision of the ADC.

3 bits, 1/2 LSB noise
3 bits, 1/2 LSB noise

 

4 bits, 1 LSB noise
4 bits, 1 LSB noise

 

5 bits, 2 LSB noise
5 bits, 2 LSB noise

You can see that the character of the noise is different in the three images, since it is quantized more finely in the higher-precision ones.

You can also see that the top line gets easier to read as the precision goes up. Maybe that guy was on to something.

Let’s increase the dither a bit, to 0.7 LSB of the 3 bit converter, 1.4 LSB for the 4 bit converter, and 2.8 LSBs for the 5 bit converter.

 

3 bit converter, 0.7 LSB noise
3 bit converter, 0.7 LSB noise

 

4 bit converter, 1.4 LSB noise
4 bit converter, 1.4 LSB noise

 

5 bit converter, 2.8 LSB noise
5 bit converter, 2.8 LSB noise

Now the differences are harder to see. I’d call them inconsequential.

Let’s increase the dither  to 1.4 LSB of the 3 bit converter, 2.8 LSB for the 4 bit converter, and 5.6 LSBs for the 5 bit converter.

3 bit converter, 1.4 LSB noise
3 bit converter, 1.4 LSB noise

 

4 bit converter, 2.8 LSB noise
4 bit converter, 2.8 LSB noise

 

5 bit converter,5.6 LSB noise
5 bit converter,5.6 LSB noise

Now the differences are more about how the noise itself is quantized than anything else.

In general, it looks like 0.7 LSB of dither is sufficient to hold detail; adding precision while holding the noise voltage constant above that doesn’t appear to help much.

The Last Word

← Sony a7RII or Nikon D810? Dither and image detail, AHD →

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.