---
title: hi_isp_nr_auto_attr
description: "定义ISP NR自动属性。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/others/ispdevug/ispdevapi_0359.html
sourcePath: /source/zh/canncommercial/900/others/ispdevug/ispdevapi_0359.html
indexId: 317b428c13ccccc373ad6e3e861065fbee4035fd845bb3fcd4f31d45c0f1573f65
---
# hi_isp_nr_auto_attr

#### 说明

定义ISP NR自动属性。


#### 定义

```
typedef struct {
hi_u8
chroma_strength[HI_ISP_BAYER_CHN_NUM][HI_ISP_AUTO_ISO_NUM];
hi_u8
fine_strength[HI_ISP_AUTO_ISO_NUM];
hi_u16
coring_wgt[HI_ISP_AUTO_ISO_NUM];
hi_u16
coarse_strength[HI_ISP_BAYER_CHN_NUM][HI_ISP_AUTO_ISO_NUM];
} hi_isp_nr_auto_attr;
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| chroma\_strength | 色噪去除强度选择，值越大，去色噪强度越大。四通道分别可调。 取值范围：[0x0, 0x3]。 \#define HI\_ISP\_BAYER\_CHN\_NUM 4 \#define HI\_ISP\_AUTO\_ISO\_NUM 16 |
| fine\_strength | 亮噪去除强度，值越大，亮噪去除强度越大。 取值范围：[0x0, 0x80]。 |
| coring\_wgt | 随机噪声保留强度，值越大，保留的随机噪声越多。 取值范围：[0x0, 0xC80]。 |
| coarse\_strength | 控制亮噪整体去噪强度，四通道强度独立可调，值越大，亮噪去噪强度越大。 取值范围：[0x0, 0x360]。 |


#### 注意事项

低照度下，参数coarse_strength与fine_strength同时调到最大值时，容易出现由于去噪强度过大导致的边缘虚化，建议根据效果调到合适取值。
