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.

Select which engine is controlled by the DecimationHorizontal and DecimationVertical features.

Name

DecimationSelector

Category

ImageFormatControl

Interface

Enumeration

Access

Read/Write

Unit

-

Visibility

Expert

Values

Sensor

Region0

uEye

Standard

IDS

Availability uEye+

icon-gev icon-u3v

Availability uEye

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

Values description

Sensor: The selected feature will control sensor decimation. This feature is only supported by uEye+ cameras (GV and U3 models).

Region0: The selected feature will control Region0 decimation (FPGA decimation) This feature is only supported by uEye+ cameras (GV and U3 models).

uEye: The selected feature will control uEye decimation (subsampling). The decimation method depends on the respective uEye camera. This feature is only supported by uEye cameras (UI models).

Code example

C++

// Determine the current entry of DecimationSelector
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("DecimationSelector")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of DecimationSelector
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("DecimationSelector")->Entries();
std::vector<std::shared_ptr<peak::core::nodes::EnumerationEntryNode>> availableEntries;
for(const auto & entry : allEntries)
{
  if ((entry->AccessStatus()!=peak::core::nodes::NodeAccessStatus::NotAvailable)
          && (entry->AccessStatus()!=peak::core::nodes::NodeAccessStatus::NotImplemented))
  {
      availableEntries.emplace_back(entry);
  }
}
// Set DecimationSelector to "Region0"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("DecimationSelector")->SetCurrentEntry("Region0");

C#

// Determine the current entry of DecimationSelector
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("DecimationSelector").CurrentEntry().SymbolicValue();
// Get a list of all available entries of DecimationSelector
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("DecimationSelector").Entries();
List<string> availableEntries = new List<string>();
for(int i = 0; i < allEntries.Count(); ++i)
{
  if ((allEntries[i].AccessStatus() != peak.core.nodes.NodeAccessStatus.NotAvailable)
          && (allEntries[i].AccessStatus() != peak.core.nodes.NodeAccessStatus.NotImplemented))
  {
      availableEntries.Add(allEntries[i].SymbolicValue());
  }
}
// Set DecimationSelector to "Region0"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("DecimationSelector").SetCurrentEntry("Region0");

Python

# Determine the current entry of DecimationSelector (str)
value = nodeMapRemoteDevice.FindNode("DecimationSelector").CurrentEntry().SymbolicValue()
# Get a list of all available entries of DecimationSelector
allEntries = nodeMapRemoteDevice.FindNode("DecimationSelector").Entries()
availableEntries = []
for entry in allEntries:
  if (entry.AccessStatus() != ids_peak.NodeAccessStatus_NotAvailable
          and entry.AccessStatus() != ids_peak.NodeAccessStatus_NotImplemented):
      availableEntries.append(entry.SymbolicValue())
 
# Set DecimationSelector to "Region0" (str)
nodeMapRemoteDevice.FindNode("DecimationSelector").SetCurrentEntry("Region0")

© 2024 IDS Imaging Development Systems GmbH