EasyManua.ls Logo

Point Grey Flea3 FL3-U3 - Example: Setting Gain Using the Flycapture API; Saturation; SATURATION: 814 H

Point Grey Flea3 FL3-U3
173 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Point Grey Flea3 USB 3.0 Technical Reference 7 Imaging Parameters and Control
7.3.2 Example: Setting Gain Using the FlyCapture API
The following FlyCapture 2.0 code snippet adjusts gain to 10.5 dB using the C++ interface, and assumes a Camera
object cam.
//Declare a Property struct.
Property prop;
//Define the property to adjust.
prop.type = GAIN;
//Ensure auto-adjust mode is off.
prop.autoManualMode = false;
//Ensure the property is set up to use absolute value control.
prop.absControl = true;
//Set the absolute value of gain to 10.5 dB.
prop.absValue = 10.5;
//Set the property.
error = cam.SetProperty( &prop );
7.4 Saturation
This provides a mechanism to control the Saturation component of the images being produced by the camera, given a
standard Hue, Saturation, Value (HSV) color space.
Saturation is applicable to color models only.
Saturation in this context does not refer to the saturation of a sensor charge.
7.4.1 SATURATION: 814h
The value field in this register can be set in three ways:
Method Description
Absolute
The user sets the value is set via the absolute register. The Value field becomes read only and reflects
the converted absolute value.
Manual
The user sets the value in the Value field. The absolute register becomes read only and contains the
current value.
Automatic
The value is set automatically by another register and both the Value field and the absolute register
become read only.
Revised 9/27/2012
Copyright ©2011-2012 Point Grey Research Inc.
98

Table of Contents

Related product manuals