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.

Sets the matrix for color correction.

hint_info

Color correction can be enabled or disabled using ColorCorrectionMode.

Name

ColorCorrectionMatrix

Category

ImageCorrectionControl

Interface

Enumeration

Access

Read/Write

Unit

-

Visibility

Expert

Values

HQ

Custom0

Normal

BG40

Standard

IDS

Availability uEye+

icon-gev icon-u3v

Availability uEye

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

Values description

HQ: Predefined color correction matrix for IR cut-off filter (HQ filter) for high quality color rendering.

Custom0: User defined color correction matrix, configurable via ColorCorrectionMatrixValue and ColorCorrectionMatrixValueSelector. This feature is only supported by uEye+ cameras (GV and U3 models).

Normal: Predefined color correction matrix for a simple color rendering.

BG40: Predefined color correction matrix for cameras with optical IR filter glasses of the BG40 type.

Code example

C++

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

C#

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

Python

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

© 2024 IDS Imaging Development Systems GmbH