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.

Type of color filter that is applied to the image.

Name

PixelColorFilter

Category

ImageFormatControl

Interface

Enumeration

Access

Read

Unit

-

Visibility

Expert

Values

None

BayerRG

BayerGB

BayerGR

BayerBG

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

-

Values description

None: No color filter.

BayerRG: Bayer filter where red is the first color and green is the second color of the first row.

BayerGB: Bayer filter where green is the first color and blue is the second color of the first row.

BayerGR: Bayer filter where green is the first color and red is the second color of the first row.

BayerBG: Bayer filter where blue is the first color and green is the second color of the first row.

Code example

C++

// Determine the current entry of PixelColorFilter
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("PixelColorFilter")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of PixelColorFilter
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("PixelColorFilter")->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 PixelColorFilter
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("PixelColorFilter").CurrentEntry().SymbolicValue();
// Get a list of all available entries of PixelColorFilter
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("PixelColorFilter").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 PixelColorFilter (str)
value = nodeMapRemoteDevice.FindNode("PixelColorFilter").CurrentEntry().SymbolicValue()
# Get a list of all available entries of PixelColorFilter
allEntries = nodeMapRemoteDevice.FindNode("PixelColorFilter").Entries()
availableEntries = []
for entry in allEntries:
  if (entry.AccessStatus() != ids_peak.NodeAccessStatus_NotAvailable
          and entry.AccessStatus() != ids_peak.NodeAccessStatus_NotImplemented):
      availableEntries.append(entry.SymbolicValue())

© 2024 IDS Imaging Development Systems GmbH