Syntax
INT is_SetVertFilter (HIDS hf, INT Mode)
Description
With is_SetVertFilter() the vertical interpolation filter is activated. This function is only useful when image scaling is switched on. To select a filter level, the bitwise operator OR is linked to IS_ENABLE_VERT_FILTER. Only level 1 is allowed at all resolutions for the vertical filters. Level 2 works to a maximum horizontal resolution of 385 pixel points and level 3 to a maximum horizontal resolution of 193 image points.
Example
is_SetVertFilter (hf, IS_ENABLE_VERT_FILTER | IS_VERT_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 |
Return the current setting |
0x8001 |
Return the current setting |
Return value
Current setting when called with IS_GET_VERT_FILTER_MODE or IS_GET_VERT_FILTER_STEP, else IS_SUCCESS, IS_NO_SUCCESS