SOLVED Automatic gain function i2c
-
Hi there,
I have a questions regarding the AGC function within the i2c tools for 327 RPI camera:
I use this camera for machine learning applications, where the absolute intensity values play a critical role. What I need to know is, wether the AGC will always increase brightness by the same factor (A) or if it will increase the brightness to the same level (B).
To illustrate case A:
Input Light is of 10 Lumen
Without AGC all pixel will have value 10
Now I set AGC to value "2" ---> All pixels will have value 20
If I set to "3" --> all values will be 30Case B:
Illumination with 10 Lumen ---> all pixels have value 10
AGC value "2" --> all pixels have value 10
Illumination changes to 8 Lumen ---> all pixels will still have value 10
Can you tell me which is the way that this works?
Many thanks
-
@seka
Agc stands for auto gain control.
It is a part of auto exposure, in different light intensity, will try to adjust the gain of sensor to achieve the same image brightness.
Agc only has automatic mode and cannot be turned off. If you want to accurately measure the ambient brightness, it is recommended that you set agc to 0.
This actually turns off the gain of the sensor and avoids the impact on the measurement. -
@veye_xumm Thank you! That made it clear to me