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.

Configures the correction of sensor hot pixels. The correction is performed by the software. The hot pixel list is stored in the camera's non-volatile memory.

Name

HotpixelCorrectionMode

Category

ImageCorrectionControl

Interface

Enumeration

Access

Read/Write

Unit

-

Visibility

Beginner

Values

Auto

Off

Standard

IDS

Availability uEye+

-

Availability uEye

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

Values description

Auto: Enables hot pixel correction using the hot pixel list(s) stored in the non-volatile camera memory.

Off: Disables hot pixel correction.

hint_info

If you want to use fast moving of the ROI (Offset X, Offset Y), HotpixelCorrectionMode must be "Off".

Code example

C++

// Determine the current entry of HotpixelCorrectionMode
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("HotpixelCorrectionMode")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of HotpixelCorrectionMode
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("HotpixelCorrectionMode")->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 HotpixelCorrectionMode to "Auto"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("HotpixelCorrectionMode")->SetCurrentEntry("Auto");

C#

// Determine the current entry of HotpixelCorrectionMode
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("HotpixelCorrectionMode").CurrentEntry().SymbolicValue();
// Get a list of all available entries of HotpixelCorrectionMode
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("HotpixelCorrectionMode").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 HotpixelCorrectionMode to "Auto"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("HotpixelCorrectionMode").SetCurrentEntry("Auto");

Python

# Determine the current entry of HotpixelCorrectionMode (str)
value = nodeMapRemoteDevice.FindNode("HotpixelCorrectionMode").CurrentEntry().SymbolicValue()
# Get a list of all available entries of HotpixelCorrectionMode
allEntries = nodeMapRemoteDevice.FindNode("HotpixelCorrectionMode").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 HotpixelCorrectionMode to "Auto" (str)
nodeMapRemoteDevice.FindNode("HotpixelCorrectionMode").SetCurrentEntry("Auto")

© 2024 IDS Imaging Development Systems GmbH