Example: Setting Gamma Using The Flycapture Api; Lut: 80000H - 80048H (Iidc 1.32) - Point Grey Flea3 FL3-U3 Technical Reference Manual

Usb 3.0 digital camera
Table of Contents

Advertisement

Point Grey Flea3 USB 3.0 Technical Reference
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 (IIDC 1.32)
Offset
Name
LUT_Ctrl_Inq
80000h
(Read Only)
Revised 9/27/2012
Copyright ©2011-2012 Point Grey Research Inc.
Field
Presence_Inq
ON_OFF_Inq
Input_Depth
Output_Depth
Number_of_Channels
Number_of_Banks
Bit
Presence of this feature
[0]
0: Not Available, 1: Available
[1-4]
Reserved
[5]
Capability of turning this feature ON or OFF.
[6-7]
Reserved
[8-12]
Input data bit depth
[13-17]
Output data bit depth
[18]
Reserved
[19-23]
Number of channels
[24-26]
Reserved
[27-31]
Number of banks
7 Imaging Parameters and Control
Description
106

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents