IDS Peak comfortSDK, genericSDK, AFL, ICL, and IPL developer manuals are external documents.
Please contact us if you need these manuals.
This feature is only supported by specific uEye+ cameras.
•U3-368xXCP Rev. 1.2
•U3-368xXLE Rev. 1.2
•U3-368xXLS Rev. 1.2
Specifies the mode used for the selected hot pixel correction.
Name |
HotPixelCorrectionMode[HotPixelCorrectionSelector] |
Category |
|
Interface |
Enumeration |
Access |
Read/Write |
Unit |
- |
Visibility |
Expert |
Values |
Dynamic Off On Static |
Standard |
IDS |
Availability uEye+ |
|
Availability uEye |
- |
Values description
•Dynamic: Hot pixel correction is enabled and uses the dynamic correction algorithm.
•Off: Hot pixel correction is disabled, that means no correction algorithm is applied.
•On: Hot pixel correction is enabled and uses both correction algorithms (static and dynamic).
•Static: Hot pixel correction is enabled and uses the static correction algorithm.
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 "Dynamic"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("HotPixelCorrectionMode")->SetCurrentEntry("Dynamic");
C#
// Determine the current entry of HotPixelCorrectionMode
string value = nodeMapRemoteDevice.FindNode<IDSImaging.Peak.API.Core.Nodes.EnumerationNode>("HotPixelCorrectionMode").CurrentEntry().SymbolicValue();
// Get a list of all available entries of HotPixelCorrectionMode
allEntries = nodeMapRemoteDevice.FindNode<IDSImaging.Peak.API.Core.Nodes.EnumerationNode>("HotPixelCorrectionMode").Entries();
List<string> availableEntries = new List<string>();
for(int i = 0; i < allEntries.Count(); ++i)
{
if ((allEntries[i].AccessStatus() != IDSImaging.Peak.API.Core.Nodes.NodeAccessStatus.NotAvailable)
&& (allEntries[i].AccessStatus() != IDSImaging.Peak.API.Core.Nodes.NodeAccessStatus.NotImplemented))
{
availableEntries.Add(allEntries[i].SymbolicValue());
}
}
// Set HotPixelCorrectionMode to "Dynamic"
nodeMapRemoteDevice.FindNode<IDSImaging.Peak.API.Core.Nodes.EnumerationNode>("HotPixelCorrectionMode").SetCurrentEntry("Dynamic");
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 "Dynamic" (str)
nodeMapRemoteDevice.FindNode("HotPixelCorrectionMode").SetCurrentEntry("Dynamic")