hi_stitching_histogram_param

Description

Converts the hi_stitching_gain_param.calulate_gain_callback.hist_config field into the hi_stitching_histogram_param structure in the callback function used for gain compensation. For details, see Conversion Sample Code.

Prototype

typedef struct {
    hi_u32 pic_index;
    hi_u32 overlap_pic_index;
    hi_vpc_histogram_config histogram_info;
} hi_stitching_histogram_param;

Members

Member

Description

pic_index

Input image ID.

overlap_pic_index

When hi_stitching_histogram_type is set to OVERLAP_HISTOGRAM, the overlap_pic_index parameter indicates the ID of the image that overlaps the input image.

histogram_info

Histogram statistics result.

Conversion Sample Code

hi_stitching_histogram_param *hisData = (hi_stitching_histogram_param *)hist_config;