Please enable JavaScript to view this site.

IDS Software Suite 4.96.1

Windows_Logo
Linux_Logo

USB 2.0

USB 3.x

GigE

USB 2.0

USB 3.x

GigE

Syntax

INT is_GetSensorScalerInfo (HIDS hCam, SENSORSCALERINFO* pSensorScalerInfo, INT nSensorScalerInfoSize)

Description

Using is_GetSensorScalerInfo() you can query information on the image scaling which is supported by some sensors.

hint_info

Internal image scaling is only supported by UI-149x/UI-549x, UI-124x/UI-324x/UI-524x and UI-125x/UI-325x/UI-525x series sensors.

Input parameters

hCam

Camera handle

pSensorScalerInfo

Pointer to a SENSORSCALERINFO type structure to which the information will be written

nSensorScalerInfoSize

Size of the structure

Contents of the SENSORSCALERINFO structure

INT

nCurrMode

Returns the current mode

INT

nNumberOfSteps

Returns the number of steps for the scaling factor

double

dblFactorIncrement

Returns the increment for the scaling factor

double

dblMinFactor

Returns the minimum scaling factor

double

dblMaxFactor

Returns the maximum scaling factor

double

dblCurrFactor

Returns the current scaling factor

INT

nSupportedModes

Returns the supported function modes, see is_SetSensorScaler()

BYTE

bReserved[84]

Reserved

Return values

IS_INVALID_CAMERA_HANDLE

Invalid camera handle

IS_INVALID_PARAMETER

One of the submitted parameters is outside the valid range or is not supported for this sensor or is not available in this mode.

IS_NO_SUCCESS

General error message

IS_NOT_SUPPORTED

The camera model used here does not support this function or setting.

IS_SUCCESS

Function executed successfully

Related functions

is_SetSensorScaler()

© 2022 IDS Imaging Development Systems GmbH