| Home > Function descriptions > | History back Previous chapter Next chapter Print |
SetBinning |
|
uEye ActiveX Manual Version 4.00
Syntax
LONG SetBinning (LONG lMode)
Description
With SetBinning() you can enable the binning mode both in horizontal and in vertical direction. This way, the image size in the binning direction can be reduced without scaling down the area of interest. Depending on the sensor used, the sensitivity or the frame rate can be increased while binning is enabled.
To enable horizontal and vertical binning at the same time, you can link the horizontal and vertical binning parameters by a logical OR.
The adjustable binning factors of each sensor are listed in the "Specifications: Sensors" chapter in the uEye Manual.
|
|
|
|
Parameters
lMode |
|
IS_BINNING_DISABLE |
Disables binning. |
IS_BINNING_2X_VERTICAL |
Enables vertical binning with factor 2. |
IS_BINNING_3X_VERTICAL |
Enables vertical binning with factor 3. |
IS_BINNING_4X_VERTICAL |
Enables vertical binning with factor 4. |
IS_BINNING_6X_VERTICAL |
Enables vertical binning with factor 6. |
IS_BINNING_2X_HORIZONTAL |
Enables horizontal binning with factor 2. |
IS_BINNING_3X_HORIZONTAL |
Enables horizontal binning with factor 3. |
IS_BINNING_4X_HORIZONTAL |
Enables horizontal binning with factor 4. |
IS_BINNING_6X_HORIZONTAL |
Enables horizontal binning with factor 6. |
Return values
IS_SUCCESS |
Function executed successfully |
IS_NO_SUCCESS |
General error message |
Related functions