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.

Horizontal sub-sampling of the image. This reduces the horizontal resolution (width) of the image by the specified horizontal decimation factor.

Name

DecimationHorizontal[DecimationSelector]

Category

ImageFormatControl

Interface

Integer

Access

Read/Write

Unit

-

Visibility

Expert

Values

1, 2, 4, 8

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

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

Values description

A value of 1 indicates that the camera performs no horizontal decimation.

hint_info

This feature is not available with the SensorOperationMode "Linescan".

hint_info

Can only be changed if SequencerMode is "Off".

hint_info

Note for uEye+ cameras (GV and U3 models)

DecimationHorizontal is not available, if BinningHorizontal is running on the FPGA (BinningSelector = "Region0" and BinningHorizontal > "1").

hint_info

Note for uEye cameras (UI models)

Decimation cannot be changed if image acquisition is enabled.

You cannot use decimation and binning at the same time. If you enable BinningHorizontal or BinningVertical, DecimationHorizontal and DecimationVertical are reset to "1".

If you use decimation with hot pixel correction, check the settings of HotpixelCorrectionMode after enabling decimation.

Code example

C++

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

C#

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

Python

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

© 2024 IDS Imaging Development Systems GmbH