1 #include <visp/vpDisplayOpenCV.h>
3 #include <visp/vpVideoReader.h>
5 #include <visp/vpKeyPointSurf.h>
11 #if defined(VISP_HAVE_OPENCV_NONFREE) && (VISP_HAVE_OPENCV_VERSION < 0x030000)
36 while ( ! reader.
end() )
54 for (
int i = 0; i < nbMatch; i++)
unsigned int getWidth() const
Class that enables to manipulate easily a video file or a sequence of images. As it inherits from the...
unsigned int matchPoint(const vpImage< unsigned char > &I)
void getMatchedPoints(const unsigned int index, vpImagePoint &referencePoint, vpImagePoint ¤tPoint)
static const vpColor green
static void flush(const vpImage< unsigned char > &I)
Class that implements the SURF key points and technics thanks to OpenCV library.
static void display(const vpImage< unsigned char > &I)
The vpDisplayOpenCV allows to display image using the opencv library.
void acquire(vpImage< vpRGBa > &I)
void resize(const unsigned int h, const unsigned int w)
set the size of the image without initializing it.
void setFileName(const char *filename)
unsigned int buildReference(const vpImage< unsigned char > &I)
void insert(const vpImage< Type > &src, const vpImagePoint topLeft)
unsigned int getHeight() const
virtual bool getClick(bool blocking=true)=0
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
virtual void displayLine(const vpImagePoint &ip1, const vpImagePoint &ip2, const vpColor &color, unsigned int thickness=1)=0
static const vpColor white