hi_isp_awb_alg_type

Description

Defines the WB algorithm type.

Definition

typedef enum {
    HI_ISP_AWB_ALG_LOWCOST = 0,
    HI_ISP_AWB_ALG_ADVANCE = 1,
    HI_ISP_AWB_ALG_BUTT
} hi_isp_awb_alg_type;

Members

Member

Description

HI_ISP_AWB_ALG_LOWCOST

Improved gray world algorithm, an AWB algorithm that automatically calculates interval weights based on statistics

HI_ISP_AWB_ALG_ADVANCE

AWB algorithm that classifies the statistics and re-filters the white blocks

HI_ISP_AWB_ALG_BUTT

Reserved

Restrictions

  • HI_ISP_AWB_ALG_LOWCOST consumes less CPU resources. The AWB is stable under different illuminance, and its adaptability to the illuminant is better.
  • HI_ISP_AWB_ALG_ADVANCE consumes more CPU resources. In addition, under extremely low illuminance or at a high or low color temperature, slight illuminant color is retained, which improves the AWB algorithm precision when the captured image has a large pure color block (such as a large green block outdoors or a large complexion block indoors).