Machine Vision Camera SDK (C) Developer Guide
nRet = MV_CC_OpenDevice(m_handle, nAccessMode, nSwitchoverKey);
if (MV_OK != nRet)
{
printf("error: OpenDevice fail [%x]\n", nRet);
return;
}
//...other processing
//Set int parameters
unsigned int nValue = 752;
nRet = MV_CC_SetIntValue(m_handle, "Width", nValue);
if (MV_OK != nRet)
{
printf("error: SetIntValue fail [%x]\n", nRet);
return;
}
//...other processing
//Shut device and release resource
nRet = MV_CC_CloseDevice(m_handle);
if (MV_OK != nRet)
{
printf("error: CloseDevice fail [%x]\n", nRet);
return;
}
//Destroy handle and release resource
nRet = MV_CC_DestroyHandle(m_handle);
if (MV_OK != nRet)
{
printf("error: DestroyHandle fail [%x]\n", nRet);
return;
}
}
4.8.18 MV_CC_SpatialDenoise
This API is used for spatial denoising.
API Definition
int MV_CC_SpatialDenoise(
void
MV_CC_SPATIAL_DENOISE_PARAM
)
*handle,
*pstSpatialDenoiseParam
171
    "