The formula for calculating the effect of black level / analog gain / digital gain / binning on gray scale, and the order of principle and effect?
The optical signal is converted into an electrical signal through an image sensor, and the analog gain is calculated and then digitized through the ADC, which is the output of Sensor. Therefore, the calculation formula of gray value is: (Sensor output ± black level) * digital gain * transverse binning * longitudinal binning.
The effective order is analog gain, black level, digital gain, binning.