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 |
Disable filter |
1 |
Enable filter |
2 |
Filter level 1 (weak filter) |
4 |
Filter level 2 |
6 |
Filter level 3 (strong filter) |
0x8000 |
Returns the current setting |
0x8001 |
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