How can you represent more than 12 bits of data with just 12bits? Maybe all my advanced degrees were a waste, I should just have come and learnt from you.
Yes, but you are limited to 12 bits in the ADC output. In fact in this scenario quantization error will have an impact because you have more dynamic range than you can represent using the ADC. Could lead to posterisation. For faint deep sky objects e.g nebulae this is unlikely to be an issue but if you have bright stars you could see artifacts.
Very few cameras have read noise of less than 1DN, so it can be quite counterintuitive seeing a dynamic range of 12.4EV when the bit depth is 12bits. However I'm sure with modern CMOS sensors this will become more and more commonplace. So let's see if we can get some intuition on this using a consumer camera as an example.
The Olympus OM-D E-M1 Mark II is a consumer camera with a 12bit sensor and read noise of less than 1DN.The read noise is 0.85DN at ISO 200:
https://www.photonst...E-M1 Mark II_12
Here is a crop of the raw green channel from DPReview's Exposure Latitude test at ISO 200:
I measured the read noise in PixInsight and it is definitely 0.85DN. Now dynamic range is the ratio of the brightest and dimmest recordable light intensity. But in the image above which step on the step wedge should we choose as the dimmest? By convention we choose the one where the signal-to-noise ratio is 1 - I've marked this one with an arrow. Equivalently we can simply divide the saturation level by the read noise. Either way, we end up with a dynamic range of around 12.3EV which is obviously greater than 12. To the right of the arrowed wedge you can clearly see dimmer steps on the wedge (i.e. a lot dimmer than 1DN) until they become lost in the noise. So obviously there is a greater range of intensities in the data than suggested by the dynamic range of 12.3EV.
Since we are astronomers, we know we could take multiple exposures of this scene then stack them and stretch the stack to make these dimmer steps on the wedge visible. You are absolutely right that the ADC is giving us only 12 bits of data. But the range of signal intensities sitting in the image data is far more than the simplistic assumption of 12EV suggested by those 12bits - they are just obscured by read noise.
Mark
Edited by sharkmelley, 26 November 2020 - 06:46 PM.