21 #ifndef ORBEXTRACTOR_H 22 #define ORBEXTRACTOR_H 26 #include <opencv/cv.h> 39 std::vector<cv::KeyPoint>
vKeys;
41 std::list<ExtractorNode>::iterator
lit;
49 enum {HARRIS_SCORE=0, FAST_SCORE=1 };
51 ORBextractor(
int nfeatures,
float scaleFactor,
int nlevels,
52 int iniThFAST,
int minThFAST);
59 void operator()( cv::InputArray image, cv::InputArray mask,
60 std::vector<cv::KeyPoint>& keypoints,
61 cv::OutputArray descriptors);
74 return mvInvScaleFactor;
82 return mvInvLevelSigma2;
89 void ComputePyramid(cv::Mat image);
90 void ComputeKeyPointsOctTree(std::vector<std::vector<cv::KeyPoint> >& allKeypoints);
91 std::vector<cv::KeyPoint> DistributeOctTree(
const std::vector<cv::KeyPoint>& vToDistributeKeys,
const int &minX,
92 const int &maxX,
const int &minY,
const int &maxY,
const int &nFeatures,
const int &level);
94 void ComputeKeyPointsOld(std::vector<std::vector<cv::KeyPoint> >& allKeypoints);