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) && (VISP_HAVE_OPENCV_VERSION < 0x030000)
63 #if (VISP_HAVE_OPENCV_VERSION >= 0x020400) // Require opencv >= 1.1.0 < 3.0.0
64 # include <opencv2/features2d/features2d.hpp>
65 # include <opencv2/legacy/compat.hpp>
66 # include <opencv2/nonfree/nonfree.hpp>
67 #elif (VISP_HAVE_OPENCV_VERSION >= 0x020101) // Require opencv >= 2.1.1
68 # include <opencv2/features2d/features2d.hpp>
69 #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 = hessian_threshold;
246 params = cvSURFParams(this->hessianThreshold, this->descriptorType);
256 this->descriptorType = descriptor_type;
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.
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 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 ...