hi_isp_global_cac_attr
Description
Defines the chromatic aberration correction attribute.
Definition
typedef struct {
hi_bool enable;
hi_u16 ver_coordinate;
hi_u16 hor_coordinate;
hi_s16 param_red_a;
hi_s16 param_red_b;
hi_s16 param_red_c;
hi_s16 param_blue_a;
hi_s16 param_blue_b;
hi_s16 param_blue_c;
hi_u8 ver_norm_shift;
hi_u8 ver_norm_factor;
hi_u8 hor_norm_shift;
hi_u8 hor_norm_factor;
hi_u16 cor_var_thr;
} hi_isp_global_cac_attr;
Members
Member |
Description |
|---|---|
enable |
CAC enable The options are as follows:
|
ver_coordinate |
Vertical coordinate of the optical center The value range is [0, 8191] and cannot exceed the image height range configured for the pipe. |
hor_coordinate |
Horizontal coordinate of the optical center The value range is [0, 8191] and cannot exceed the image width range configured for the pipe. |
param_red_a |
Coefficient a of the radius polynomial corresponding to channel R Value range: [-256, 255] |
param_red_b |
Coefficient b of the radius polynomial corresponding to channel R Value range: [-256, 255] |
param_red_c |
Coefficient c of the radius polynomial corresponding to channel R Value range: [-256, 255] |
param_blue_a |
Coefficient a of the radius polynomial corresponding to channel B Value range: [-256, 255] |
param_blue_b |
Coefficient b of the radius polynomial corresponding to channel B Value range: [-256, 255] |
param_blue_c |
Coefficient c of the radius polynomial corresponding to channel B Value range: [-256, 255] |
ver_norm_shift |
Normalization shift in the vertical direction Value range: [0, 7] |
ver_norm_factor |
Normalization factor in the vertical direction Value range: [0, 31] |
hor_norm_shift |
Normalization shift in the horizontal direction Value range: [0, 7] |
hor_norm_factor |
Normalization factor in the horizontal direction Value range: [0, 31] |
cor_var_thr |
Variance threshold of lateral CAC Value range: [0, 4095] |