Home > Function descriptions > History back  Previous chapter  Next chapter  Print  

SetSubSampling

uEye ActiveX Manual Version 4.00

SetSubSampling

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.

Achtung

Changes to the image geometry or pixel clock affect the value ranges of the frame rate and exposure time. After executing SetBinning(), calling the following functions is recommended in order to keep the defined camera settings:

SetFrameRate()

SetExposureTime()

If you are using the uEye's flash function: SetFlashStrobe()

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

GetSubSampling()

SetAOI()

SetBinning()


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

For technical questions please contact you local distributor or use the support form on our website.


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