39 #ifndef vpKeyPointSurf_H
40 #define vpKeyPointSurf_H
49 #include <visp3/vision/vpBasicKeyPoint.h>
54 #if defined (VISP_HAVE_OPENCV_NONFREE) && (VISP_HAVE_OPENCV_VERSION < 0x030000)
56 #if (VISP_HAVE_OPENCV_VERSION >= 0x020400) // Require opencv >= 1.1.0 < 3.0.0
57 # include <opencv2/core/core.hpp>
58 # include <opencv2/features2d/features2d.hpp>
59 # include <opencv2/legacy/compat.hpp>
60 # include <opencv2/nonfree/nonfree.hpp>
61 #elif (VISP_HAVE_OPENCV_VERSION >= 0x020101) // Require opencv >= 2.1.1
62 # include <opencv2/features2d/features2d.hpp>
63 #elif (VISP_HAVE_OPENCV_VERSION >= 0x010100) // Require opencv >= 1.1.0
211 const unsigned int height,
const unsigned int width);
216 const vpImagePoint &iP,
const unsigned int height,
const unsigned int width);
222 std::list<int*>*
matchPoint(std::list<float*> descriptorList, std::list<int> laplacianList);
223 float* getDescriptorReferencePoint (
const int index);
224 int getLaplacianReferencePoint (
const int index);
225 void getDescriptorParamReferencePoint (
const int index,
int& size,
float& dir);
240 this->hessianThreshold = hessian_threshold;
241 params = cvSURFParams(this->hessianThreshold, this->descriptorType);
251 this->descriptorType = descriptor_type;
252 params = cvSURFParams(this->hessianThreshold, this->descriptorType);
274 CvMemStorage* storage;
276 CvMemStorage* storage_cur;
278 CvSeq* image_keypoints;
279 CvSeq* image_descriptors;
281 CvSeq* ref_keypoints;
282 CvSeq* ref_descriptors;
291 double hessianThreshold;
292 vpDescriptorType descriptorType;
class that defines what is a Keypoint. This class provides all the basic elements to implement classe...
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 ...