Please enable JavaScript to view this site.

FALCON/EAGLE user manual 4.62

Syntax

INT is_SetScaler (HIDS hf, float scalex, float scaley)

Description

With is_SetScaler() the scaler is activated/deactivated and at same time the horizontal and vertical scaling factor is provided. The scaler works with scaling factors from 16 % to 100 % on the horizontal and vertical axis. With a built in interpolation filter, undesired distortion in the image is kept to a minimum. For post acquisition image processing we recommend that the scaler is turned off.

Is the image to be reduced from full-size, first of all the desired image size must be set with function is_SetImageSize(). Afterwards the scaler is activated with is_SetScaler(hf, IS_SET_SCALER_ON, IS_SET_SCALER_ON);.

Parameters

hf

Frame grabber handle

scalex

 

IS_SET_SCALER_ON

Enable scaler

IS_SET_SCALER_OFF

Disable scaler

IS_GET_SCALER_MODE

Returns the current scaler mode

scaley

Not used

Return value

Current setting when called with IS_GET_SCALER_MODE, else IS_SUCCESS or IS_NO_SUCCESS