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 |
|
Interface |
Integer |
Access |
Read/Write |
Unit |
- |
Visibility |
Expert |
Values |
1, 2, 4, 8 |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
|
Values description
•A value of 1 indicates that the camera performs no horizontal decimation.
This feature is not available with the SensorOperationMode "Linescan". |
Can only be changed if SequencerMode is "Off". |
Note for uEye+ cameras (GV and U3 models) DecimationHorizontal is not available, if BinningHorizontal is running on the FPGA (BinningSelector = "Region0" and BinningHorizontal > "1"). |
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)