@@ -76,7 +76,7 @@ They are competitive alternatives to existing keypoints in particular for embedd
76
76
- An example on how to use the FREAK descriptor can be found at
77
77
opencv_source_code/samples/cpp/freak_demo.cpp
78
78
*/
79
- class CV_EXPORTS FREAK : public Feature2D
79
+ class CV_EXPORTS_W FREAK : public Feature2D
80
80
{
81
81
public:
82
82
@@ -92,7 +92,7 @@ class CV_EXPORTS FREAK : public Feature2D
92
92
@param nOctaves Number of octaves covered by the detected keypoints.
93
93
@param selectedPairs (Optional) user defined selected pairs indexes,
94
94
*/
95
- static Ptr<FREAK> create (bool orientationNormalized = true ,
95
+ CV_WRAP static Ptr<FREAK> create (bool orientationNormalized = true ,
96
96
bool scaleNormalized = true ,
97
97
float patternScale = 22 .0f ,
98
98
int nOctaves = 4 ,
@@ -102,11 +102,11 @@ class CV_EXPORTS FREAK : public Feature2D
102
102
103
103
/* * @brief The class implements the keypoint detector introduced by @cite Agrawal08, synonym of StarDetector. :
104
104
*/
105
- class CV_EXPORTS StarDetector : public FeatureDetector
105
+ class CV_EXPORTS_W StarDetector : public Feature2D
106
106
{
107
107
public:
108
108
// ! the full constructor
109
- static Ptr<StarDetector> create (int maxSize=45 , int responseThreshold=30 ,
109
+ CV_WRAP static Ptr<StarDetector> create (int maxSize=45 , int responseThreshold=30 ,
110
110
int lineThresholdProjected=10 ,
111
111
int lineThresholdBinarized=8 ,
112
112
int suppressNonmaxSize=5 );
@@ -123,25 +123,25 @@ class CV_EXPORTS StarDetector : public FeatureDetector
123
123
opencv_source_code/samples/cpp/brief_match_test.cpp
124
124
125
125
*/
126
- class CV_EXPORTS BriefDescriptorExtractor : public DescriptorExtractor
126
+ class CV_EXPORTS_W BriefDescriptorExtractor : public Feature2D
127
127
{
128
128
public:
129
- static Ptr<BriefDescriptorExtractor> create ( int bytes = 32 );
129
+ CV_WRAP static Ptr<BriefDescriptorExtractor> create ( int bytes = 32 );
130
130
};
131
131
132
132
/* * @brief Class implementing the locally uniform comparison image descriptor, described in @cite LUCID
133
133
134
134
An image descriptor that can be computed very fast, while being
135
135
about as robust as, for example, SURF or BRIEF.
136
136
*/
137
- class CV_EXPORTS LUCID : public DescriptorExtractor
137
+ class CV_EXPORTS_W LUCID : public Feature2D
138
138
{
139
139
public:
140
140
/* *
141
141
* @param lucid_kernel kernel for descriptor construction, where 1=3x3, 2=5x5, 3=7x7 and so forth
142
142
* @param blur_kernel kernel for blurring image prior to descriptor construction, where 1=3x3, 2=5x5, 3=7x7 and so forth
143
143
*/
144
- static Ptr<LUCID> create (const int lucid_kernel, const int blur_kernel);
144
+ CV_WRAP static Ptr<LUCID> create (const int lucid_kernel, const int blur_kernel);
145
145
};
146
146
147
147
0 commit comments