mexopencv  3.4.1
MEX interface for OpenCV library
mexopencv_features2d.hpp
Go to the documentation of this file.
1 
14 #ifndef MEXOPENCV_FEATURES2D_HPP
15 #define MEXOPENCV_FEATURES2D_HPP
16 
17 #include "mexopencv.hpp"
18 #include "opencv2/features2d.hpp"
19 
20 #include "opencv2/opencv_modules.hpp"
21 #ifdef HAVE_OPENCV_XFEATURES2D
22 #include "opencv2/xfeatures2d.hpp"
23 #endif
24 
25 
26 // ==================== Feature Detection and Description ====================
27 
30  ("Harris", cv::ORB::HARRIS_SCORE)
31  ("FAST", cv::ORB::FAST_SCORE);
32 
35  (cv::ORB::HARRIS_SCORE, "Harris")
36  (cv::ORB::FAST_SCORE, "FAST");
37 
43 
49 
52  ("PM_G1", cv::KAZE::DIFF_PM_G1)
53  ("PM_G2", cv::KAZE::DIFF_PM_G2)
54  ("WEICKERT", cv::KAZE::DIFF_WEICKERT)
55  ("CHARBONNIER", cv::KAZE::DIFF_CHARBONNIER);
56 
59  (cv::KAZE::DIFF_PM_G1, "PM_G1")
60  (cv::KAZE::DIFF_PM_G2, "PM_G2")
61  (cv::KAZE::DIFF_WEICKERT, "WEICKERT")
62  (cv::KAZE::DIFF_CHARBONNIER, "CHARBONNIER");
63 
66  ("KAZEUpright", cv::AKAZE::DESCRIPTOR_KAZE_UPRIGHT)
68  ("MLDBUpright", cv::AKAZE::DESCRIPTOR_MLDB_UPRIGHT)
70 
73  (cv::AKAZE::DESCRIPTOR_KAZE_UPRIGHT, "KAZEUpright")
75  (cv::AKAZE::DESCRIPTOR_MLDB_UPRIGHT, "MLDBUpright")
77 
84 
91 
92 #ifdef HAVE_OPENCV_XFEATURES2D
99 
106 
113 
120 
130 
140 #endif
141 
150 
159 
168 
177 
186 
195 
204 
213 
222 
223 #ifdef HAVE_OPENCV_XFEATURES2D
224 
232 
241 
250 
259 
268 
277 
286 
295 
304 
313 
322 
331 #endif
332 
354  const std::string& type,
357 
378  const std::string& type,
381 
382 
383 // ==================== Descriptor Matching ====================
384 
393 
402 
423  const std::string& type,
426 
427 #endif
const ConstMap< int, std::string > VGGDescTypeInv
inverse VGG descriptor types
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.
cv::Ptr< cv::xfeatures2d::LATCH > createLATCH(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of LATCH 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::xfeatures2d::FREAK > createFREAK(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of FREAK 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.
DESCRIPTOR_MLDB_UPRIGHT
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 > DAISYNormType
DAISY normalization types.
const ConstMap< std::string, int > AKAZEDescriptorType
AKAZE descriptor type.
cv::Ptr< cv::xfeatures2d::MSDDetector > createMSDDetector(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of MSDDetector using options in arguments.
cv::Ptr< cv::xfeatures2d::SURF > createSURF(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of SURF using options in arguments.
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.
STL class.
cv::Ptr< cv::xfeatures2d::DAISY > createDAISY(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of DAISY using options in arguments.
const ConstMap< int, std::string > DAISYNormTypeInv
inverse DAISY normalization types
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.
const ConstMap< std::string, int > VGGDescType
VGG descriptor types.
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< std::string, int > BoostDescType
BoostDesc descriptor types.
cv::Ptr< cv::xfeatures2d::SIFT > createSIFT(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of SIFT using options in arguments.
const ConstMap< int, std::string > KAZEDiffusivityTypeInv
inverse KAZE Diffusivity type
cv::Ptr< cv::xfeatures2d::StarDetector > createStarDetector(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of StarDetector using options in arguments.
STL class.
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.
cv::Ptr< cv::xfeatures2d::BriefDescriptorExtractor > createBriefDescriptorExtractor(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of BriefDescriptorExtractor using options in arguments.
const ConstMap< int, std::string > BoostDescTypeInv
inverse BoostDesc descriptor types
Global constant definitions.
const ConstMap< int, std::string > AKAZEDescriptorTypeInv
inverse AKAZE descriptor type
cv::Ptr< cv::xfeatures2d::VGG > createVGG(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of VGG using options in arguments.
const ConstMap< int, std::string > FASTTypeMapInv
inverse FAST types
cv::Ptr< cv::xfeatures2d::LUCID > createLUCID(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of LUCID using options in arguments.
int type() const
DESCRIPTOR_KAZE_UPRIGHT
std::map wrapper with one-line initialization and lookup method.
Definition: MxArray.hpp:927
cv::Ptr< cv::xfeatures2d::HarrisLaplaceFeatureDetector > createHarrisLaplaceFeatureDetector(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of HarrisLaplaceFeatureDetector using options in arguments.
cv::Ptr< cv::xfeatures2d::BoostDesc > createBoostDesc(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of BoostDesc using options in arguments.
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.