| Home > Function descriptions > | History back Previous chapter Next chapter Print |
SetBlCompensation |
|
uEye ActiveX Manual Version 4.00
Syntax
LONG SetBlCompensation (LONG nEnable, LONG nOffset)
Description
SetBlCompensation() enables or disables the black level compensation. The black level compensation block calculates the compensation level that is required to ensure that for pixels that are optically black, the black level at the output of the sensor is equal to a predefined black level.
Parameters
nEnable |
|
IS_BL_COMPENSATION_DISABLE |
Disable the black level compensation. |
IS_BL_COMPENSATION_ENABLE |
Enable the black level compensation using the given nOffset value. |
nOffset |
Sets the offset value used for the black level compensation. Value range: [0 ... 255] |
Return values
IS_SUCCESS |
Function executed successfully |
IS_NO_SUCCESS |
General error message |
Related functions