EasyManua.ls Logo

THORLABS DCC1645C - Is_Setconvertparam

THORLABS DCC1645C
530 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
© 2013 Thorlabs GmbH
4 Programming (SDK)
423
4.5.32 is_SetConvertParam
USB 2.0
USB 2.0
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
hCam
Camera handle
ColorCorrection
Enables/disables color correction.
BayerConversionMode
Sets the Bayer conversion mode.
IS_SET_BAYER_CV_BETTER
Normal quality
IS_SET_BAYER_CV_BEST
Best quality (higher CPU load)
ColorMode
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
Gamma value multiplied by 100. Range: [1…1000]
WhiteBalanceMultipliers
Pointer to an array containing the red, green and blue
gain values
Return values
IS_INVALID_COLOR_FORMAT
Invalid color format
IS_INVALID_CAMERA_HANDLE
Invalid camera handle
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_SUCCESS
Function executed successfully
Related functions
is_ConvertImage()
is_SetColorMode()
is_SetColorConverter()
188
379
382
502
382
319
315

Table of Contents

Other manuals for THORLABS DCC1645C

Related product manuals