Please enable JavaScript to view this site.

uEye DirectShow 4.97

Syntax

AutoFocus_GetAOI (AUTOFOCUS_AOI* aoi)

Description

AutoFocus_GetAOI returns the set focus AOI for the autofocus.

hint_info

These functions are only supported by the uEye LE USB 3.1 Gen 1 AF.

Parameter

•aoi: Pointer to an object of the type ATUOFOCUS_AOI in which the return value is written.

Contents of the AUTOFOCUS_AOI structure

UNIT

uNumberAOI

Number of the focus measure window

IS_RECT

rcAOI

Defines the upper left corner (s32X, s32Y) as well as the width (s23Width) and height (s32Height) of the focus measure window.

AUTOFOCUS_AOI_WEIGHT

eWeight

Defines the weighting of the zone:

•AUTOFOCUS_AOI_WEIGHT_MIDDLE

Interface

•IuEyeAutoFocus

Related functions

•AutoFocus_SetAOI

•AutoFocus_GetAOISizeMin

•AutoFocus_SetAOIPreset

•AutoFocus_GetNumberOfSupportedAOIs