Please enable JavaScript to view this site.

IDS peak 2.14.0 / uEye+ firmware 3.42

IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.

This feature is only supported by specific uEye cameras.

UI-149x/UI-549x

UI-124x/UI-324x/UI-524x

UI-125x/UI-325x/UI-525x

This function scales the image horizontally. This reduces the horizontal resolution (width) of the image by the specified horizontal scaling factor.

hint_info

Note that ScalingHorizontal can only be set along with ScalingVertical. ScalingVertical is automatically adjusted to the same value as ScalingHorizontal.

Name

ScalingHorizontal[ScalingSelector]

Category

ImageFormatControl

Interface

Float

Access

Read/Write

Unit

-

Visibility

Expert

Values

UI models: sensor specific

Standard

IDS

Availability uEye+

-

Availability uEye

icon-ui-gige icon-ui-usb2 icon-ui-usb3

Values description

Horizontal scaling factor. A value of 1 indicates that horizontal scaling is disabled.

hint_info

The access changes to read-only during an acquisition.

Code example

C++

// Determine the current ScalingHorizontal
int64_t value = nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("ScalingHorizontal")->Value();
// Set ScalingHorizontal to 4
nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("ScalingHorizontal")->SetValue(4);

C#

// Determine the current ScalingHorizontal
long value = nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("ScalingHorizontal").Value();
// Set ScalingHorizontal to 4
nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("ScalingHorizontal").SetValue(4);

Python

# Determine the current ScalingHorizontal (int)
value = nodeMapRemoteDevice.FindNode("ScalingHorizontal").Value()
# Set ScalingHorizontal to 4 (int)
nodeMapRemoteDevice.FindNode("ScalingHorizontal").SetValue(4)

© 2024 IDS Imaging Development Systems GmbH