---
title: hi_isp_cmos_afc
description: "定义afc的CMOS参数。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/others/ispdevug/ispdevapi_0123.html
sourcePath: /source/zh/canncommercial/900/others/ispdevug/ispdevapi_0123.html
indexId: 9523d5a9462b9c0619c93b1d38afb6cb0c896a6622529cdacb6e62d0e16e21df65
---
# hi_isp_cmos_afc

#### 说明

定义afc的CMOS参数。


#### 定义

```
typedef struct {
hi_bool
enable;
hi_u8
threshold[HI_ISP_AUTO_ISO_NUM];
hi_u8
strength[HI_ISP_AUTO_ISO_NUM];
} hi_isp_cmos_afc;
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| enable | ANTIFALSECOLOR模块使能。 HI\_FALSE：关闭； HI\_TRUE：使能。 |
| threshold | 去伪彩阈值，值越大，伪彩去除的区域越多。 取值范围：[0, 0x20]。 \#define HI\_ISP\_AUTO\_ISO\_NUM 16 |
| strength | 去伪彩强度，值越大，去伪彩强度越大，伪彩现象消除越好，但可能导致正常颜色的改变。 取值范围：[0, 0x1F]。 |
