Please enable JavaScript to view this site.

IDS peak 2.10.0 / uEye+ firmware 3.34

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

Specifies the mode which is used to reduce pixels horizontally when DecimationHorizontal is enabled (see also Decimation).

Name

DecimationHorizontalMode[DecimationSelector]

Category

ImageFormatControl

Interface

Enumeration

Access

Read

Unit

-

Visibility

Expert

Values

Discard

Standard

SFNC

Availability uEye+

-

Availability uEye

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

Values description

Discard: The value of every nth pixel is kept, the other pixels are discarded.

Code example

C++

// Before accessing DecimationHorizontalMode, make sure DecimationSelector is set correctly
// Set DecimationSelector to "uEye"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("DecimationSelector")->SetCurrentEntry("uEye");
// Determine the current DecimationHorizontalMode
int64_t value = nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("DecimationHorizontalMode")->Value();

C#

// Before accessing DecimationHorizontalMode, make sure DecimationSelector is set correctly
// Set DecimationSelector to "uEye"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("DecimationSelector").SetCurrentEntry("uEye");
// Determine the current DecimationHorizontalMode
long value = nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("DecimationHorizontalMode").Value();

Python

# Before accessing DecimationHorizontalMode, make sure DecimationSelector is set correctly
# Set DecimationSelector to "uEye" (str)
nodeMapRemoteDevice.FindNode("DecimationSelector").SetCurrentEntry("uEye")
# Determine the current DecimationHorizontalMode (int)
value = nodeMapRemoteDevice.FindNode("DecimationHorizontalMode").Value()

© 2024 IDS Imaging Development Systems GmbH