26 #ifndef __BIASVIDEOSOURCE_DCAMPMD_HH__
27 #define __BIASVIDEOSOURCE_DCAMPMD_HH__
30 # error The PMD-camera can only be run under windows.
34 #include <VideoSource/VideoSource_Base.hh>
35 #include <Image/Camera.hh>
36 #include <bias_config.h>
38 #include <Image/PMDImageProc.hh>
58 virtual int OpenDevice();
59 virtual int CloseDevice();
61 virtual int PreGrab();
62 virtual int PostGrab();
76 virtual int SetShutter(
float exptime);
79 virtual int SetGain(
float g);
81 virtual float GetShutter();
82 virtual float GetGain();
85 int SetIntegrationTime(
int dIntegrationTime);
87 int GetIntegrationTime();
89 int SetModulationFrequency(
int dModulationFrequency);
91 int GetModulationFrequency();
96 if (!DepthImg_.IsEmpty()) {
106 if (!ModCoeffImg_.IsEmpty()) {
107 image = ModCoeffImg_;
114 BIASERR(
"Always generating new UUIDS for PMD images");
126 void ImageFloatFromDouble_(
double* data,
Image<float> &dst);
Defines a common interface to different devices.
void SetGenerateNewUIDs(bool s)
int GrabSingleDepth(Camera< float > &image)
Returns the depth image.
int GrabSingleModCoeff(Camera< float > &image)
Returns the amplitude image.
BIAS::Camera< float > ModCoeffImg_
reads PMD-tiffs with depth images and modulation coefficients
This is the base class for images in BIAS.