2 #include <visp/vpDisplayGDI.h>
3 #include <visp/vpDisplayX.h>
4 #include <visp/vpImageIo.h>
5 #include <visp/vpTemplateTrackerSSDInverseCompositional.h>
6 #include <visp/vpTemplateTrackerWarpHomography.h>
10 #if defined(VISP_HAVE_X11) || defined(VISP_HAVE_GDI)
21 display.
init(I, 100, 100,
"Template tracker");
29 tracker.setSampling(2,2);
30 tracker.setLambda(0.001);
31 tracker.setIterationMax(200);
32 tracker.setPyramidal(2, 1);
static void readPGM(vpImage< unsigned char > &I, const char *filename)
Display for windows using GDI (available on any windows 32 platform).
Define the X11 console to display images.
static int wait(double t0, double t)
static void flush(const vpImage< unsigned char > &I)
static void display(const vpImage< unsigned char > &I)
void init(vpImage< unsigned char > &I, int winx=-1, int winy=-1, const char *title=NULL)
Class that provides a data structure for the column vectors as well as a set of operations on these v...
virtual bool getClick(bool blocking=true)=0