Home > C: Programming > Function Descriptions > | History back Previous chapter Next chapter Print |
is_SetColorCorrection |
uEye Camera Manual Version 3.80
is_SetColorCorrection
USB 2.0 GigE |
USB 2.0 GigE |
Syntax
INT is_SetColorCorrection (HIDS hCam, INT nEnable, double* factors)
Description
For color cameras, is_SetColorCorrection() enables color correction in the uEye driver. This enhances the rendering of colors for cameras with color sensors. Color correction is a digital correction based on a color matrix which is adjusted individually for each sensor.
If you perform Bayer conversion for GigE uEye HE color cameras in the camera itself, color conversion will automatically also take place in the camera.
|
|
Input Parameters
hCam |
Camera handle |
nEnable |
|
IS_CCOR_ENABLE_NORMAL |
Enables simple color correction. This parameter replaces IS_CCOR_ENABLE. |
IS_CCOR_ENABLE_BG40_ENHANCED |
Enables color correction for cameras with optical IR filter glasses of the BG40 type. |
IS_CCOR_ENABLE_HQ_ENHANCED |
Enables color correction for cameras with optical IR filter glasses of the HQ type. |
IS_CCOR_SET_IR_AUTOMATIC |
Enables color correction for cameras with optical IR filter glasses. The glass type is set automatically as specified in the camera EEPROM. |
IS_CCOR_DISABLE |
Disables color correction. |
IS_GET_CCOR_MODE |
Returns the current setting. |
IS_GET_SUPPORTED_CCOR_MODE |
Returns all supported color correction modes. See the Return Values section. |
IS_GET_DEFAULT_CCOR_MODE |
Returns the default color correction mode. |
factors |
Sets the strength of the color correction between 0.0 (no correction) and 1.0 (strong correction). |
Return Values
IS_SUCCESS |
Function executed successfully |
IS_NO_SUCCESS |
General error message |
Current setting when used together with |
|
When used together with |
When used for color cameras and together with IS_GET_SUPPORTED_CCOR_MODE, this parameter returns the supported values linked by a logical OR: IS_CCOR_ENABLE_NORMAL IS_CCOR_ENABLE_BG40_ENHANCED IS_CCOR_ENABLE_HQ_ENHANCED When used for monochrome cameras, the system returns 0. |
When used together with
|
When used for color cameras and together with IS_GET_DEFAULT_CCOR_MODE, this parameter returns the default color correction mode: IS_CCOR_ENABLE_NORMAL IS_CCOR_ENABLE_HQ_ENHANCED.
When used for monochrome cameras, the system returns 0. |
Related Functions