Specifies the mode which is used to reduce pixels vertically when DecimtaionVertical is enabled (see also Decimation).
Name |
DecimationVerticalMode[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 DecimationVerticalMode, make sure DecimationSelector is set correctly
// Set DecimationSelector to "uEye"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("DecimationSelector")->SetCurrentEntry("uEye");
// Determine the current DecimationVerticalMode
int64_t value = nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("DecimationVerticalMode")->Value();
C#
// Before accessing DecimationVerticalMode, make sure DecimationSelector is set correctly
// Set DecimationSelector to "uEye"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("DecimationSelector").SetCurrentEntry("uEye");
// Determine the current DecimationVerticalMode
long value = nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("DecimationVerticalMode").Value();
Python
# Before accessing DecimationVerticalMode, make sure DecimationSelector is set correctly
# Set DecimationSelector to "uEye" (str)
nodeMapRemoteDevice.FindNode("DecimationSelector").SetCurrentEntry("uEye")
# Determine the current DecimationVerticalMode (int)
value = nodeMapRemoteDevice.FindNode("DecimationVerticalMode").Value()