No, a black level of 31 for 10 bit sensor or 127 for 12 bit sensor does not mean that there are only 5 bits of valid image data per pixel.
Saying that the bottom 5 or 7 bits is random noise is just wrong.
It means that the valid values for each pixel range from 31 - 1023 (10 bit) or 127 - 4095 (12 bit).
For example think about the top 2048 values for a 12 bit sensor - once the number of photons hitting the sensor has reached this threshold then the sensor noise and shot noise component is irrelevant. Each and every value from 2048 to 4095 is a valid value with a neglible noise component.
Phil.
Note: For 10 bits, I change 63 to 31 for black level
I already think about and understand your point. I am still thinking about to clearly express the real interpretation.
I understand that a cell value, for 10b sensor, could be interpret with uncertainty as per 31 +/- 31 for a black cell. And it can go up to 1023 +/- 31 for a fully photon-loaded cell. I understand that relative uncertainty would go from 100% to 3%. I understand that raw to XYZ conversion will use black-white cell range (31 to 1023). I understand that, after photons are aggregated, the analog-digital converter convert something, the photon counts, instead of nothing.
But, consider, ...
- for white cell, I have 1023 +/- 31 as cell value. This saturated and converted cell would have really count between 992 and 1054 "photons",
= in binary "1111100000" .. "10000011110" (5 msb: "11111" [31 !] .. "1-00000" [32 !+])
- for black cell, I have 31 +/- 31 that correspond to a range between 0 to 62,
= in binary "0000000000" .. "0000111110" (5 msb: "00000" [0 !] .. "00001" [1 !+])
- for a "mid" range value (not gamma corrected ! ), consider I have 63 +/- 31 that correspond to a range between 32 to 94,
= in binary "0000100000" .. "0001011110" (5 msb: "00001" [1 !] .. "00010" [2 !+])
This is how uncertainty is express within black-level value, irrelevant to cell value. I understand that signal to noise quality is increased when increasing photon count, from 1
to 33 , but it's still the 5 most significant bits that are the "usable" value.