Setting Sharpness Using The Flycapture Api; Setting Gamma Using The Flycapture Api - FLIR GRASSHOPPER 3 Series Technical Reference

Gige vision
Table of Contents

Advertisement

Property prop;
//Define the property to adjust.
prop.type = AUTO_EXPOSURE;
//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 auto exposure to -3.5 EV.
prop.absValue = -3.5;
//Set the property.
error = cam.SetProperty( &prop );
A.8

Setting Sharpness Using the FlyCapture API

The following FlyCapture code snippet adjusts sharpness to 1500 using the C++ interface. The snippet assumes a
Camera object cam.
//Declare a Property struct.
Property prop;
//Define the property to adjust.
prop.type = SHARPNESS;
//Ensure the property is on.
prop.onOff = true;
//Ensure auto-adjust mode is off.
prop.autoManualMode = false;
//Set the value of sharpness to 1500.
prop.valueA = 1500;
//Set the property.
error = cam.SetProperty( &prop );
A.9

Setting Gamma Using the FlyCapture API

The following FlyCapture code snippet adjusts gamma to 1.5 using the C++ interface. The snippet assumes a
Camera object cam.
2/10/2017
©2013-2017
FLIR Integrated Imaging
Solutions Inc. All rights reserved.
®
Grasshopper
3 PGE Technical Reference
A FlyCapture API Code Samples
90

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents