Description
Defines the gain compensation parameters.
Members
Member |
Description |
hist_type |
Histogram statistics type. |
gain_type |
Gain compensation type. |
user_data |
User-defined data. |
calulate_gain_callback |
Callback function pointer. If gain_type is set to GAIN_LUT, the callback function pointer must be configured. The parameters in the callback function are described as follows:
- user_data
The system assigns the user-defined data (hi_stitching_gain_param.user_data) to user_data in the callback function.
- hist_config
The hist_config parameter in the callback function is internally managed by the system. You can obtain the histogram information by using this parameter after delivering a surround-view stitching task and before releasing the internal surround-view stitching resources.
- hist_count
Indicates the number of hi_stitching_histogram_param structure objects. When hi_stitching_histogram_type is set to OVERLAP_HISTOGRAM, the value of hist_count is fixed at 8. When hi_stitching_histogram_type is set to GLOBAL_HISTOGRAM, the value of hist_count is fixed at 4.
- gain
The gain parameter in the callback function needs to be converted into a hi_vpc_lut_remap structure array. The array length is 4. hi_vpc_lut_remap* lutRemap = (hi_vpc_lut_remap*)gain
- gain_size
Length of the hi_vpc_lut_remap structure array. The current value is 4.
|