18. Demosaic¶
18.1. Function Overview¶
The image is interpolated from Bayer pattern to complete RGB, and the detail clarity is improved.
18.2. API Reference¶
CVI_ISP_SetDemosaicAttr : Set demosaic property parameter.
CVI_ISP_GetDemosaicAttr : Get demosaic property parameter.
CVI_ISP_SetDemosaicDemoireAttr : Set demosaic attribute parameter.
CVI_ISP_GetDemosaicDemoireAttr : Get demosaic attribute parameter.
18.2.1. CVI_ISP_SetDemosaicAttr¶
【Description】
Set demosaic property parameter.
【Syntax】
CVI_S32 CVI_ISP_SetDemosaicAttr(VI_PIPE ViPipe, const ISP_DEMOSAIC_ATTR_S *pstDemosaicAttr);
【Parameter】
Parameter |
Description |
Input/Output |
---|---|---|
ViPipe |
VI_PIPE number |
Input |
pstDemosaicAttr |
Demosaic 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】
18.2.2. CVI_ISP_GetDemosaicAttr¶
【Description】
Get Demosaic property parameter
【Syntax】
CVI_S32 CVI_ISP_GetDemosaicAttr(VI_PIPE ViPipe, ISP_DEMOSAIC_ATTR_S *pstDemosaicAttr);
【Parameter】
Parameter |
Description |
Input/Output |
---|---|---|
ViPipe |
VI_PIPE number |
Input |
pstDemosaicAttr |
Demosaic property 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】
18.2.3. CVI_ISP_SetDemosaicDemoireAttr¶
【Description】
Set demosaic property parameter
【Syntax】
CVI_S32 CVI_ISP_SetDemosaicDemoireAttr(VI_PIPE ViPipe, const ISP_DEMOSAIC_DEMOIRE_ATTR_S *pstDemosaicDemoireAttr);
【Parameter】
Parameter |
Description |
Input/Output |
---|---|---|
ViPipe |
VI_PIPE number |
Input |
pstDemosaicDemoireAttr |
Demosaic property 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】
18.2.4. CVI_ISP_GetDemosaicDemoireAttr¶
【Description】
Get Demosaic property parameter
【Syntax】
CVI_S32 CVI_ISP_GetDemosaicDemoireAttr(VI_PIPE ViPipe, ISP_DEMOSAIC_DEMOIRE_ATTR_S *pstDemosaicDemoireAttr);
【Parameter】
Parameter |
Description |
Input/Output |
---|---|---|
ViPipe |
VI_PIPE number |
Input |
pstDemosaicDemoireAttr |
Demosaic property 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】
18.3. Data Types¶
ISP_DEMOSAIC_MANUAL_ATTR_S : Demosaic attribute manual parameter
ISP_DEMOSAIC_AUTO_ATTR_S : Demosaic attribute automatic parameter
ISP_DEMOSAIC_ATTR_S : Demosaic attribute parameter
ISP_DEMOSAIC_DEMOIRE_MANUAL_ATTR_S : Demosaic Attribute Manual parameter
ISP_DEMOSAIC_DEMOIRE_AUTO_ATTR_S : Demosaic De-Moire Attribute Auto parameter
ISP_DEMOSAIC_DEMOIRE_ATTR_S : Demosaic Demoir Attribute parameter
ISP_DEMOSAIC_FILTER_MANUAL_ATTR_S : Demosaic Filter Properties Manual parameter
ISP_DEMOSAIC_FILTER_AUTO_ATTR_S : Demosaic Filter Attribute Auto parameter
ISP_DEMOSAIC_FILTER_ATTR_S : Demosaic Filter Attribute parameter
18.3.1. ISP_DEMOSAIC_MANUAL_ATTR_S¶
【Description】
Demosaic attribute manual parameter
【Syntax】
typedef struct _ISP_DEMOSAIC_MANUAL_ATTR_S {
CVI_U16 CoarseEdgeThr;
CVI_U16 CoarseStr;
CVI_U16 FineEdgeThr;
CVI_U16 FineStr;
CVI_U16 RbSigLumaThd;
CVI_U8 FilterMode;
} ISP_DEMOSAIC_MANUAL_ATTR_S;
【Member】
Member |
Description |
---|---|
CoarseEdgeThr |
Edge coarse tuning detection threshold. The smaller the value is, the more edges are detected. It is recommended to use the parameter CoarseStr for debugging. Value range: [0x0, 0xfff] Data type: CVI_U16 |
CoarseStr |
Rough adjust the intensity value of the edge. The smaller the value is, the more directional the processing is. On the contrary, the more non directional processing Value range: [0x0, 0xfff] Data type: CVI_U16 |
FineEdgeThr |
Edge fine tuning detection threshold. The smaller the value is, the more edges are detected. It is recommended to use the parameter FineStr for debugging Value range: [0x0, 0xfff] Data type: CVI_U16 |
FineStr |
Fine tune the intensity value at the edge. The smaller the value is, the more directional the processing is. On the contrary, the more non directional processing. Value range: [0x0, 0xfff] Data type: CVI_U16 |
FilterMode |
The sharpening width of the DC image, the larger value, the wider width of the sharpened edge, and the more eye-catching it is visually. Value range: [0x0, 0x1] Data Type: CVI_U8 |
【Note】
None.
【Related Data Type and Interface】
18.3.2. ISP_DEMOSAIC_AUTO_ATTR_S¶
【Description】
Demosaic attribute automatic parameter
【Syntax】
typedef struct _ISP_DEMOSAIC_AUTO_ATTR_S {
CVI_U16 CoarseEdgeThr[ISP_AUTO_ISO_STRENGTH_NUM];
CVI_U16 CoarseStr[ISP_AUTO_ISO_STRENGTH_NUM];
CVI_U16 FineEdgeThr[ISP_AUTO_ISO_STRENGTH_NUM];
CVI_U16 FineStr[ISP_AUTO_ISO_STRENGTH_NUM];
CVI_U16 RbSigLumaThd[ISP_AUTO_ISO_STRENGTH_NUM];
CVI_U8 FilterMode[ISP_AUTO_ISO_STRENGTH_NUM];
} ISP_DEMOSAIC_AUTO_ATTR_S;
【Member】
Member |
Description |
---|---|
CoarseEdgeThr |
Edge roughness detection threshold.The smaller the value, the more edges are detected.Recommended with parameter CoarseStr debugging 。 Value range: [0x0, 0xfff] Data type: CVI_U16 |
CoarseStr |
Edge roughness intensity value.The smaller the value, the more directional the processing.Conversely, the more disoriented the processing Value range: [0x0, 0xfff] Data type: CVI_U16 |
FineEdgeThr |
Edge fine tuning detection threshold.The smaller the value, the more edges are detected.It is recommended to debug with the parameter FineStr. Value range: [0x0, 0xfff] Data type: CVI_U16 |
FineStr |
Edge fine tune intensity value.The smaller the value, the more directional the processing.Conversely, the more disoriented the processing. Value range: [0x0, 0xfff] Data type: CVI_U16 |
FilterMode |
The sharpening width of the DC image, the larger the value, the wider the width of the sharpened edge, and the more eye-catching it is visually. Value range: [0x0, 0x1] Data Type: CVI_U8 |
【Note】
None.
【Related Data Type and Interface】
18.3.3. ISP_DEMOSAIC_ATTR_S¶
【Description】
Demosaic attribute parameter
【Syntax】
typedef struct _ISP_DEMOSAIC_ATTR_S {
CVI_BOOL Enable;
CVI_BOOL TuningMode;
CVI_BOOL RbVtEnable;
ISP_OP_TYPE_E enOpType;
CVI_U8 UpdateInterval;
ISP_DEMOSAIC_MANUAL_ATTR_S stManual;
ISP_DEMOSAIC_AUTO_ATTR_S stAuto;
} ISP_DEMOSAIC_ATTR_S;
【Member】
Member |
Description |
---|---|
Enable |
Demosaic module enabled. 0:Off. 1:Enㄍabled. Value range: [0, 1] Data type: CVI_BOOL |
TuningMode |
Output debug strategy, auxiliary adjustment parameter. 0: Demosaic image result. 1:Flat/Vertical/Horizontal Edge Detection Image Result. Value range: [0, 1] Data type: CVI_BOOL |
enOpType |
operation type OP_TYPE_AUTO: Automatic mode OP_TYPE_MANUAL: Manual mode |
UpdateInterval |
Affects the parameter update interval, the larger the value, the slower the screen changes and the better the performance. Value range: [0x0, 0xff] Data Type: CVI_U8 |
stManual |
Manual Mode parameter Properties |
stAuto |
Automatic Mode parameter Properties |
【Note】
None.
【Related Data Type and Interface】
18.3.4. ISP_DEMOSAIC_DEMOIRE_MANUAL_ATTR_S¶
【Description】
Demosaic Demoire Attribute Manual parameter
【Syntax】
typedef struct _ISP_DEMOSAIC_DEMOIRE_MANUAL_ATTR_S {
CVI_U8 AntiFalseColorStr; /*RW; Range:[0x0, 0xff]*/
CVI_U16 SatGainIn[2]; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 SatGainOut[2]; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 ProtectColorGainIn[2]; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 ProtectColorGainOut[2]; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 UserDefineProtectColor1; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 UserDefineProtectColor2; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 UserDefineProtectColor3; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 EdgeGainIn[2]; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 EdgeGainOut[2]; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 DetailGainIn[2]; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 DetailGaintOut[2]; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 DetailDetectLumaStr; /*RW; Range:[0x0, 0xfff]*/
CVI_U8 DetailSmoothStr; /*RW; Range:[0x0, 0xff]*/
CVI_U8 DetailWgtThr; /*RW; Range:[0x0, 0xff]*/
CVI_U16 DetailWgtMin; /*RW; Range:[0x0, 0x100]*/
CVI_U16 DetailWgtMax; /*RW; Range:[0x0, 0x100]*/
CVI_U16 DetailWgtSlope; /*RW; Range:[0x0, 0x400]*/
CVI_U8 EdgeWgtNp; /*RW; Range:[0x0, 0xff]*/
CVI_U8 EdgeWgtThr; /*RW; Range:[0x0, 0xff]*/
CVI_U16 EdgeWgtMin; /*RW; Range:[0x0, 0x100]*/
CVI_U16 EdgeWgtMax; /*RW; Range:[0x0, 0x100]*/
CVI_U16 EdgeWgtSlope; /*RW; Range:[0x0, 0x400]*/
CVI_U8 DetailSmoothMapTh; /*RW; Range:[0x0, 0xff]*/
CVI_U16 DetailSmoothMapMin; /*RW; Range:[0x0, 0x100]*/
CVI_U16 DetailSmoothMapMax; /*RW; Range:[0x0, 0x100]*/
CVI_U16 DetailSmoothMapSlope; /*RW; Range:[0x0, 0x400]*/
CVI_U8 LumaWgt; /*RW; Range:[0x0, 0xff]*/
} ISP_DEMOSAIC_DEMOIRE_MANUAL_ATTR_S;
【Member】
Member |
Description |
---|---|
DetailSmoothStr |
Strength of detail smoothing.The larger the value, the stronger the smoothing intensity and the stronger the suppression of pseudo-details. Value range: [0x0, 0xff] Data type: CVI_U8 |
【Note】
None.
【Related Data Type and Interface】
18.3.5. ISP_DEMOSAIC_DEMOIRE_AUTO_ATTR_S¶
【Description】
Demosaic De-Moire Attribute Auto parameter
【Syntax】
typedef struct _ISP_DEMOSAIC_DEMOIRE_AUTO_ATTR_S {
CVI_U8 AntiFalseColorStr[ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0xff]*/
CVI_U16 SatGainIn[2][ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 SatGainOut[2][ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 ProtectColorGainIn[2][ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 ProtectColorGainOut[2][ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 UserDefineProtectColor1[ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 UserDefineProtectColor2[ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 UserDefineProtectColor3[ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 EdgeGainIn[2][ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 EdgeGainOut[2][ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 DetailGainIn[2][ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 DetailGaintOut[2][ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0xfff]*/
CVI_U16 DetailDetectLumaStr[ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0xfff]*/
CVI_U8 DetailSmoothStr[ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0xff]*/
CVI_U8 DetailWgtThr[ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0xff]*/
CVI_U16 DetailWgtMin[ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0x100]*/
CVI_U16 DetailWgtMax[ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0x100]*/
CVI_U16 DetailWgtSlope[ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0x400]*/
CVI_U8 EdgeWgtNp[ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0xff]*/
CVI_U8 EdgeWgtThr[ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0xff]*/
CVI_U16 EdgeWgtMin[ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0x100]*/
CVI_U16 EdgeWgtMax[ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0x100]*/
CVI_U16 EdgeWgtSlope[ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0x400]*/
CVI_U8 DetailSmoothMapTh[ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0xff]*/
CVI_U16 DetailSmoothMapMin[ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0x100]*/
CVI_U16 DetailSmoothMapMax[ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0x100]*/
CVI_U16 DetailSmoothMapSlope[ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0x400]*/
CVI_U8 LumaWgt[ISP_AUTO_ISO_STRENGTH_NUM]; /*RW; Range:[0x0, 0xff]*/
} ISP_DEMOSAIC_DEMOIRE_AUTO_ATTR_S;
【Member】
Member |
Description |
---|---|
DetailSmoothStr |
Strength of detail smoothing.The larger the value, the stronger the smoothing intensity and the stronger the suppression of pseudo-details. Value range: [0x0, 0xff] Data type: CVI_U8 |
【Note】
None.
【Related Data Type and Interface】
18.3.6. ISP_DEMOSAIC_DEMOIRE_ATTR_S¶
【Description】
Demosaic Demoir Attribute parameter
【Syntax】
typedef struct _ISP_DEMOSAIC_DEMOIRE_ATTR_S {
CVI_BOOL AntiFalseColorEnable; /*RW; Range:[0, 1]*/
CVI_BOOL ProtectColorEnable; /*RW; Range:[0, 1]*/
CVI_BOOL DetailDetectLumaEnable; /*RW; Range:[0, 1]*/
CVI_BOOL DetailSmoothEnable; /*RW; Range:[0, 1]*/
CVI_BOOL DetailMode; /*RW; Range:[0, 1]*/
ISP_DEMOSAIC_DEMOIRE_MANUAL_ATTR_S stManual;
ISP_DEMOSAIC_DEMOIRE_AUTO_ATTR_S stAuto;
} ISP_DEMOSAIC_DEMOIRE_ATTR_S;
【Member】
Member |
Description |
---|---|
stManual |
Manual Mode parameter Properties |
stAuto |
Automatic Mode parameter Properties |
【Note】
None.
【Related Data Type and Interface】
18.3.7. ISP_DEMOSAIC_FILTER_MANUAL_ATTR_S¶
【Description】
Demosaic Filter Properties Manual parameter
【Syntax】
typedef struct _ISP_DEMOSAIC_FILTER_MANUAL_ATTR_S {
CVI_U16 DetailWgtThr;
CVI_U8 DetailWgtSlope;
CVI_U8 DetailWgtMin;
CVI_U8 DetailWgtMax;
CVI_U16 EdgeWgtThr;
CVI_U8 EdgeWgtSlope;
CVI_U8 EdgeWgtMin;
CVI_U8 EdgeWgtMax;
CVI_U16 LumaWgtThr;
CVI_U8 LumaWgtSlope;
CVI_U8 LumaWgtMin;
CVI_U8 LumaWgtMax;
} ISP_DEMOSAIC_FILTER_MANUAL_ATTR_S;
【Member】
Member |
Description |
---|---|
DetailWgtThr |
Detail retention range threshold.The smaller the value, the larger the range of detail preservation. Value range: [0x0, 0xfff] Data type: CVI_U16 |
DetailWgtSlope |
Detail retention strength.The larger the value, the more detail is preserved. Value range: [0x0, 0xff] Data type: CVI_U8 |
DetailWgtMin |
Edge detail smoothing retains the minimum allowable gain. Value range: [0x0, 0xff] Data type: CVI_U8 |
DetailWgtMax |
Edge detail smoothing retains the maximum allowable gain. Value range: [0x0, 0xff] Data type: CVI_U8 |
LumaWgtThr |
Brightness detail smoothing range threshold.The smaller the value, the larger the range of detail smoothing. Value range: [0x0, 0xfff] Data type: CVI_U16 |
LumaWgtSlope |
Brightness details smooth edges retain strength.The larger the value, the stronger the detail smoothing intensity. Value range: [0x0, 0xff] Data type: CVI_U8 |
LumaWgtMin |
Minimum gain allowed by brightness detail smoothing intensity. Value range: [0x0, 0xff] Data type: CVI_U8 |
LumaWgtMax |
Maximum gain allowed by brightness detail smoothing intensity. Value range: [0x0, 0xff] Data type: CVI_U8 |
EdgeWgtThr |
Detail preservation range threshold. The smaller the value, the greater the range of detail preservation. Value range: [0x0, 0xfff] Data Type: CVI_U16 |
EdgeWgtSlope |
Details retain intensity. The larger the value, the more detail is preserved. Value range: [0x0, 0xff] Data Type: CVI_U8 |
EdgeWgtMin |
Edge detail smoothing preserves the minimum gain allowed. Value range: [0x0, 0xff] Data Type: CVI_U8 |
EdgeWgtMax |
Maximum gain allowed for edge detail smoothing preservation. Value range: [0x0, 0xff] Data Type: CVI_U8 |
【Note】
This function of cv180x & cv181x is not supported.
【Related Data Type and Interface】
None.
18.3.8. ISP_DEMOSAIC_FILTER_AUTO_ATTR_S¶
【Description】
Demosaic Filter Attribute Auto parameter
【Syntax】
typedef struct _ISP_DEMOSAIC_FILTER_AUTO_ATTR_S {
CVI_U16 DetailWgtThr[ISP_AUTO_ISO_STRENGTH_NUM];
CVI_U8 DetailWgtSlope[ISP_AUTO_ISO_STRENGTH_NUM];
CVI_U8 DetailWgtMin[ISP_AUTO_ISO_STRENGTH_NUM];
CVI_U8 DetailWgtMax[ISP_AUTO_ISO_STRENGTH_NUM];
CVI_U16 EdgeWgtThr[ISP_AUTO_ISO_STRENGTH_NUM];
CVI_U8 EdgeWgtSlope[ISP_AUTO_ISO_STRENGTH_NUM];
CVI_U8 EdgeWgtMin[ISP_AUTO_ISO_STRENGTH_NUM];
CVI_U8 EdgeWgtMax[ISP_AUTO_ISO_STRENGTH_NUM];
CVI_U16 LumaWgtThr[ISP_AUTO_ISO_STRENGTH_NUM];
CVI_U8 LumaWgtSlope[ISP_AUTO_ISO_STRENGTH_NUM];
CVI_U8 LumaWgtMin[ISP_AUTO_ISO_STRENGTH_NUM];
CVI_U8 LumaWgtMax[ISP_AUTO_ISO_STRENGTH_NUM];
} ISP_DEMOSAIC_FILTER_AUTO_ATTR_S;
【Member】
Member |
Description |
---|---|
DetailWgtThr |
Detail retention range threshold.The smaller the value, the larger the range of detail preservation 。 Value range: [0x0, 0xfff] Data type: CVI_U16 |
DetailWgtSlope |
Detail retention strength.The larger the value, the more detail is preserved. Value range: [0x0, 0xff] Data type: CVI_U8 |
DetailWgtMin |
Edge detail smoothing retains the minimum allowable gain. Value range: [0x0, 0xff] Data type: CVI_U8 |
DetailWgtMax |
Edge detail smoothing retains the maximum allowable gain. Value range: [0x0, 0xff] Data type: CVI_U8 |
LumaWgtThr |
Brightness detail smoothing range threshold.The smaller the value, the larger the range of detail smoothing. Value range: [0x0, 0xfff] Data type: CVI_U16 |
LumaWgtSlope |
Brightness details smooth edges retain strength.The larger the value, the stronger the detail smoothing intensity Value range: [0x0, 0xff] Data type: CVI_U8 |
LumaWgtMin |
Minimum gain allowed by brightness detail smoothing intensity Value range: [0x0, 0xff] Data type: CVI_U8 |
LumaWgtMax |
Maximum gain allowed by brightness detail smoothing intensity Value range: [0x0, 0xff] Data type: CVI_U8 |
EdgeWgtThr |
Detail preservation range threshold. The smaller the value, the greater the range of detail preservation. Value range: [0x0, 0xfff] Data Type: CVI_U16 |
EdgeWgtSlope |
Details retain intensity. The larger the value, the more detail is preserved. Value range: [0x0, 0xff] Data Type: CVI_U8 |
EdgeWgtMin |
Edge detail smoothing preserves the minimum gain allowed. Value range: [0x0, 0xff] Data Type: CVI_U8 |
EdgeWgtMax |
Maximum gain allowed for edge detail smoothing preservation. Value range: [0x0, 0xff] Data Type: CVI_U8 |
【Note】
This function of cv180x & cv181x is not supported.
【Related Data Type and Interface】
None.
18.3.9. ISP_DEMOSAIC_FILTER_ATTR_S¶
【Description】
Demosaic Filter Attribute parameter
【Syntax】
typedef struct _ISP_DEMOSAIC_FILTER_ATTR_S {
ISP_OP_TYPE_E enOpType;
ISP_DEMOSAIC_FILTER_MANUAL_ATTR_S stManual;
ISP_DEMOSAIC_FILTER_AUTO_ATTR_S stAuto;
} ISP_DEMOSAIC_FILTER_ATTR_S;
【Member】
Member |
Description |
---|---|
enOpType |
operation type OP_TYPE_AUTO: Automatic mode OP_TYPE_MANUAL: manual mode |
stManual |
Manual Mode parameter Properties |
stAuto |
Automatic Mode parameter Properties |
【Note】
This function of cv180x & cv181x is not supported.
【Related Data Type and Interface】
None.