IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Total size in bits of a pixel.
uEye cameras: The value of PixelSize cannot be changed. |
Name |
PixelSize |
Category |
|
Interface |
Enumeration |
Access |
Read/Write |
Unit |
bit |
Visibility |
Expert |
Values |
Bpp1 Bpp2 Bpp4 Bpp8 Bpp10 Bpp12 Bpp14 Bpp16 Bpp24 Bpp30 Bpp32 Bpp36 Bpp48 Bpp64 |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
|
Values description
•Bpp1: 1 bit per pixel.
•Bpp2: 2 bits per pixel.
•Bpp4: 4 bits per pixel.
•Bpp8: 8 bits per pixel.
•Bpp10: 10 bits per pixel.
•Bpp12: 12 bits per pixel.
•Bpp14: 14 bits per pixel.
•Bpp16: 16 bits per pixel.
•Bpp24: 24 bits per pixel.
•Bpp30: 30 bits per pixel.
•Bpp32: 32 bits per pixel.
•Bpp36: 36 bits per pixel. This feature is only supported by uEye+ cameras (GV and U3 models).
•Bpp48: 48 bits per pixel. This feature is only supported by uEye+ cameras (GV and U3 models).
•Bpp64: 64 bits per pixel. This feature is only supported by uEye+ cameras (GV and U3 models).
Code example
C++
// Determine the current entry of PixelSize
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("PixelSize")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of PixelSize
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("PixelSize")->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 PixelSize
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("PixelSize").CurrentEntry().SymbolicValue();
// Get a list of all available entries of PixelSize
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("PixelSize").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 PixelSize (str)
value = nodeMapRemoteDevice.FindNode("PixelSize").CurrentEntry().SymbolicValue()
# Get a list of all available entries of PixelSize
allEntries = nodeMapRemoteDevice.FindNode("PixelSize").Entries()
availableEntries = []
for entry in allEntries:
if (entry.AccessStatus() != ids_peak.NodeAccessStatus_NotAvailable
and entry.AccessStatus() != ids_peak.NodeAccessStatus_NotImplemented):
availableEntries.append(entry.SymbolicValue())