239SDK (Software development Kit)
© 2010 Thorlabs
7.3.77
is_SetColorCorrection
Syntax
INT is_SetColorCorrection (HIDS hCam, INT nEnable, double* factors)
Description
For colour cameras, is_SetColorCorrection() enables colour correction in the DCx camera driver.
This enhances the rendering of colours for cameras with colour sensors. Colour correction is a digital
correction based on a colour matrix which is adjusted individually for each sensor.
After changing this parameter, perform manual or automatic white balancing in order to obtain
correct colour rendering (see also is_SetAutoParameter() ).
Input Parameters
Enables simple colour correction. This parameter replaces
IS_CCOR_ENABLE.
IS_CCOR_ENABLE_BG40_ENHANCED
Enables colour correction for cameras with optical IR filter
glasses of the BG40 type.
IS_CCOR_ENABLE_HQ_ENHANCED
Enables colour correction for cameras with optical IR filter
glasses of the HQ type.
Disables colour correction.
Returns the current setting.
IS_GET_SUPPORTED_CCOR_MODE
Returns all supported colour correction modes. See the
Return Values section.
Returns the default colour correction mode.
Return Values
Function executed successfully
Current setting when used together with
IS_GET_CCOR_MODE
When used together with
IS_GET_SUPPORTED_CCOR_MODE
When used for colour cameras and together with
IS_GET_SUPPORTED_CCOR_MODE, this parameter returns
the supported values linked by a logical OR:
IS_CCOR_ENABLE_NORMAL
221