📄 relocaliser.h
字号:
// -*- c++ -*- // Copyright 2008 Isis Innovation Limited//// SmallBlurryImage-based relocaliser// // Each KF stores a small, blurred version of itself;// Just compare a small, blurred version of the input frame to all the KFs,// choose the closest match, and then estimate a camera rotation by direct image// minimisation.#ifndef __RELOCALISER_H#define __RELOCALISER_H#include <TooN/se2.h>#include "ATANCamera.h"#include "SmallBlurryImage.h"#include "Map.h"class Relocaliser{public: Relocaliser(Map &map, ATANCamera &camera); bool AttemptRecovery(KeyFrame &k); SE3 BestPose(); protected: void ScoreKFs(KeyFrame &kCurrentF); Map &mMap; ATANCamera mCamera; int mnBest; double mdBestScore; SE2 mse2; SE3 mse3Best;};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -