
Color Creation and Enhancement
AW00123404000
190
Basler ace USB 3.0
Enabling and Setting Color Adjustment
You can set the Color Adjustment Hue and Color Adjustment Saturation parameter values from
within your application software by using the Basler pylon API. The following code snippets illustrate
using the API to set the parameter values:
// Select red as the color to adjust
camera.ColorAdjustmentSelector.SetValue(ColorAdjustmentSelector_Red);
// Set the red hue parameter value
camera.ColorAdjustmentHue.SetValue(-1.125);
// Set the red saturation parameter value
camera.ColorAdjustmentSaturation.SetValue(1.375);
// Select cyan as the color to adjust
camera.ColorAdjustmentSelector.SetValue(ColorAdjustmentSelector_Cyan);
// Set the cyan hue parameter value
camera.ColorAdjustmentHue.SetValue(-1.6875);
// Set the cyan saturation parameter value
camera.ColorAdjustmentSaturation.SetValue(0.85);
You can also use the Basler pylon Viewer application to easily set the parameters.
For more information about the pylon API and the pylon Viewer, see Section 3.1 on
page 43
.
Содержание ace acA1920-155
Страница 4: ......
Страница 50: ...Specifications Requirements and Precautions AW00123404000 40 Basler ace USB 3 0...
Страница 56: ...Camera Drivers and Tools for Changing Camera Parameters AW00123404000 46 Basler ace USB 3 0...
Страница 106: ...Physical Interface AW00123404000 96 Basler ace USB 3 0...
Страница 186: ...Image Acquisition Control AW00123404000 176 Basler ace USB 3 0...
Страница 326: ...Index AW00123404000 316 Basler ace USB 3 0...