43 #ifndef vpKeyPointSurf_H
44 #define vpKeyPointSurf_H
53 #include <visp/vpBasicKeyPoint.h>
54 #ifdef VISP_BUILD_DEPRECATED_FUNCTIONS
55 # include <visp/vpList.h>
61 #if defined (VISP_HAVE_OPENCV_NONFREE)
64 #if (VISP_HAVE_OPENCV_VERSION >= 0x020400) // Require opencv >= 2.4.0
65 # include <opencv2/features2d/features2d.hpp>
66 # include <opencv2/legacy/compat.hpp>
67 # include <opencv2/nonfree/nonfree.hpp>
68 #elif (VISP_HAVE_OPENCV_VERSION >= 0x020101) // Require opencv >= 2.1.1
69 # include <opencv2/features2d/features2d.hpp>
70 #elif (VISP_HAVE_OPENCV_VERSION >= 0x010100) // Require opencv >= 1.1.0
216 const unsigned int height,
const unsigned int width);
221 const vpImagePoint &iP,
const unsigned int height,
const unsigned int width);
227 std::list<int*>*
matchPoint(std::list<float*> descriptorList, std::list<int> laplacianList);
228 float* getDescriptorReferencePoint (
const int index);
229 int getLaplacianReferencePoint (
const int index);
230 void getDescriptorParamReferencePoint (
const int index,
int& size,
float& dir);
245 this->hessianThreshold = hessianThreshold;
246 params = cvSURFParams(this->hessianThreshold, this->descriptorType);
256 this->descriptorType = descriptorType;
257 params = cvSURFParams(this->hessianThreshold, this->descriptorType);
274 #ifdef VISP_BUILD_DEPRECATED_FUNCTIONS
286 CvMemStorage* storage;
288 CvMemStorage* storage_cur;
290 CvSeq* image_keypoints;
291 CvSeq* image_descriptors;
293 CvSeq* ref_keypoints;
294 CvSeq* ref_descriptors;
303 double hessianThreshold;
304 vpDescriptorType descriptorType;
class that defines what is a Keypoint. This class provides all the basic elements to implement classe...
Provide simple list management.
Class to define colors available for display functionnalities.
static const vpColor green
double getHessianThreshold()
Class that implements the SURF key points and technics thanks to the OpenCV library.
virtual unsigned int buildReference(const vpImage< unsigned char > &I)=0
void setHessianThreshold(double hessianThreshold)
virtual void display(const vpImage< unsigned char > &Iref, const vpImage< unsigned char > &Icurrent, unsigned int size=3)=0
virtual unsigned int matchPoint(const vpImage< unsigned char > &I)=0
vpDescriptorType getDescriptorType()
Defines a rectangle in the plane.
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
void setDescriptorType(vpDescriptorType descriptorType)