Please enable JavaScript to view this site.

IDS peak 2.8.0 / uEye+ firmware 3.33

Type of color filter that is applied to the image. It contains all values of PixelColorFilter, as well as additional values specific to polarization cameras.

Name

PixelFilter

Category

ImageFormatControl

Interface

Enumeration

Access

Read

Unit

-

Visibility

Expert

Values

None

BayerRG
BayerGB
BayerGR
BayerBG

PolarizationArray

Standard

IDS

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.

PolarizationArray: Polarization filter in which the polarization directions are arranged as follows:
90° 45°
135° 0°
horizontally and vertically alternating per pixel

Fig. 199: Polarization directions on the sensor

Fig. 199: Polarization directions on the sensor

Code example

C++

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