43 #ifndef __OPENCV_NONFREE_FEATURES_2D_HPP__
44 #define __OPENCV_NONFREE_FEATURES_2D_HPP__
61 CV_WRAP
explicit SIFT(
int nfeatures=0,
int nOctaveLayers=3,
62 double contrastThreshold=0.04,
double edgeThreshold=10,
66 CV_WRAP
int descriptorSize()
const;
69 CV_WRAP
int descriptorType()
const;
77 vector<KeyPoint>& keypoints,
79 bool useProvidedKeypoints=
false)
const;
83 void buildGaussianPyramid(
const Mat& base, vector<Mat>& pyr,
int nOctaves )
const;
84 void buildDoGPyramid(
const vector<Mat>& pyr, vector<Mat>& dogpyr )
const;
85 void findScaleSpaceExtrema(
const vector<Mat>& gauss_pyr,
const vector<Mat>& dog_pyr,
86 vector<KeyPoint>& keypoints )
const;
89 void detectImpl(
const Mat&
image, vector<KeyPoint>& keypoints,
const Mat& mask=
Mat() )
const;
90 void computeImpl(
const Mat& image, vector<KeyPoint>& keypoints,
Mat& descriptors )
const;
113 explicit CV_WRAP SURF(
double hessianThreshold,
114 int nOctaves=4,
int nOctaveLayers=2,
115 bool extended=
true,
bool upright=
false);
118 CV_WRAP
int descriptorSize()
const;
121 CV_WRAP
int descriptorType()
const;
125 CV_OUT vector<KeyPoint>&
keypoints)
const;
128 CV_OUT vector<KeyPoint>& keypoints,
130 bool useProvidedKeypoints=
false)
const;
142 void detectImpl(
const Mat&
image, vector<KeyPoint>& keypoints,
const Mat& mask=
Mat() )
const;
143 void computeImpl(
const Mat& image, vector<KeyPoint>& keypoints,
Mat& descriptors )
const;
CV_PROP_RW bool extended
Definition: features2d.hpp:137
SURF SurfDescriptorExtractor
Definition: features2d.hpp:147
CV_PROP_RW bool upright
Definition: features2d.hpp:138
CV_PROP_RW double sigma
Definition: features2d.hpp:96
SIFT SiftFeatureDetector
Definition: features2d.hpp:99
SIFT SiftDescriptorExtractor
Definition: features2d.hpp:100
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: highgui_c.h:230
GLint GLvoid * img
Definition: legacy.hpp:1150
CV_PROP_RW int nfeatures
Definition: features2d.hpp:92
SIFT implementation.
Definition: features2d.hpp:58
const CvArr CvSeq ** keypoints
Definition: compat.hpp:647
SURF implementation.
Definition: features2d.hpp:107
Definition: features2d.hpp:249
The n-dimensional matrix class.
Definition: core.hpp:1688
const CvArr CvSeq CvSeq ** descriptors
Definition: compat.hpp:647
Definition: core.hpp:4465
CV_PROP_RW double hessianThreshold
Definition: features2d.hpp:134
SURF SurfFeatureDetector
Definition: features2d.hpp:146
CV_PROP_RW int nOctaveLayers
Definition: features2d.hpp:93
CV_PROP_RW int nOctaves
Definition: features2d.hpp:135
CV_PROP_RW double edgeThreshold
Definition: features2d.hpp:95
CV_PROP_RW int nOctaveLayers
Definition: features2d.hpp:136
GLenum GLint GLuint mask
Definition: tracking.hpp:132
CV_PROP_RW double contrastThreshold
Definition: features2d.hpp:94
Proxy datatype for passing Mat's and vector<>'s as input parameters.
Definition: core.hpp:1400