34 #include <Base/Common/W32Compat.hh>
35 #include <VideoSource/VideoSource_Disk.hh>
36 #include <VideoSource/VideoSource_Shm.hh>
39 # include <VideoSource/VideoSource_DCAM.hh>
40 #endif // BIAS_HAVE_DCAM
42 #include <Image/Camera.hh>
45 #include <VideoSource/VideoShMFeeder.hh>
51 int main(
int ,
char** )
54 std::vector<std::string> filenames;
55 filenames.push_back(
"pic.mip");
65 sprintf(title,
"Sending Picture");
72 cout <<
"Image grab OK\n";
virtual int InitImage(BIAS::ImageBase &Image)
Defines a common interface to different devices.
bool ProcessImage(BIAS::Camera< unsigned char > *Image)
virtual int OpenDevice()
selects the first available device to open (e.g.
virtual int PreGrab()
Do last preparations before grabbing (e.g. start ISO transfer)
virtual int GrabSingle(BIAS::Camera< unsigned char > &image)
virtual int PostGrab()
Stop anything started in PreGrab()
virtual int CloseDevice()
class to save Images to a Sharerd memory
This class simulates a video device by loading images from disk.