hi_isp_dehaze_attr
Description
Defines the ISP dehazing attribute.
Definition
typedef struct {
hi_bool enable;
hi_bool user_lut_enable;
hi_u8 dehaze_lut[HI_ISP_DEHAZE_LUT_SIZE];
hi_op_mode op_type;
hi_isp_dehaze_manual_attr manual_attr;
hi_isp_dehaze_auto_attr auto_attr;
hi_u16 tmprflt_incr_coef;
hi_u16 tmprflt_decr_coef;
} hi_isp_dehaze_attr;
Members
Member |
Description |
|---|---|
enable |
Dehaze enable. The value can be HI_FALSE (disabled) and HI_TRUE (enabled). |
user_lut_enable |
User-defined dehazing curve enable |
dehaze_lut[HI_ISP_DEHAZE_LUT_SIZE] |
User-defined curve parameter. The curve controls the dehazing strength based on the luminance. The curve has a total of 256 points. That is, 256 luminance values are supported. #define HI_ISP_DEHAZE_LUT_SIZE 256 |
op_type |
Dehaze mode
|
manual_attr |
Manual mode. For details, see hi_isp_dehaze_manual_attr. |
auto_attr |
Automatic mode. For details, see hi_isp_dehaze_auto_attr. |
tmprflt_incr_coef |
Temporal filtering increment coefficient. A larger value indicates a faster speed of image luminance convergence from dark to bright. Value range: [0x0, 0x80] |
tmprflt_decr_coef |
Temporal filtering decrement coefficient. A larger value indicates a faster speed of image luminance convergence from bright to dark. Value range: [0x0, 0x80] |
Restrictions
The dehazing function takes effect after a two-frame delay to avoid image exceptions.