© 2016 Thorlabs Scientific Imaging130
DCx Camera Functional Description and SDK Manual
4.3.4 is_AutoParameter
Syntax
INT is_AutoParameter(HIDS hCam, UINT nCommand, void* pParam, UINT cbSizeOfParam)
Description
This functions enables/diisables the auto white balance. With this function, you can require all
supported types for white balance. In addition to the older white balance with the Gray-World
algorithm, there is also a color temperature control according to Kelvin. In addition to the function
the supported color spaces are queried and set.
The nCommand input parameter is used to select the function mode. The pParam input parameter
depends on the selected function mode. If you select functions for setting or returning a value,
pParam contains a pointer to a variable of the UINT type. The size of the memory area to which
pParam refers is specified in the cbSizeOfParam input parameter.
Note
In a later version the is_AutoParameter() function will replace the is_SetAutoParameter()
function. In version 4.80, it is only partly replaced.
Input parameters
IS_AWB_CMD_GET_SUPPORTED_TYPES
Returns the supported types for auto white balance
(Example 1)
IS_AWB_GREYWORLD: 0x0001
IS_AWB_COLOR_TEMPERATURE: 0x0002
Returns the current set type of the auto white balance
(Example 2)
IS_AWB_GREYWORLD: 0x0001
IS_AWB_COLOR_TEMPERATURE: 0x0002
Sets the type of the auto white balance (Example 2)
IS_AWB_GREYWORLD: 0x0001
IS_AWB_COLOR_TEMPERATURE: 0x0002
Returns if the auto white balance is enabled
(Example 3)
IS_AUTOPARAMETER_DISABLE: 0
IS_AUTOPARAMETER_ENABLE: 1
IS_AUTOPARAMETER_ENABLE_RUNONCE: 2
Enables/Disables the auto white balance (Example 3)
IS_AUTOPARAMETER_DISABLE: 0
IS_AUTOPARAMETER_ENABLE: 1
IS_AUTOPARAMETER_ENABLE_RUNONCE: 2
IS_AWB_CMD_GET_SUPPORTED_RGB_COLOR_M
Returns the supported color spaces for the auto white