8.Features
© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch 105
8.4.3.
Light Source Preset
MARS-GT cameras support light source preset function, and provides Off mode, Custom mode, and four
specified common color temperature light source modes. The camera provides the corresponding white
balance coefficient and color transformation coefficient in the four specified color temperature light source
modes.
Off Mode
The camera does not perform white balance and color conversion processing on the image by default.
Custom Mode
The camera does not perform white balance and color conversion processing on the image by default.
Users can perform automatic white balance, or manually input white balance coefficients, and it supports
color conversion enable control and manually input color conversion coefficients.
Daylight-6500K
When the user selects Daylight-6500K in the light source preset, the camera will perform white balance
processing on the image by default. If the external environment light source used is D65 light source, the
image will not produce color deviation.
Even if the current light source is selected as the light source preset, users can also manually adjust the
white balance coefficient.
Users can turn on the color conversion enable switch and calibrate according to the color conversion
coefficient of the Daylight-6500K light source (manual input of color correction coefficients is not
supported).
The option operation of Daylight5000K, CoolWhiteFluorescence, INCA is the same as Daylight-6500K.
8.4.4.
Auto White Balance
8.4.4.1.
Auto White Balance ROI
Auto White Balance feature use the image data from AWBROI to calculate the white balance ratio, and
then balance ratio is used to adjust the components of the image.
ROI is defined in the following way:
AWBROIOffsetX:
The offset of the X axis direction.
AWBROIOffsetY:
The offset of the Y axis direction.
AWBROIWidth:
The width of ROI.
AWBROIHeight:
The height of ROI.
Offset is the offset value that relative to the upper left corner of the image. Where the step length of X axis
direction offset and width is 4, the step length of Y axis direction offset and height is 2. The ROI setting