Machine Vision Camera SDK (C) Developer Guide
fclose(fp);
free(pImage);
//...other image data processing
nTestFrameSize++;
}
}
free(g_pFrameBuf);
//...other processing
//Stop acquiring image
nRet = MV_CC_StopGrabbing(m_handle);
if (MV_OK != nRet)
{
printf("error: StopGrabbing fail [%x]\n", nRet);
return;
}
//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.16 MV_CC_SetBayerCLUTParam
Enable/disable CLUT and set CLUT parameters of Bayer pattern.
API Definition
int __stdcall MV_CC_SetBayerCLUTParam(
void
*handle,
MV_CC_CLUT_PARAM
*pstCLUTParam
);
Parameters
handle
168
    "