EasyManuals Logo

THORLABS DCU22 Series Description And Sdk Manual

THORLABS DCU22 Series
513 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #158 background imageLoading...
Page #158 background image
© 2016 Thorlabs Scientific Imaging156
DCx Camera Functional Description and SDK Manual
Contents of the BUFFER_CONVERSION_PARAMS structure
char*
pSourceBuffer
Pointer to the raw Bayer buffer which was created with the
is_AllocImageMem() function.
char*
pDestBuffer
Pointer to the target buffer with the converted data which
was created with the is_AllocImageMem() function.
INT
nDestPixelFormat
Color mode of the target image; see is_SetColorMode()
for the possible modes
INT
nDestPixelConverter
Conversion mode of the target image; see
is_SetColorConverter() for the possible modes
INT
nDestGamma
Sets the gamma correction, see is_SetGamma()
INT
nDestEdgeEnhancement
Sets the edge enhancement, see is_EdgeEnhancement()
INT
nDestColorCorrectionMode
Sets the color correction, see is_SetColorCorrection()
INT
nDestSaturationU
Sets the color saturation (saturation U), see
is_SetSaturation()
INT
nDestSaturationV
Sets the color saturation (saturation V),see
is_SetSaturation()
Return value
IS_INVALID_BUFFER_SIZE
The image memory has an inappropriate size to
store the image in the desired format.
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_NOT_SUPPORTED
The camera model used here does not support
this function or setting.
IS_SUCCESS
Function executed successfully
Related functions
is_SetColorMode()
is_SetBayerConversion()
Example
BUFFER_CONVERSION_PARAMS conversionParams;
conversionParams.nDestPixelFormat = IS_CM_BGRA8_PACKED;
conversionParams.nDestPixelConverter = IS_CONV_MODE_SOFTWARE_3X3;
conversionParams.nDestColorCorrectionMode = IS_CCOR_DISABLE;
conversionParams.nDestGamma = 100;
conversionParams.nDestSaturationU = 100;
conversionParams.nDestSaturationV = 100;
conversionParams.nDestEdgeEnhancement = 0;
conversionParams.pSourceBuffer = pSourceBuffer;
conversionParams.pDestBuffer = pDestBuffer;
INT nRet = is_Convert(m_hCam,
IS_CONVERT_CMD_APPLY_PARAMS_AND_CONVERT_BUFFER,
(void*)&conversionParams,
sizeof(conversionParams)
);

Table of Contents

Other manuals for THORLABS DCU22 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the THORLABS DCU22 Series and is the answer not in the manual?

THORLABS DCU22 Series Specifications

General IconGeneral
BrandTHORLABS
ModelDCU22 Series
CategorySecurity Camera
LanguageEnglish

Related product manuals