IDS Peak comfortSDK, genericSDK, AFL, ICL, and IPL developer manuals are external documents.
Please contact us if you need these manuals.
Specifies the mode which is used to reduce pixels horizontally when DecimationHorizontal is enabled (see also Decimation).
Name |
DecimationHorizontalMode[DecimationSelector] |
Category |
|
Interface |
Enumeration |
Access |
Read |
Unit |
- |
Visibility |
Expert |
Values |
Discard |
Standard |
SFNC |
Availability uEye+ |
- |
Availability uEye |
|
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<IDSImaging.Peak.API.Core.Nodes.EnumerationNode>("DecimationSelector").SetCurrentEntry("uEye");
// Determine the current DecimationHorizontalMode
long value = nodeMapRemoteDevice.FindNode<IDSImaging.Peak.API.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()