| Home > Function descriptions > | History back Previous chapter Next chapter Print |
SetSubSampling |
|
uEye ActiveX Manual Version 4.00
Syntax
LONG SetSubSampling (LONG nMode)
Description
The function SetSubSampling() is used to activate horizontal and/or vertical subsampling. In this mode only every second pixel is read out from the sensor so the image size is reduce to the half and the frame rate is increased. This is equal to hardware scaling the image to 2:1. If a color camera is used, 4:2 scaling is deployed in which two pixels are read and two left out.
|
|
Parameters
nMode |
|
IS_SUBSAMPLING_DISABLE |
Full image resolution is used. |
IS_SUBSAMPLING_VERT |
Use vertical subsampling |
IS_SUBSAMPLING_HOR |
Use horizontal subsampling |
Return values
IS_SUCCESS |
Function executed successfully |
IS_NO_SUCCESS |
General error message |
Related functions