EasyManuals Logo

THORLABS DCU223x User Manual

THORLABS DCU223x
530 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 #191 background imageLoading...
Page #191 background image
© 2013 Thorlabs GmbH
4 Programming (SDK)
189
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)
);
157
157
319
315
332
206
317
342
342
319
420

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

THORLABS DCU223x Specifications

General IconGeneral
BrandTHORLABS
ModelDCU223x
CategorySecurity Camera
LanguageEnglish

Related product manuals