8.Features
© China Daheng Group, Inc. Beijing Image Vision Technology Branch 128
image width is Width, the image height is Height, then the ROI setting need to meet the following condition
2:
AWBRO AWBROIOffsetX ≤ Width
AWBROI AWBROIOffsetY ≤ Height
If condition 2 is not met, the user cannot set the ROI.
The default value of ROI is the entire image, you can set the "white dot" area (ROI) according to your need.
Where the minimum value of AWBROIWidth can be set is 16, the maximum value is equal to the current
image width. The minimum value of AWBROIHeight can be set is 16, the maximum value is equal to the
current image height, they are all need to meet the condition 2.
Assuming the current image width is 1024, the height is 1000, and then the "white dot" area ROI setting is:
AWBROIOffsetX
=
100
AWBROIOffsetY
=
50
AWBROIWidth
=
640
AWBROIHeight
=
480
The relative position of the ROI and the image is shown in Figure 8-27.
ROI
1024
1000
ROI
640
480
100
50
Figure 8-27 An example for the relative position between the ROI and the current image
8.3.5.2. Auto White Balance Adjustment
The auto white balance can be set to "Once" or "Continuous" mode. When using the "Once" mode, the
camera just adjusts the white balance ratio once, when using the "Continuous" mode, the camera
continuously adjusts the white balance ratio based on the data in AWBROI.
The auto white balance feature can also select the color temperature. When the color temperature of the
selection is "Adaptive", the data in ROI always adjusting the red, green and blue to the same. When
selecting the specific color temperature, the camera adjusts the factor according to the light source, so