24 #ifndef __BIASVIDEOSOURCE_UEYE_HH__
25 #define __BIASVIDEOSOURCE_UEYE_HH__
27 #include <bias_config.h>
33 #include <Image/Camera.hh>
34 #include <VideoSource/VideoSource_Base.hh>
37 #include <semaphore.h>
53 std::vector<std::string> GetDevices();
58 int OpenDevice(
const char *dev);
70 int SetEdgeEnhancement(
int mode);
72 virtual void SetExternalTriggerMode(
unsigned int mode);
73 virtual void SetExternalTrigger(
bool trigger =
true);
74 virtual void SetExternalTriggerDelay(
unsigned int delay);
76 virtual bool HasControlShutter();
77 virtual int SetShutter(
float exptime);
78 virtual float GetShutter();
80 int SetExposure(
float exptime);
83 virtual bool HasControlGain();
84 virtual void SetAutoGain(
bool autoGain);
85 virtual bool GetAutoGain();
86 virtual int SetGain(
float g);
87 virtual float GetGain();
89 virtual bool HasControlWhiteBalance();
90 virtual int SetWhiteBalance(
float rvalue,
float bvalue);
91 virtual int GetWhiteBalance(
float &rvalue,
float &bvalue);
92 virtual void GetWhiteBalanceRange(
float &bmin,
float &bmax);
93 virtual void OnePushWhiteBalance();
95 virtual bool HasControlBrightness();
96 virtual int SetBrightness(
float bright);
97 virtual float GetBrightness();
98 virtual void GetBrightnessRange(
float &min,
float &max);
99 virtual bool GetAutoBrightness();
100 virtual void SetAutoBrightness(
bool autoBrightness);
104 int GetPixelClock_()
const;
105 void SetPixelClock_(
int value);
155 static void* run(
void *parent);
Defines a common interface to different devices.
int BIASVideoSource_EXPORT ScanBus(std::stringstream &ofs)
support function to get the number of cameras and IDs of all cameras on one bus
Defines a structure describing a uEye camera instance.
unsigned int pixelClockMin_
VideoSource_uEye * parent_
The image template class for specific storage types.
Defines a thread for asynchronous uEye camera capturing.
static std::vector< CuEye > cams_
This class extends VideoSource for the use of IDS uEye devices.
UeyeGrabThread grabThread_
This is the base class for images in BIAS.
std::vector< char * > imageBuffer_