Hue/Saturation - Basler DART BCON SERIES User Manual

Table of Contents

Advertisement

AW00136902000
11.6.4

Hue/Saturation

The Hue/Saturation feature is only available if the pixel format is set to YCbCr422
or RGB 8. For more information about pixel formats, see Chapter 10 on
The Hue/Saturation feature lets you adjust the color appearance in your images.
Hue
Adjusting the hue shifts the colors of the image. This can be useful, e.g., for correcting minor color
shifts or creating false-color images.
You can adjust the hue by setting the BslHue parameter. The parameter can be set in a range from
-180° to 180°. The parameter value refers to a rotation of the RGB color cube. By default, the
parameter is set to 0° (no color shift).
Saturation
Adjusting the saturation changes the colorfulness (intensity) of the colors. A higher saturation, for
example, will make colors easier to distinguish.
You can adjust the saturation by setting the BslSaturation parameter. By default, the parameter is
set to 1 (normal saturation). Lower parameter values result in more muted colors that are closer to
gray. Higher parameter values result in more vivid, vibrant colors.
Setting Hue and Saturation
You can set hue and saturation within your application software by using the pylon API. The
following code snippet illustrates using the API to set the parameters:
// Set the Hue parameter value to 5 degrees
camera.BslHue.SetValue(5);
// Set the Saturation parameter value to 1.4
camera.BslSaturation.SetValue(1.4);
Basler dart BCON
Features
page
80.
93

Advertisement

Table of Contents
loading

Table of Contents