Point Grey Flea3 USB 3.0 Technical Reference 7 Imaging Parameters and Control
7.7.2 Example: Setting Gamma Using the FlyCapture API
The following FlyCapture 2.0 code snippet adjusts gamma to 1.5 using the C++ interface. The snippet assumes a
Camera object cam.
//Declare a Property struct.
Property prop;
//Define the property to adjust.
prop.type = GAMMA;
//Ensure the property is on.
prop.onOff = true;
//Ensure the property is set up to use absolute value control.
prop.absControl = true;
//Set the absolute value of gamma to 1.5
prop.absValue = 1.5;
//Set the property.
error = cam.SetProperty( &prop );
7.7.3 LUT: 80000h – 80048h (IIDC1.32)
Offset Name Field Bit Description
80000h
LUT_Ctrl_Inq
(Read Only)
Presence_Inq [0]
Presence of this feature
0: Not Available, 1: Available
[1-4] Reserved
ON_OFF_Inq [5] Capability of turning this feature ON or OFF.
[6-7] Reserved
Input_Depth [8-12] Input data bit depth
Output_Depth [13-17] Output data bit depth
[18] Reserved
Number_of_Channels [19-23] Number of channels
[24-26] Reserved
Number_of_Banks [27-31] Number of banks
Revised 9/27/2012
Copyright ©2011-2012 Point Grey Research Inc.
106