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.
Note that ScalingHorizontal can only be set along with ScalingVertical. ScalingVertical is automatically adjusted to the same value as ScalingHorizontal. |
Name |
ScalingHorizontal[ScalingSelector] |
Category |
|
Interface |
Float |
Access |
Read/Write |
Unit |
- |
Visibility |
Expert |
Values |
UI models: sensor specific |
Standard |
IDS |
Availability uEye+ |
- |
Availability uEye |
|
Values description
•Horizontal scaling factor. A value of 1 indicates that horizontal scaling is disabled.
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)