5#include "OrbSLAM/Headers/Tracking.h"
6#include "OrbSLAM/Headers/MapPoint.h"
7#include "OrbSLAM/Headers/Atlas.h"
9#include <opencv2/core/core.hpp>
10#include <opencv2/features2d/features2d.hpp>
13#include <unordered_set>
30 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
34 FrameDrawer(Atlas* pAtlas);
39 void Update(Tracking *pTracker);
45 cv::Mat DrawFrame(
float imageScale=1.f);
50 cv::Mat DrawRightFrame(
float imageScale=1.f);
61 void DrawTextInfo(cv::Mat &im,
int nState, cv::Mat &imText);
63 cv::Mat mIm, mImRight;
65 PrimitiveAlignedBuffer<cv::KeyPoint, 32> mvCurrentKeys, mvCurrentKeysRight;
66 Buffer<bool> mvbMap, mvbVO;
68 int mnTracked, mnTrackedVO;
69 PrimitiveAlignedBuffer<cv::KeyPoint, 32> mvIniKeys;
70 Buffer<int> mvIniMatches;
72 Buffer<float> mvCurrentDepth;
78 Buffer<pair<cv::Point2f, cv::Point2f> > mvTracks;
81 Buffer<MapPoint*> mvpLocalMap;
82 PrimitiveAlignedBuffer<cv::KeyPoint, 32> mvMatchedKeys;
83 Buffer<MapPoint*> mvpMatchedMPs;
84 PrimitiveAlignedBuffer<cv::KeyPoint, 32> mvOutlierKeys;
85 Buffer<MapPoint*> mvpOutlierMPs;
87 Dictionary<long unsigned int, cv::Point2f> mmProjectPoints;
88 Dictionary<long unsigned int, cv::Point2f> mmMatchedInImage;
Main tracking thread that processes each frame and estimates camera pose.
The primary namespace for the NDEVR SDK.