snapsy wrote:
alundeb wrote
snapsy wrote
alundeb wrote
snapsy wrote
alundeb wrote
The maximum dynamic range of linear encoded data does not equal the number of bits, because the qantization noise is much smaller than 1 LSB. The quantization noise of an ideal converter is maximum +/- 1/2 LSB. If the data is uniform, the quantization noise as an RMS value is LSB / sqrt(12).
This means that 14 bits of linear data can carry theorethically up to 15.8 stops of dynamic range. How do you arrive at 15.8 stops of DR from the RMS measurement of a mean 0 signal in a 14-bit ADC? 15.8 stops of DR in a 14 bit ADC does not require a mean 0 signal. It requires a smallest mean signal of 1/sqrt(12). With a mean signal of 1/sqrt(12) or approximately 0.29 and some analog noise, the analog value of signal plus noise will sometimes be above 0.5 and then quantized as 1.
With some analog noise (if the noise is not present with the signal, we can add noise as dithering), the actual DR will be slightly lower than 15.8 stops, I haven't calculated that exactly. How do you arrive at a mean signal of 1/sqrt(12)? To my understanding the 1/sqrt(12) is a measurement of the quantization noise relative to the signal, not a measurement of the signal itself. The signal itself for this discussion would have a mean of zero and an RMS of the signal's distribution at zero. Independent of this, the posterization of a mean 0 signal would make it unusable in the practical sense for digital imaging anyway so a theoretical DR is > 2^bit_depth isn't applicable (I've never read of an imaging ADC dithering signals at mean 0). Why does the signal have to be 0?
One common definition of DR uses SNR = 1. The quantization of the LSB on imaging sensor ADCs is at a mean signal level of zero, with a +/- distribution around zero. I'm still not seeing how you arrive at 15.8EV of DR from the 14-bit quantization. Can you supply the fully formula you're using so that it's clearer? Also, what is the use of > 2^bit_depth DR if the result is fully posterized, irrespective of what the precise DR measurement is between 14.0EV and 15.8EV?
The definition of DR I use is maximum signal divided by (signal where SNR = 1). That is the same definition used by ISO and also in the DxOmark measurements.
Assuming that quantization noise is the only noise, the noise level is 1/sqrt(12).
The formula I use to get 15.8 stops is: log(16383/(1/sqrt(12)))/log2