The Gain class provides methods for controlling the auto gain or, in case of HDR sensors, the white level adjustment. The Gain class uses the mean mode in contrast to the Peak class. In mean mode, the average brightness and color rendering of the image is adjusted to the preset desired value. In contrast, in peak white mode the image is adjusted to a reference quantity of white pixels (value range 1…20 %).
Methods
Method |
Description |
---|---|
Returns the current auto gain setting or white level adjustment. |
|
Returns the upper limit for auto gain control. |
|
Returns if setting the auto gain is supported. |
|
Enables/disables the auto gain control feature or, in case of HDR sensors, the white level adjustment. |
|
Sets the upper limit for auto gain control. |