hi_isp_af_squ_mode
Description
Defines the square mode, which determines whether the zoned statistics are squared.
Definition
typedef enum {
HI_ISP_AF_STA_SUM_NORM = 0,
HI_ISP_AF_STA_SUM_SQUARE,
HI_ISP_AF_STA_SUM_BUTT
} hi_isp_af_squ_mode;
Members
|
Member |
Description |
|---|---|
|
HI_ISP_AF_STA_SUM_NORM |
|
|
HI_ISP_AF_STA_SUM_SQUARE |
|
Restrictions
In square mode, the filter outputs are normalized, squared, and then collected for statistics. In the following figure, input indicates the output pixel value after filtering, and output indicates the output value after processing in square mode. Compared with the normal mode, the FV curve is steeper near the focus in square mode. In addition, noise signals with small amplitudes are suppressed, and flat regions on the FV curve are flatter. You need to set square mode as required.
Figure 1 Square mode
Parent topic: Data Types