Please enable JavaScript to view this site.

FALCON/EAGLE user manual 4.62

Syntax

INT is_SetHorFilter (HIDS hf, INT Mode)

Description

With is_SetHorFilter() the horizontal interpolation filter can be toggled. This function is only useful if it is used together with image scaling. To select one of the filter levels, combine them with IN_ENABLE_HOR_FILTER using the bitwise OR operator (|).

Beispiel

is_SetHorFilter (hf, IS_ENABLE_HOR_FILTER | IS_HOR_FILTER_STEP1)

Parameters

hf

Frame grabber handle

Mode

 

0
IS_DISABLE_HOR_FILTER

Disable filter

1
IS_ENABLE_HOR_FILTER

Enable filter

2
IS_HOR_FILTER_STEP1

Filter level 1 (weak filter)

4
IS_HOR_FILTER_STEP2

Filter level 2

6
IS_HOR_FILTER_STEP3

Filter level 3 (strong filter)

0x8000
IS_HOR_FILTER_MODE

Returns the current setting

0x8001
IS_HOR_FILTER_STEP

Returns the current setting

Return value

Current setting when called with IS_GET_HOR_FILTER_MODE or IS_GET_HOR_FILTER_STEP, else IS_SUCCESS, IS_NO_SUCCESS