EasyManuals Logo

THORLABS DCC1645C Description And Sdk Manual

THORLABS DCC1645C
513 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #134 background imageLoading...
Page #134 background image
© 2016 Thorlabs Scientific Imaging132
DCx Camera Functional Description and SDK Manual
if ((nSupportedTypes & IS_AWB_GREYWORLD) != 0)
{
// AWB type "Greyworld" is supported
}
}
Example 2
UINT nType = 0;
// Read current type
INT nRet = is_AutoParameter(m_hCam, IS_AWB_CMD_GET_TYPE, (void*)&nType, sizeof(nType));
// Write new type
nType = IS_AWB_GREYWORLD;
nRet = is_AutoParameter(m_hCam, IS_AWB_CMD_SET_TYPE, (void*)&nType, sizeof(nType));
Example 3
// Is AWB enabled?
UINT nEnable;
INT nRet = is_AutoParameter(m_hCam, IS_AWB_CMD_GET_ENABLE, (void*)&nEnable, sizeof(nEnable));
// Enable AWB (once)
nEnable = IS_AUTOPARAMETER_ENABLE_RUNONCE;
nRet = is_AutoParameter(m_hCam, IS_AWB_CMD_SET_ENABLE, (void*)&nEnable, sizeof(nEnable));
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the THORLABS DCC1645C and is the answer not in the manual?

THORLABS DCC1645C Specifications

General IconGeneral
BrandTHORLABS
ModelDCC1645C
CategorySecurity Camera
LanguageEnglish

Related product manuals