NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
vocab_tree.cc File Reference
#include <sparse_mapping/vocab_tree.h>
#include <sparse_mapping/sparse_map.h>
#include <sparse_mapping/sparse_mapping.h>
#include <sparse_map.pb.h>
#include <glog/logging.h>
#include <opencv2/highgui/highgui.hpp>
#include <ff_common/utils.h>
#include <DBoW2/DBoW2.h>
#include <vector>
#include <string>
Include dependency graph for vocab_tree.cc:

Classes

class  sparse_mapping::ProtobufVocabulary< TDescriptor, F >
 
class  sparse_mapping::ProtobufDatabase< TDescriptor, F >
 
class  sparse_mapping::BinaryDB
 

Namespaces

 sparse_mapping
 

Typedefs

typedef ProtobufVocabulary< DBoW2::FBrief::TDescriptor, DBoW2::FBrief > sparse_mapping::BinaryVocabulary
 
typedef ProtobufDatabase< DBoW2::FBrief::TDescriptor, DBoW2::FBrief > sparse_mapping::BriefDatabase
 

Functions

void sparse_mapping::BuildDB (std::string const &map_file, std::string const &descriptor, int depth, int branching_factor, int restarts)
 
void sparse_mapping::ResetDB (VocabDB *db)
 
void sparse_mapping::MatDescrToVec (cv::Mat const &mat, std::vector< float > *vec)
 
void sparse_mapping::MatDescrToVec (cv::Mat const &mat, DBoW2::BriefDescriptor *brief)
 
void sparse_mapping::QueryDB (std::string const &descriptor, VocabDB *vocab_db, int num_similar, cv::Mat const &descriptors, std::vector< int > *indices, std::vector< double > *scores)
 
void sparse_mapping::BuildDBforDBoW2 (sparse_mapping::SparseMap *map, std::string const &descriptor, int depth, int branching_factor, int restarts)