Yes, amplifier+ADC combo works this way. On my 5Dmk2 I've two different 'maximum' values, one for normal ISOs and one for 'High' ones.
Anyway, there is two different questions
- maximum possible value (2^(bit depth) minus dark current). This value is data format/camera dependend, you may rely on imgdata.color.maximum field
- maximum value for given shot. In general, you should scan entire image are to calculate it.
Yes, amplifier+ADC combo works this way. On my 5Dmk2 I've two different 'maximum' values, one for normal ISOs and one for 'High' ones.
Anyway, there is two different questions
- maximum possible value (2^(bit depth) minus dark current). This value is data format/camera dependend, you may rely on imgdata.color.maximum field
- maximum value for given shot. In general, you should scan entire image are to calculate it.