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
218 const unsigned int height,
const unsigned int width);
223 const vpImagePoint &iP,
const unsigned int height,
const unsigned int width);
229 std::list<int*>*
matchPoint(std::list<float*> descriptorList, std::list<int> laplacianList);
230 float* getDescriptorReferencePoint (
const int index);
231 int getLaplacianReferencePoint (
const int index);
232 void getDescriptorParamReferencePoint (
const int index,
int& size,
float& dir);
247 this->hessianThreshold = hessian_threshold;
248 params = cvSURFParams(this->hessianThreshold, this->descriptorType);
258 this->descriptorType = descriptor_type;
259 params = cvSURFParams(this->hessianThreshold, this->descriptorType);
276 #ifdef VISP_BUILD_DEPRECATED_FUNCTIONS
288 CvMemStorage* storage;
290 CvMemStorage* storage_cur;
292 CvSeq* image_keypoints;
293 CvSeq* image_descriptors;
295 CvSeq* ref_keypoints;
296 CvSeq* ref_descriptors;
305 double hessianThreshold;
306 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.
void setHessianThreshold(double hessian_threshold)
static const vpColor green
double getHessianThreshold()
void setDescriptorType(vpDescriptorType descriptor_type)
Class that implements the SURF key points and technics thanks to the OpenCV library.
virtual unsigned int buildReference(const vpImage< unsigned char > &I)=0
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 ...