![]() |
![]() |
---|---|
USB 2.0 GigE |
USB 2.0 GigE |
Syntax
INT is_ConvertImage(HIDS hCam, char* pcSource, INT nIDSource, char** ppcDest, INT* nIDDest, INT* reserved)
Description
This function is obsolete and should not be used anymore. We recommend to use the is_Convert() function instead. |
is_ConvertImage() converts a raw Bayer image to the desired format. This conversion is done in the PC. You can use is_SetConvertParam() to define the conversion settings.
Input parameters
hCam |
Camera handle |
pcSource |
Pointer to the input image |
nIDSource |
Memory ID of the input image |
ppcDest |
Pointer to the output image In case a NULL value is passed, a new memory is allocated internally. |
nIDDest |
Memory ID of the output image |
reserved |
Reserved. NULL must be passed here. |
Return values
IS_CANT_ADD_TO_SEQUENCE |
The image memory is already included in the sequence and cannot be added again. |
IS_CANT_COMMUNICATE_WITH_DRIVER |
Communication with the driver failed because no driver has been loaded. |
IS_CANT_OPEN_DEVICE |
An attempt to initialize or select the camera failed (no camera connected or initialization error). |
IS_INVALID_BUFFER_SIZE |
The image memory has an inappropriate size to store the image in the desired format. |
IS_INVALID_COLOR_FORMAT |
Invalid color format |
IS_INVALID_CAMERA_HANDLE |
Invalid camera handle |
IS_INVALID_MEMORY_POINTER |
Invalid pointer or invalid memory ID |
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_IO_REQUEST_FAILED |
An IO request from the uEye driver failed. Possibly the versions of the ueye_api.dll (API) and the driver file (ueye_usb.sys or ueye_eth.sys) do not match. |
IS_NO_SUCCESS |
General error message |
IS_OUT_OF_MEMORY |
No memory could be allocated. |
IS_SEQUENCE_BUF_ALREADY_LOCKED |
The memory could not be locked. The pointer to the buffer is invalid. |
IS_SUCCESS |
Function executed successfully |
Related functions
•is_SetColorMode()
•is_SetBayerConversion()