12 #ifndef __MEXOPENCV_FEATURES2D_HPP__ 13 #define __MEXOPENCV_FEATURES2D_HPP__ 17 #include "opencv2/opencv_modules.hpp" 18 #ifdef HAVE_OPENCV_XFEATURES2D 19 #include "opencv2/xfeatures2d.hpp" 27 (
"Harris", cv::ORB::HARRIS_SCORE)
28 (
"FAST", cv::ORB::FAST_SCORE);
32 (cv::ORB::HARRIS_SCORE,
"Harris")
33 (cv::ORB::FAST_SCORE,
"FAST");
37 (
"TYPE_5_8", cv::FastFeatureDetector::TYPE_5_8)
38 (
"TYPE_7_12", cv::FastFeatureDetector::TYPE_7_12)
39 (
"TYPE_9_16", cv::FastFeatureDetector::TYPE_9_16);
43 (cv::FastFeatureDetector::TYPE_5_8,
"TYPE_5_8")
44 (cv::FastFeatureDetector::TYPE_7_12,
"TYPE_7_12")
45 (cv::FastFeatureDetector::TYPE_9_16,
"TYPE_9_16");
49 (
"PM_G1", cv::KAZE::DIFF_PM_G1)
50 (
"PM_G2", cv::KAZE::DIFF_PM_G2)
51 (
"WEICKERT", cv::KAZE::DIFF_WEICKERT)
52 (
"CHARBONNIER", cv::KAZE::DIFF_CHARBONNIER);
56 (cv::KAZE::DIFF_PM_G1,
"PM_G1")
57 (cv::KAZE::DIFF_PM_G2,
"PM_G2")
58 (cv::KAZE::DIFF_WEICKERT,
"WEICKERT")
59 (cv::KAZE::DIFF_CHARBONNIER,
"CHARBONNIER");
63 (
"KAZEUpright", cv::AKAZE::DESCRIPTOR_KAZE_UPRIGHT)
64 (
"KAZE", cv::AKAZE::DESCRIPTOR_KAZE)
65 (
"MLDBUpright", cv::AKAZE::DESCRIPTOR_MLDB_UPRIGHT)
66 (
"MLDB", cv::AKAZE::DESCRIPTOR_MLDB);
70 (cv::AKAZE::DESCRIPTOR_KAZE_UPRIGHT,
"KAZEUpright")
71 (cv::AKAZE::DESCRIPTOR_KAZE,
"KAZE")
72 (cv::AKAZE::DESCRIPTOR_MLDB_UPRIGHT,
"MLDBUpright")
73 (cv::AKAZE::DESCRIPTOR_MLDB,
"MLDB");
77 (
"AGAST_5_8", cv::AgastFeatureDetector::AGAST_5_8)
78 (
"AGAST_7_12d", cv::AgastFeatureDetector::AGAST_7_12d)
79 (
"AGAST_7_12s", cv::AgastFeatureDetector::AGAST_7_12s)
80 (
"OAST_9_16", cv::AgastFeatureDetector::OAST_9_16);
84 (cv::AgastFeatureDetector::AGAST_5_8,
"AGAST_5_8")
85 (cv::AgastFeatureDetector::AGAST_7_12d,
"AGAST_7_12d")
86 (cv::AgastFeatureDetector::AGAST_7_12s,
"AGAST_7_12s")
87 (cv::AgastFeatureDetector::OAST_9_16,
"OAST_9_16");
89 #ifdef HAVE_OPENCV_XFEATURES2D 92 (
"None", cv::xfeatures2d::DAISY::NRM_NONE)
93 (
"Partial", cv::xfeatures2d::DAISY::NRM_PARTIAL)
94 (
"Full", cv::xfeatures2d::DAISY::NRM_FULL)
95 (
"SIFT", cv::xfeatures2d::DAISY::NRM_SIFT);
99 (cv::xfeatures2d::DAISY::NRM_NONE,
"None")
100 (cv::xfeatures2d::DAISY::NRM_PARTIAL,
"Partial")
101 (cv::xfeatures2d::DAISY::NRM_FULL,
"Full")
102 (cv::xfeatures2d::DAISY::NRM_SIFT,
"SIFT");
111 std::vector<MxArray>::const_iterator first,
112 std::vector<MxArray>::const_iterator last);
120 std::vector<MxArray>::const_iterator first,
121 std::vector<MxArray>::const_iterator last);
129 std::vector<MxArray>::const_iterator first,
130 std::vector<MxArray>::const_iterator last);
138 std::vector<MxArray>::const_iterator first,
139 std::vector<MxArray>::const_iterator last);
147 std::vector<MxArray>::const_iterator first,
148 std::vector<MxArray>::const_iterator last);
156 std::vector<MxArray>::const_iterator first,
157 std::vector<MxArray>::const_iterator last);
165 std::vector<MxArray>::const_iterator first,
166 std::vector<MxArray>::const_iterator last);
174 std::vector<MxArray>::const_iterator first,
175 std::vector<MxArray>::const_iterator last);
183 std::vector<MxArray>::const_iterator first,
184 std::vector<MxArray>::const_iterator last);
186 #ifdef HAVE_OPENCV_XFEATURES2D 192 cv::Ptr<cv::xfeatures2d::SIFT> createSIFT(
193 std::vector<MxArray>::const_iterator first,
194 std::vector<MxArray>::const_iterator last);
201 cv::Ptr<cv::xfeatures2d::SURF> createSURF(
202 std::vector<MxArray>::const_iterator first,
203 std::vector<MxArray>::const_iterator last);
210 cv::Ptr<cv::xfeatures2d::FREAK> createFREAK(
211 std::vector<MxArray>::const_iterator first,
212 std::vector<MxArray>::const_iterator last);
219 cv::Ptr<cv::xfeatures2d::StarDetector> createStarDetector(
220 std::vector<MxArray>::const_iterator first,
221 std::vector<MxArray>::const_iterator last);
228 cv::Ptr<cv::xfeatures2d::BriefDescriptorExtractor> createBriefDescriptorExtractor(
229 std::vector<MxArray>::const_iterator first,
230 std::vector<MxArray>::const_iterator last);
237 cv::Ptr<cv::xfeatures2d::LUCID> createLUCID(
238 std::vector<MxArray>::const_iterator first,
239 std::vector<MxArray>::const_iterator last);
246 cv::Ptr<cv::xfeatures2d::LATCH> createLATCH(
247 std::vector<MxArray>::const_iterator first,
248 std::vector<MxArray>::const_iterator last);
255 cv::Ptr<cv::xfeatures2d::DAISY> createDAISY(
256 std::vector<MxArray>::const_iterator first,
257 std::vector<MxArray>::const_iterator last);
264 cv::Ptr<cv::xfeatures2d::MSDDetector> createMSDDetector(
265 std::vector<MxArray>::const_iterator first,
266 std::vector<MxArray>::const_iterator last);
289 const std::string& type,
290 std::vector<MxArray>::const_iterator first,
291 std::vector<MxArray>::const_iterator last);
311 const std::string& type,
312 std::vector<MxArray>::const_iterator first,
313 std::vector<MxArray>::const_iterator last);
324 std::vector<MxArray>::const_iterator first,
325 std::vector<MxArray>::const_iterator last);
333 std::vector<MxArray>::const_iterator first,
334 std::vector<MxArray>::const_iterator last);
356 const std::string& type,
357 std::vector<MxArray>::const_iterator first,
358 std::vector<MxArray>::const_iterator last);
const ConstMap< std::string, int > AgastTypeMap
AGAST neighborhood types.
const ConstMap< std::string, int > KAZEDiffusivityType
KAZE Diffusivity type.
cv::Ptr< cv::MSER > createMSER(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of MSER using options in arguments.
const ConstMap< int, std::string > ORBScoreTypeInv
inverse ORB score types
cv::Ptr< cv::AKAZE > createAKAZE(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of AKAZE using options in arguments.
cv::Ptr< cv::BFMatcher > createBFMatcher(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of BFMatcher using options in arguments.
cv::Ptr< cv::DescriptorExtractor > createDescriptorExtractor(const std::string &type, std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Factory function for DescriptorExtractor creation.
const ConstMap< std::string, int > AKAZEDescriptorType
AKAZE descriptor type.
cv::Ptr< cv::GFTTDetector > createGFTTDetector(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of GFTTDetector using options in arguments.
cv::Ptr< cv::KAZE > createKAZE(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of KAZE using options in arguments.
cv::Ptr< cv::FastFeatureDetector > createFastFeatureDetector(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of FastFeatureDetector using options in arguments.
cv::Ptr< cv::ORB > createORB(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of ORB using options in arguments.
cv::Ptr< cv::FeatureDetector > createFeatureDetector(const std::string &type, std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Factory function for FeatureDetector creation.
cv::Ptr< cv::FlannBasedMatcher > createFlannBasedMatcher(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of FlannBasedMatcher using options in arguments.
cv::Ptr< cv::DescriptorMatcher > createDescriptorMatcher(const std::string &type, std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Factory function for DescriptorMatcher creation.
const ConstMap< int, std::string > KAZEDiffusivityTypeInv
inverse KAZE Diffusivity type
cv::Ptr< cv::AgastFeatureDetector > createAgastFeatureDetector(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of AgastFeatureDetector using options in arguments.
Global constant definitions.
const ConstMap< int, std::string > AKAZEDescriptorTypeInv
inverse AKAZE descriptor type
const ConstMap< int, std::string > FASTTypeMapInv
inverse FAST types
std::map wrapper with one-line initialization and lookup method.
cv::Ptr< cv::SimpleBlobDetector > createSimpleBlobDetector(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of SimpleBlobDetector using options in arguments.
const ConstMap< int, std::string > AgastTypeInvMap
inverse AGAST neighborhood types
const ConstMap< std::string, int > FASTTypeMap
FAST types.
cv::Ptr< cv::BRISK > createBRISK(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of BRISK using options in arguments.
const ConstMap< std::string, int > ORBScoreType
ORB score types.