1 #ifndef __BIASVIDEOSOURCE_STEREO_hh_
2 #define __BIASVIDEOSOURCE_STEREO_hh_
4 #include <VideoSource/VideoSource_Base.hh>
5 #include <Image/Camera.hh>
6 #include <Base/Image/ImageBase.hh>
22 virtual int OpenDevice(
const char *name);
24 virtual int OpenDevice();
26 virtual int PreGrab();
32 { image = RightIm_;
return 0; }
34 virtual int PostGrab();
36 virtual void SetSize(
int w,
int h,
int bytesperpixel);
38 virtual int CloseDevice();
58 #endif // _VideSource_Stereo_hh_
Defines a common interface to different devices.
bundles two video sources for stereo
BIAS::Camera< unsigned char > RightIm_
This is the base class for images in BIAS.
int GrabSingleRight(Camera< unsigned char > &image)
Returns the right image.