The Gamma parameter applies a gamma correction to the image data. It changes the relationship between the pixel values captured by the sensor and the pixel values delivered by the camera.

Gamma correction can be used to adjust the distribution of brightness levels in an image. A gamma value can therefore make details in darker or brighter areas more visible without simply increasing the overall brightness.

How does Gamma correction work with color cameras?

The way Gamma correction is applied depends on the selected pixel format:

  • YUV: Gamma correction is applied to the Y (luminance) channel. The color information in the U and V channels is not directly gamma-corrected.

  • Bayer Raw: The same Gamma correction is applied to all color channels.

  • RGB24: The same Gamma correction is applied to all color channels.

Applying the same Gamma value to all color channels helps preserve the relative color relationships in the image.

What are the available Gamma values?

The available range depends on the camera family:

Camera family

Minimum

Maximum

Default

Visus / Visus IP67 / 47G

0.1

5.0

0.55

38G / 38U / 33G / 33U

0.01

5.0

1.0

The default Gamma value differs between newer and legacy TIS camera families.
When comparing images or migrating an application from a legacy camera to a newer model, check the Gamma setting to ensure that the same image appearance is maintained.

Does Gamma change the sensor data?

Gamma correction is an image-processing operation applied to the image data. It does not change the underlying sensor characteristics or the exposure itself.
It changes how the available pixel values are mapped in the output image.