hi_isp_cmos_ldci
Description
Defines the CMOS parameters of LDCI.
Definition
typedef struct {
hi_bool enable;
hi_u8 gauss_lpf_sigma;
hi_u8 he_pos_wgt[HI_ISP_AUTO_ISO_NUM];
hi_u8 he_pos_sigma[HI_ISP_AUTO_ISO_NUM];
hi_u8 he_pos_mean[HI_ISP_AUTO_ISO_NUM];
hi_u8 he_neg_wgt[HI_ISP_AUTO_ISO_NUM];
hi_u8 he_neg_sigma[HI_ISP_AUTO_ISO_NUM];
hi_u8 he_neg_mean[HI_ISP_AUTO_ISO_NUM];
hi_u16 blc_ctrl[HI_ISP_AUTO_ISO_NUM];
} hi_isp_cmos_ldci;
Members
Member |
Description |
|---|---|
enable |
LDCI enable
|
gauss_lpf_sigma |
LPF filtering strength. A smaller value indicates that the region that the LDCI module acts on is more localized. Value range: [0x1, 0xFF] |
he_pos_wgt |
Blending weight curve of the histogram equalization and source image. You can increase the luminance based on the luminance of the source image. The curve is in Gaussian distribution, and the horizontal coordinates indicate luminance. #define HI_ISP_AUTO_ISO_NUM 16 |
he_pos_sigma |
Mean square error (MSE) value of Gaussian distribution in the weight curve of blending local histogram equalization results and source image based on the luminance increment. The value range is [0x1, 0xFF]. |
he_pos_mean |
Expected value of Gaussian distribution in the weight curve of blending local histogram equalization results and source image based on the luminance increment. The value range is [0x0, 0xFF]. |
he_neg_wgt |
Blending weight curve of the histogram equalization and source image. You can decrease the luminance based on the luminance of the source image. The curve is in Gaussian distribution, and the horizontal coordinates indicate luminance. |
he_neg_sigma |
MSE value of Gaussian distribution in the weight curve of blending local histogram equalization results and source image based on the luminance reduction. The value range is [0x1, 0xFF]. |
he_neg_mean |
Expected value of Gaussian distribution in the weight curve of blending local histogram equalization results and source image based on the luminance reduction. The value range is [0x0, 0xFF]. |
blc_ctrl |
Gain control strength of the dark region in manual mode, which is used to suppress noise in the dark region. The value range is [0x0, 0x1FF]. |