Please enable JavaScript to view this site.

IDS peak 2.15.0 / uEye+ firmware 3.54

Returns the status of the ColorCorrectionMode.

Name

ColorCorrectionStatus

Category

ImageCorrectionControl

Interface

Enumeration

Access

Read

Unit

-

Visibility

Beginner

Values

Enabled

NotAvailable

Disabled

Standard

IDS

Availability uEye+

icon-gev icon-u3v

Availability uEye

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

Values description

Enabled: Color correction is active. This feature is only supported by uEye+ cameras (GV and U3 models).

NotAvailable: Color correction is not available for the selected PixelFormat. This feature is only supported by uEye+ cameras (GV and U3 models).

Disabled: Color correction is not actve. ColorCorrectionMode = "Off".

Code example

C++

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

C#

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

Python

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