Please enable JavaScript to view this site.

uEye .NET Manual 4.97

The Scaled class provides methods for controlling the sensor gain channels. These can be set between 0 % and 100 % independently of of each other. The actual gain factor obtained for the value 100 % depends on the sensor and is specified in "Camera and sensor data" chapter in the uEye manual.

You can use GetSensorInfo() to query the available gain controls.

hint_info

Note on using sensor gain

A signal gain will also result in a noise gain. High gain settings are therefore not recommended.

We suggest the following gain settings:

1.Enable the gain boost: SetEnable().

2.If required, adjust the gain setting with Scaled.

New gain settings might only become effective when the next image is captured. This depends on the time when the gain settings are changed.

hint_info

Note on the linearity of sensor gain

On uEye cameras, you can set the gain factor in increments from 0 to 100. These increments are not graduated linearly throughout the range due to the sensor. The increments will typically be greater in the upper range than in the lower range.

The maximum gain factor settings also vary from sensor to sensor.

hint_info

Note on default settings for RGB gains

The default setting values for the red, green and blue channel gain factors depend on the color correction matrix that has been set. If you select a different color correction matrix, the returned default values might change (see also Set()).

Methods

Method

Description

GetDefaultBlue

Returns the default blue channel gain factor.

GetDefaultGreen

Returns the default green channel gain factor.

GetDefaultMaster

Returns the default master channel gain factor.

GetDefaultRed

Returns the default red channel gain factor.

GetBlue

Returns the blue channel gain factor.

GetGreen

Returns the green channel gain factor.

GetMaster

Returns the master channel gain factor.

GetRed

Returns the red channel gain factor.

SetBlue

Sets the blue channel gain factor (0...100).

SetGreen

Sets the green channel gain factor (0...100).

SetMaster

Sets the master channel gain factor (0...100).

SetRed

Sets the red channel gain factor (0...100).