hi_isp_ae_hist_config
Description
Defines the sampling point mode for global histogram statistics.
Definition
typedef struct {
hi_isp_ae_hist_skip hist_skip_x;
hi_isp_ae_hist_skip hist_skip_y;
hi_isp_ae_hist_offset_x hist_offset_x;
hi_isp_ae_hist_offset_y hist_offset_y;
} hi_isp_ae_hist_config;
Members
Member |
Description |
|---|---|
hist_skip_x |
Horizontal sampling points for histogram statistics. The value 0 indicates that every pixel is sampled for statistics, the value 1 indicates that every two pixels are sampled for statistics, and the rule applies. This parameter can be set to 0 only when FourPlaneMode is enabled. |
hist_skip_y |
Vertical sampling points for histogram statistics. |
hist_offset_x |
Horizontal start point for histogram statistics. |
hist_offset_y |
Vertical start point for histogram statistics. |
Restrictions
- The structure can be properly configured based on the Bayer data format input by the sensor so that only the data of a component is collected for the global histogram statistics.
- In RGBIR mode, you are advised to include only the G component in the global histogram statistics by setting the data structure based on the Bayer data format of the RGBIR sensor.
- When configuring hist_config, you need to disable the large-area single-color judgment function of the Ascend AE.
Parent topic: Data Types