s.. vim: syntax=rst
12. Noise Profile¶
12.1. Function Overview¶
Record the noise of sensor gain. Generally, it is obtained by the calibration program and does not need special adjustment.
12.2. API Reference¶
CVI_ISP_SetNoiseProfileAttr: Set Noise Profile attribute parameter.
CVI_ISP_GetNoiseProfileAttr: Get Noise Profile attribute parameter.
12.2.1. CVI_ISP_SetNoiseProfileAttr¶
【Description】
Set Noise Profile attribute parameter.
【Syntax】
CVI_S32 CVI_ISP_SetNoiseProfileAttr(VI_PIPE ViPipe, const ISP_CMOS_NOISE_CALIBRATION_S *pstNoiseProfileAttr);
【Parameter】
Parameter |
Description |
Input / Output |
---|---|---|
ViPipe |
VI_PIPE number |
Input |
pstNoiseProfileAttr |
Noise Profile attribute parameter |
Input |
【Return Value】
Return Value |
Description |
---|---|
0 |
Success |
Non 0 |
Failure. An error code is returned. For details, see chapter Error Codes. |
【Requirement】
Header files: cvi_isp.h, cvi_comm_isp.h
Library files: libisp.so
【Note】
None.
【Example】
None.
【Related Topic】
12.2.2. CVI_ISP_GetNoiseProfileAttr¶
【Description】
Get the Noise Profile property parameter.
【Syntax】
CVI_S32 CVI_ISP_GetNoiseProfileAttr(VI_PIPE ViPipe, const ISP_CMOS_NOISE_CALIBRATION_S *pstNoiseProfileAttr);
【Parameter】
Parameter |
Description |
Input / Output |
---|---|---|
ViPipe |
VI_PIPE number |
Input |
pstNoiseProfileAttr |
Noise Profile attribute parameter |
Output |
【Return Value】
Return Value |
Description |
---|---|
0 |
Success |
Non 0 |
Failure. An error code is returned. For details, see chapter Error Codes. |
【Requirement】
Header files: cvi_isp.h, cvi_comm_isp.h
Library files: libisp.so
【Note】
None.
【Example】
None.
【Related Topic】
12.3. Data Types¶
ISP_CMOS_NOISE_CALIBRATION_S: Noise Profile attribute parameter.
12.3.1. ISP_CMOS_NOISE_CALIBRATION_S¶
【Description】
Noise Profile property parameter
【Syntax】
typedef struct cviISP_CMOS_NOISE_CALIBRATION_S {
CVI_FLOAT CalibrationCoef[NOISE_PROFILE_ISO_NUM][NOISE_PROFILE_CHANNEL_NUM][NOISE_PROFILE_LEVEL_NUM];
} ISP_CMOS_NOISE_CALIBRATION_S;
【Member】
Member |
Description |
---|---|
CalibrationCoef [16][4][2] |
Raw data noise model, divided into R/Gr/Gb/B channels, floating point data formats Value range: [-2147483648,2147483647] Data type: CVI_FLOAT |
【Note】
none
【Related Data Type and Interface】