Point Grey Flea3 USB 3.0 Technical Reference 7 Imaging Parameters and Control
7.8.1 WHITE_BALANCE: 80Ch
Field Bit Description
Presence_Inq [0]
Presence of this feature
0: Not Available, 1: Available
Abs_Control [1]
Absolute value control
0: Control with the Value field, 1: Control with the Absolute Value CSR
If this bit is 1, then Value is ignored
[2-4] Reserved
One_Push [5]
One push auto mode (controlled automatically by camera only once)
Read: 0: Not in operation, 1: In operation
Write: 1: Begin to work (self-cleared after operation)
If A_M_Mode = 1, this bit is ignored
ON_OFF [6]
Read: read a status
Write: ON or OFF for this feature
0: OFF, 1: ON
If this bit = 0, other fields will be read only
A_M_Mode [7]
Read: read the current mode.
Write: Set the mode.
0: Manual, 1: Auto
U_Value/B_Value [8-19]
Blue Value.
A write to this value in ‘Auto’ mode will be ignored.
V_Value/R_Value [20-31]
Red Value.
A write to this value in ‘Auto’ mode will be ignored.
Format:
7.8.2 Example: Setting White Balance Using the FlyCapture API
The following FlyCapture 2.0 code snippet adjusts the white balance red channel to 500 and the blue channel to 850
using the C++ interface. The snippet assumes a Camera object cam.
//Declare a Property struct.
Property prop;
//Define the property to adjust.
prop.type = WHITE_BALANCE;
//Ensure the property is on.
prop.onOff = true;
//Ensure auto-adjust mode is off.
prop.autoManualMode = false;
Revised 9/27/2012
Copyright ©2011-2012 Point Grey Research Inc.
110