21 #ifndef ORBEXTRACTOR_H 22 #define ORBEXTRACTOR_H 26 #include <opencv/cv.h> 39 std::vector<cv::KeyPoint> vKeys;
40 cv::Point2i UL, UR, BL, BR;
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);
63 int inline GetLevels(){
66 float inline GetScaleFactor(){
69 std::vector<float>
inline GetScaleFactors(){
73 std::vector<float>
inline GetInverseScaleFactors(){
74 return mvInvScaleFactor;
77 std::vector<float>
inline GetScaleSigmaSquares(){
81 std::vector<float>
inline GetInverseScaleSigmaSquares(){
82 return mvInvLevelSigma2;
85 std::vector<cv::Mat> mvImagePyramid;
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);
95 std::vector<cv::Point> pattern;
103 std::vector<int> mnFeaturesPerLevel;
105 std::vector<int> umax;
107 std::vector<float> mvScaleFactor;
108 std::vector<float> mvInvScaleFactor;
109 std::vector<float> mvLevelSigma2;
110 std::vector<float> mvInvLevelSigma2;
Definition: Converter.cpp:24