Is_Convertimage - THORLABS DCU223x Operation Manual And Sdk

Cdd and cmos cameras
Hide thumbs Also See for DCU223x:
Table of Contents

Advertisement

DCx Cameras

4.5.1 is_ConvertImage

USB 2.0
Syntax
INT is_ConvertImage(HIDS hCam,
char* pcSource, INT nIDSource,
char** ppcDest, INT* nIDDest,
INT* reserved)
Description
Attention
This function is obsolete and should not be used anymore. We recommend to use the
instead (see also
Obsolete functions
is_ConvertImage() converts a raw Bayer image to the desired format. This conversion is done in the PC. You
can use
is_SetConvertParam()
Input parameters
hCam
pcSource
nIDSource
ppcDest
nIDDest
reserved
Return values
IS_CANT_ADD_TO_SEQUENCE
IS_CANT_COMMUNICATE_WITH_DRIVER
IS_CANT_OPEN_DEVICE
IS_INVALID_BUFFER_SIZE
IS_INVALID_COLOR_FORMAT
IS_INVALID_CAMERA_HANDLE
IS_INVALID_MEMORY_POINTER
IS_INVALID_PARAMETER
IS_IO_REQUEST_FAILED
IS_NO_SUCCESS
IS_OUT_OF_MEMORY
IS_SEQUENCE_BUF_ALREADY_LOCKED
IS_SUCCESS
382
USB 2.0
).
379
to define the conversion settings.
423
Camera handle
Pointer to the input image
Memory ID of the input image
Pointer to the output image
In case a NULL value is passed, a new memory is
allocated internally.
Memory ID of the output image
Reserved. NULL must be passed here.
The image memory is already included in the sequence
and cannot be added again.
Communication with the driver failed because no driver
has been loaded.
An attempt to initialize or select the camera failed (no
camera connected or initialization error).
The image memory has an inappropriate size to store
the image in the desired format.
Invalid color format
Invalid camera handle
Invalid pointer or invalid memory ID
One of the submitted parameters is outside the valid
range or is not supported for this sensor or is not
available in this mode.
An IO request from the uc480 driver failed. Possibly the
versions of the uc480_api.dll (API) and the driver file
(uc480_usb.sys) do not match.
General error message
No memory could be allocated.
The memory could not be locked. The pointer to the
buffer is invalid.
Function executed successfully
function
is_Convert()
188
© 2013 Thorlabs GmbH

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dcu224xDcc1240xDcc1545mDcc1645c

Table of Contents