2 #include <ORBextractor.h>
3 #include <BRIEFextractor.h>
4 #include <GLSLextractor.h>
6 using namespace ORB_SLAM2;
23 const cv::Size& videoFrameSize,
29 return orbExtractor(1000, nLevels);
31 return orbExtractor(2000, nLevels);
33 return orbExtractor(3000, nLevels);
35 return orbExtractor(4000, nLevels);
37 return briefExtractor(1000, nLevels);
39 return briefExtractor(2000, nLevels);
41 return briefExtractor(3000, nLevels);
43 return briefExtractor(4000, nLevels);
53 return orbExtractor(1000, nLevels);
58 const cv::Size& videoFrameSize,
61 std::unique_ptr<KPextractor> result =
nullptr;
63 for (
int i = 0; i < _extractorIdToNames.size(); i++)
65 if (_extractorIdToNames[i] == extractorType)
77 float fScaleFactor = 1.2f;
80 return std::make_unique<ORB_SLAM2::ORBextractor>(nf,
90 float fScaleFactor = 1.2f;
93 return std::make_unique<ORB_SLAM2::BRIEFextractor>(nf,
100 #ifndef TARGET_OS_IOS
103 int nbKeypointsBigSigma,
104 int nbKeypointsSmallSigma,
111 return std::make_unique<GLSLextractor>(videoFrameSize.width,
112 videoFrameSize.height,
114 nbKeypointsSmallSigma,