1 #include <visp3/gui/vpDisplayOpenCV.h> 3 #include <visp3/io/vpVideoReader.h> 5 #include <visp3/vision/vpKeyPointSurf.h> 11 #if defined(VISP_HAVE_OPENCV_NONFREE) && (VISP_HAVE_OPENCV_VERSION < 0x030000) 21 surf.buildReference(I);
36 while (!reader.
end()) {
49 unsigned int nbMatch = surf.matchPoint(I);
54 for (
unsigned int i = 0; i < nbMatch; i++) {
55 surf.getMatchedPoints(i, iPref, iPcur);
static bool getClick(const vpImage< unsigned char > &I, bool blocking=true)
unsigned int getWidth() const
void resize(unsigned int h, unsigned int w)
resize the image : Image initialization
Class that enables to manipulate easily a video file or a sequence of images. As it inherits from the...
static const vpColor green
static void flush(const vpImage< unsigned char > &I)
static void display(const vpImage< unsigned char > &I)
The vpDisplayOpenCV allows to display image using the OpenCV library. Thus to enable this class OpenC...
void acquire(vpImage< vpRGBa > &I)
void insert(const vpImage< Type > &src, const vpImagePoint &topLeft)
void setFileName(const std::string &filename)
unsigned int getHeight() const
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
static const vpColor white
static void displayLine(const vpImage< unsigned char > &I, const vpImagePoint &ip1, const vpImagePoint &ip2, const vpColor &color, unsigned int thickness=1, bool segment=true)