EasyManua.ls Logo

Point Grey Flea3 FL3-U3 - Example: Setting Hue Using the Flycapture API; Sharpness

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
Field Bit Description
One_Push [5]
One push auto mode (controlled automatically 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 a current mode
Write: set the mode
0: Manual, 1: Automatic
[8-19] Reserved
Value [20-31]
Value.
A write to this value in ‘Auto mode will be ignored.
7.5.2 Example: Setting Hue Using the FlyCapture API
The following FlyCapture 2.0 code snippet adjusts hue to -30 deg. using the C++ interface. The snippet assumes a
Camera object cam.
//Declare a Property struct.
Property prop;
//Define the property to adjust.
prop.type = HUE;
//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 hue to -30 deg.
prop.absValue = -30;
//Set the property.
error = cam.SetProperty( &prop );
7.6 Sharpness
The camera supports sharpness adjustment, which refers to the filtering of an image to reduce blurring at image
edges. Sharpness is implemented as an average upon a 3x3 block of pixels, and is only applied to the green
component of the Bayer tiled pattern. For sharpness values greater than 1000, the pixel is sharpened; for values less
Revised 9/27/2012
Copyright ©2011-2012 Point Grey Research Inc.
101

Table of Contents

Related product manuals