EasyManua.ls Logo

Point Grey Flea3 GigE - Setting Saturation Using the Flycapture API

Point Grey Flea3 GigE
132 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 GigE Technical Reference A FlyCapture API Code Samples
prop.absControl = true;
//Set the absolute value of hue to -30 deg.
prop.absValue = -30;
//Set the property.
error = cam.SetProperty( &prop );
A.13 Setting Saturation Using the FlyCapture API
The following FlyCapture code snippet adjusts saturation to 200% using the C++ interface. The snippet assumes a
Camera object cam.
//Declare a property struct.
Property prop;
//Define the property to adjust.
prop.type = SATURATION;
//Ensure the property is on.
prop.onOff = true;
//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 saturation to 200%.
prop.absValue = 200;
//Set the property.
error = cam.SetProperty( &prop );
Revised 10/29/2013
Copyright ©2010-2013 Point Grey Research Inc.
92

Table of Contents