8.Features
© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch 106
depends on the current image and cannot exceed the current image range. Assuming the current image
width is Width, the image height is Height, then the ROI setting need to meet the following condition 2:
AWBR AWBROIOffsetX≤Width
AWBRO 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-61.
ROI
1024
1000
ROI
640
480
100
50
Figure 8-61 An example for the relative position between the ROI and the current image
8.4.4.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 only once, when using the "Continuous" mode, the camera
continuously adjusts the white balance ratio based on the data in AWBROI.