2 #include <visp/vp1394CMUGrabber.h>
3 #include <visp/vp1394TwoGrabber.h>
4 #include <visp/vpV4l2Grabber.h>
5 #include <visp/vpDisplayGDI.h>
6 #include <visp/vpDisplayX.h>
7 #include <visp/vpMeEllipse.h>
11 #if (defined(VISP_HAVE_DC1394_2) || defined(VISP_HAVE_CMU1394) || defined(VISP_HAVE_V4L2))
15 #if defined(VISP_HAVE_DC1394_2)
17 #elif defined(VISP_HAVE_CMU1394)
19 #elif defined(VISP_HAVE_V4L2)
25 #if defined(VISP_HAVE_X11)
27 #elif defined(VISP_HAVE_GDI)
30 std::cout <<
"No image viewer is available..." << std::endl;
55 std::cout <<
"Catch an exception: " << e << std::endl;
void acquire(vpImage< unsigned char > &I)
void initTracking(const vpImage< unsigned char > &I)
void open(vpImage< unsigned char > &I)
Display for windows using GDI (available on any windows 32 platform).
void setSampleStep(const double &s)
Define the X11 console to display images.
error that can be emited by ViSP classes.
Class that tracks an ellipse moving edges.
Contains predetermined masks for sites and holds moving edges tracking parameters.
static void flush(const vpImage< unsigned char > &I)
void track(const vpImage< unsigned char > &Im)
Firewire cameras video capture based on CMU 1394 Digital Camera SDK.
void setDisplay(vpMeSite::vpMeSiteDisplayType select)
static void display(const vpImage< unsigned char > &I)
void display(const vpImage< unsigned char > &I, vpColor col)
Class for the Video4Linux2 video device.
void setThreshold(const double &t)
Class for firewire ieee1394 video devices using libdc1394-2.x api.
void setRange(const unsigned int &r)