---
title: hi_isp_cmos_lsc
description: "定义镜头阴影校正LSC的CMOS参数。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/others/ispdevug/ispdevapi_0102.html
sourcePath: /source/zh/canncommercial/900/others/ispdevug/ispdevapi_0102.html
indexId: 857fe3b2a9f1e87654316dc5d91a6dcc25dbbf556e0f1d96b494f92839366ced65
---
# hi_isp_cmos_lsc

#### 说明

定义镜头阴影校正LSC的CMOS参数。


#### 定义

```
typedef struct {
hi_u16
mesh_strength;
hi_u8
mesh_scale;
hi_isp_lsc_cabli_table
lsc_calib_table[HI_ISP_MLSC_GAIN_LUT_NUM];
hi_isp_bnr_lsc_calib_table
bnr_lsc_calib_table;
} hi_isp_cmos_lsc;
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| mesh\_strength | 用来全局纠正Mesh Shading标定后的强度。 取值范围[0, 65535]。 |
| mesh\_scale | 增益表精度控制参数。 取值范围：[0, 7] |
| lsc\_calib\_table | 校正表格。 \#define HI\_ISP\_MLSC\_Y\_HALF\_GRID\_NUM ((HI\_ISP\_LSC\_GRID\_ROW \- 1) / 2) |
| bnr\_lsc\_calib\_table | Bayer NR模块中所用的LSC表格。 |
