Please enable JavaScript to view this site.

IDS peak 2.8.0 / uEye+ firmware 3.33

Controls the gamma correction of pixel intensity.

hint_info

Gamma correction is disabled when the LUT is enabled by setting LUTEnable to "True" .

Name

Gamma

Category

AnalogControl

Interface

Float

Access

Read/Write

Unit

-

Visibility

Beginner

Values

0.3 ... 3
Increment: 0.05

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

-

Values description

Gamma > 1 increases image brightness.

Gamma < 1 decreases image brightness.

Code example

C++

// For using Gamma set LUTEnable to false
// Set LUTEnable to false
nodeMapRemoteDevice->FindNode<peak::core::nodes::BooleanNode>("LUTEnable")->SetValue(false);
// Determine the current Gamma
double value = nodeMapRemoteDevice->FindNode<peak::core::nodes::FloatNode>("Gamma")->Value();
// Set Gamma to 1.0
nodeMapRemoteDevice->FindNode<peak::core::nodes::FloatNode>("Gamma")->SetValue(1.0);

C#

// For using Gamma set LUTEnable to false
// Set LUTEnable to false
nodeMapRemoteDevice.FindNode<peak.core.nodes.BooleanNode>("LUTEnable").SetValue(false);
// Determine the current Gamma
double value = nodeMapRemoteDevice.FindNode<peak.core.nodes.FloatNode>("Gamma").Value();
// Set Gamma to 1.0
nodeMapRemoteDevice.FindNode<peak.core.nodes.FloatNode>("Gamma").SetValue(1.0);

Python

# For using Gamma set LUTEnable to false
# Set LUTEnable to false (bool)
nodeMapRemoteDevice.FindNode("LUTEnable").SetValue(False)
# Determine the current Gamma (float)
value = nodeMapRemoteDevice.FindNode("Gamma").Value()
# Set Gamma to 1.0 (float)
nodeMapRemoteDevice.FindNode("Gamma").SetValue(1.0)

© 2024 IDS Imaging Development Systems GmbH