EasyManuals Logo

THORLABS DCU223 SERIES User Manual

THORLABS DCU223 SERIES
530 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 #170 background imageLoading...
Page #170 background image
© 2013 Thorlabs GmbH168
DCx Cameras
hCam
Camera handle
RGB_COLOR_MODEL_SRGB_D50: 0x0001
RGB_COLOR_MODEL_SRGB_D65: 0x0002
RGB_COLOR_MODEL_CIE_RGB_E: 0x0004
RGB_COLOR_MODEL_ECI_RGB_D50: 0x0008
RGB_COLOR_MODEL_ADOBE_RGB_D65: 0x0010
IS_AWB_CMD_SET_RGB_COLOR_MODEL
Sets the color space for the auto white balance (Example 5 )
RGB_COLOR_MODEL_SRGB_D50: 0x0001
RGB_COLOR_MODEL_SRGB_D65: 0x0002
RGB_COLOR_MODEL_CIE_RGB_E: 0x0004
RGB_COLOR_MODEL_ECI_RGB_D50: 0x0008
RGB_COLOR_MODEL_ADOBE_RGB_D65: 0x0010
pParam
Pointer to a function parameter, whose function depends on nCommand.
cbSizeOfParam
Size (in bytes) of the memory area to which pParam refers.
Return values
IS_INVALID_PARAMETER
One of the submitted parameters is outside the valid range or is not supported
for this sensor or is not available in this mode.
IS_NO_SUCCESS
General error message
IS_NOT_SUPPORTED
The camera model used here does not support this function or setting.
IS_SUCCESS
Function executed successfully
Related functions
is_SetAutoParameter()
Example 1
UINT nSupportedTypes = 0;
INT nRet = is_AutoParameter(m_hCam,
IS_AWB_CMD_GET_SUPPORTED_TYPES,
(void*)&nSupportedTypes,
sizeof(nSupportedTypes)
);
if (nRet == IS_SUCCESS)
{
if ((nSupportedTypes & IS_AWB_COLOR_TEMPERATURE) != 0)
{
// AWB type "Color Temperature" is supported
}
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));
169
303

Table of Contents

Other manuals for THORLABS DCU223 SERIES

Questions and Answers:

Question and Answer IconNeed help?

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

THORLABS DCU223 SERIES Specifications

General IconGeneral
BrandTHORLABS
ModelDCU223 SERIES
CategorySecurity Camera
LanguageEnglish

Related product manuals