relocaliser.h

来自「this is software for visual SLAM」· C头文件 代码 · 共 47 行

H
47
字号
// -*- 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 + =
减小字号Ctrl + -
显示快捷键?