© 2013 Thorlabs GmbH
4 Programming (SDK)
423
4.5.32 is_SetConvertParam
Syntax
INT is_SetConvertParam (HIDS hCam,
BOOL ColorCorrection,
INT BayerConversionMode, INT ColorMode, INT Gamma,
double* WhiteBalanceMultipliers)
Description
Attention
This function is obsolete and should not be used anymore. We recommend to use the is_Convert() function
instead (see also Obsolete functions ).
Using is_SetConvertParam(), you can set the parameters for converting a raw Bayer image to a color image.
To convert the image, use the is_ConvertImage() function.
Input parameters
Enables/disables color correction.
Sets the Bayer conversion mode.
Best quality (higher CPU load)
Sets the color mode for the output image.
For a list of all available color formats and the
associated input parameters, see the Appendix: Color
and memory formats section.
Gamma value multiplied by 100. Range: [1…1000]
Pointer to an array containing the red, green and blue
gain values
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.
Function executed successfully
Related functions
is_ConvertImage()
is_SetColorMode()
is_SetColorConverter()
188
379
382
502
382
319
315