SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
AR Keyframe database class. More...
#include <WAIKeyFrameDB.h>
Public Types | |
enum | LoopDetectionErrorCodes { LOOP_DETECTION_ERROR_NONE , LOOP_DETECTION_ERROR_NO_CANDIDATES_WITH_COMMON_WORDS , LOOP_DETECTION_ERROR_NO_SIMILAR_CANDIDATES } |
Public Member Functions | |
WAIKeyFrameDB (WAIOrbVocabulary *voc) | |
void | add (WAIKeyFrame *pKF) |
void | erase (WAIKeyFrame *pKF) |
void | clear () |
std::vector< std::list< WAIKeyFrame * > > & | getInvertedFile () |
std::vector< WAIKeyFrame * > | DetectLoopCandidates (WAIKeyFrame *pKF, float minCommonWordFactor, float minScore, int *errorCode) |
std::vector< WAIKeyFrame * > | DetectRelocalizationCandidates (WAIFrame *F, float minCommonWordFactor, bool applyMinAccScoreFilter=false) |
std::vector< WAIKeyFrame * > | DetectRelocalizationCandidates (WAIFrame *F, cv::Mat extrinsicGuess) |
Protected Attributes | |
WAIOrbVocabulary * | mpVoc |
std::vector< std::list< WAIKeyFrame * > > | mvInvertedFile |
std::mutex | mMutex |
AR Keyframe database class.
This file is part of ORB-SLAM2.
Copyright (C) 2014-2016 Ra�l Mur-Artal <raulmur at unizar dot es> (University of Zaragoza) For more information see https://github.com/raulmur/ORB_SLAM2
ORB-SLAM2 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ORB-SLAM2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with ORB-SLAM2. If not, see http://www.gnu.org/licenses/.
Definition at line 45 of file WAIKeyFrameDB.h.
Enumerator | |
---|---|
LOOP_DETECTION_ERROR_NONE | |
LOOP_DETECTION_ERROR_NO_CANDIDATES_WITH_COMMON_WORDS | |
LOOP_DETECTION_ERROR_NO_SIMILAR_CANDIDATES |
Definition at line 58 of file WAIKeyFrameDB.h.
WAIKeyFrameDB::WAIKeyFrameDB | ( | WAIOrbVocabulary * | voc | ) |
This file is part of ORB-SLAM2.
Copyright (C) 2014-2016 Raúl Mur-Artal <raulmur at unizar dot es> (University of Zaragoza) For more information see https://github.com/raulmur/ORB_SLAM2
ORB-SLAM2 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ORB-SLAM2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with ORB-SLAM2. If not, see http://www.gnu.org/licenses/.
Definition at line 34 of file WAIKeyFrameDB.cpp.
void WAIKeyFrameDB::add | ( | WAIKeyFrame * | pKF | ) |
Definition at line 40 of file WAIKeyFrameDB.cpp.
void WAIKeyFrameDB::clear | ( | ) |
Definition at line 75 of file WAIKeyFrameDB.cpp.
std::vector< WAIKeyFrame * > WAIKeyFrameDB::DetectLoopCandidates | ( | WAIKeyFrame * | pKF, |
float | minCommonWordFactor, | ||
float | minScore, | ||
int * | errorCode | ||
) |
Definition at line 85 of file WAIKeyFrameDB.cpp.
std::vector< WAIKeyFrame * > WAIKeyFrameDB::DetectRelocalizationCandidates | ( | WAIFrame * | F, |
cv::Mat | extrinsicGuess | ||
) |
Definition at line 211 of file WAIKeyFrameDB.cpp.
std::vector< WAIKeyFrame * > WAIKeyFrameDB::DetectRelocalizationCandidates | ( | WAIFrame * | F, |
float | minCommonWordFactor, | ||
bool | applyMinAccScoreFilter = false |
||
) |
Definition at line 258 of file WAIKeyFrameDB.cpp.
void WAIKeyFrameDB::erase | ( | WAIKeyFrame * | pKF | ) |
Definition at line 54 of file WAIKeyFrameDB.cpp.
|
inline |
Definition at line 55 of file WAIKeyFrameDB.h.
|
protected |
Definition at line 77 of file WAIKeyFrameDB.h.
|
protected |
Definition at line 72 of file WAIKeyFrameDB.h.
|
protected |
Definition at line 74 of file WAIKeyFrameDB.h.