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.

Controls the analog black level for the selected bit depth. The BlackLevel is an offset that applies to all pixel values. Changing the PixelFormat to a different bit depth, the value and range of BlackLevel will be adapted to the new format automatically.

hint_info

uEye+ cameras: BlackLevel is only available for some cameras.

Name

BlackLevel[BlackLevelSelector]

Category

AnalogControl

Interface

Float

Access

Read/Write

Unit

DN

Visibility

Expert

Values

≥ 0

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

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

Code example

C++

// Before accessing BlackLevel, make sure PixelFormat is set correctly
// Set PixelFormat to "Mono8"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("PixelFormat")->SetCurrentEntry("Mono8");
// Determine the current BlackLevel
double value = nodeMapRemoteDevice->FindNode<peak::core::nodes::FloatNode>("BlackLevel")->Value();
// Set BlackLevel to 1.0
nodeMapRemoteDevice->FindNode<peak::core::nodes::FloatNode>("BlackLevel")->SetValue(1.0);

C#

// Before accessing BlackLevel, make sure PixelFormat is set correctly
// Set PixelFormat to "Mono8"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("PixelFormat").SetCurrentEntry("Mono8");
// Determine the current BlackLevel
double value = nodeMapRemoteDevice.FindNode<peak.core.nodes.FloatNode>("BlackLevel").Value();
// Set BlackLevel to 1.0
nodeMapRemoteDevice.FindNode<peak.core.nodes.FloatNode>("BlackLevel").SetValue(1.0);

Python

# Before accessing BlackLevel, make sure PixelFormat is set correctly
# Set PixelFormat to "Mono8" (str)
nodeMapRemoteDevice.FindNode("PixelFormat").SetCurrentEntry("Mono8")
# Determine the current BlackLevel (float)
value = nodeMapRemoteDevice.FindNode("BlackLevel").Value()
# Set BlackLevel to 1.0 (float)
nodeMapRemoteDevice.FindNode("BlackLevel").SetValue(1.0)

© 2024 IDS Imaging Development Systems GmbH