EasyManua.ls Logo

THORLABS DCC1645C - Page 171

THORLABS DCC1645C
530 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
© 2013 Thorlabs GmbH
4 Programming (SDK)
169
Example 4
UINT nSupportedRGBColorModels = 0;
nRet = is_AutoParameter(m_hCam,
IS_AWB_CMD_GET_SUPPORTED_RGB_COLOR_MODELS,
(void*)&nSupportedRGBColorModels,
sizeof(nSupportedRGBColorModels)
);
if (nRet == IS_SUCCESS)
{
if ((nSupportedRGBColorModels & RGB_COLOR_MODEL_SRGB_D50) != 0)
{
// Color model SRGB D50 is supported. See uc480.h for color model defines
}
}
Example 5
UINT nRGBColorModel = 0;
INT nRet = is_AutoParameter(m_hCam,
IS_AWB_CMD_GET_RGB_COLOR_MODEL,
(void*)&nRGBColorModel,
sizeof(nRGBColorModel)
);
nRGBColorModel = RGB_COLOR_MODEL_CIE_RGB_E;
nRet = is_AutoParameter(m_hCam,
IS_AWB_CMD_SET_RGB_COLOR_MODEL,
(void*)&nRGBColorModel,
sizeof(nRGBColorModel)
);

Table of Contents

Other manuals for THORLABS DCC1645C

Related product manuals