© 2016 Thorlabs Scientific Imaging
4 Programming (SDK)
131
balance (Example 4)
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_GET_RGB_COLOR_MODEL
Returns the current 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
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
Pointer to a function parameter, whose function depends on
nCommand.
Size (in bytes) of the memory area to which pParam refers.
Return values
One of the submitted parameters is outside the valid range or is not
supported for this sensor or is not available in this mode.
The camera model used here does not support this function or
setting.
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
}