Home > C: Programming > Function Descriptions > History back  Previous chapter  Next chapter  Print  

is_SetColorConverter

uEye Camera Manual Version 3.80

is_SetColorConverter

Windows_Logo

Linux_Logo

USB 2.0

GigE

USB 2.0

GigE

Syntax

INT is_SetColorConverter (HIDS hCam, INT ColorMode, INT ConvertMode) 

Description

Using is_SetColorConverter, you can select the type of Bayer conversion for color cameras. Software conversion is done on the PC, while hardware conversion (GigE uEye HE only) is done in the camera. The use of a larger filter mask results in a higher image quality, but increases the computational load. For further information, please refer to the Camera Basics: Color Filters chapter.

Hinweis

Hardware conversion is only supported by GigE uEye HE cameras.

Hinweis

Software conversion with the large filter mask should only be used for sensors whose green pixels have the same sensitivity. This applies to the following sensors:

All uEye CCD sensors
CMOS sensors of the UI-122x/522x

For all other sensors, we recommend using the standard filter mask.

Achtung

While free run mode is active, you cannot change the color conversion type. To do so, you must first stop the capturing process using is_StopLiveVideo() or set the camera to trigger mode (see also is_SetExternalTrigger()).

Input Parameters

hCam

Camera handle

ColorMode

Color mode for which the converter is to be set.

For a list of all available color formats and the associated input parameters, see the Appendix: Color and Memory Formats section.

ConvertMode

Conversion mode selection

IS_CONV_MODE_SOFTWARE_3X3

Software conversion using the standard filter mask (default)

IS_CONV_MODE_SOFTWARE_5X5

Software conversion using a large filter mask

IS_CONV_MODE_HARDWARE_3X3

Hardware conversion using the standard filter mask (GigE uEye only)

Return Values

IS_SUCCESS

Function executed successfully

IS_NO_SUCCESS

General error message

IS_CAPTURE_RUNNING

This function cannot be executed since the camera is currently in live operation

IS_INVALID_PARAMETER

The ConvertMode parameter is invalid or not supported

IS_INVALID_COLOR_FORMAT

The ColorMode parameter is invalid or not supported

Related Functions

is_GetColorConverter()
is_SetColorMode()
is_ConvertImage()

Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!


© 2010 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com