Vector of nodes with indexes of local features. More...
#include <FeatureVector.h>
Public Member Functions | |
void | addFeature (NodeId id, unsigned int i_feature) |
FeatureVector (void) | |
~FeatureVector (void) | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const FeatureVector &v) |
Vector of nodes with indexes of local features.
Definition at line 21 of file FeatureVector.h.
DBoW2::FeatureVector::FeatureVector | ( | void | ) |
Constructor
Definition at line 19 of file FeatureVector.cpp.
DBoW2::FeatureVector::~FeatureVector | ( | void | ) |
Destructor
Definition at line 25 of file FeatureVector.cpp.
void DBoW2::FeatureVector::addFeature | ( | NodeId | id, |
unsigned int | i_feature | ||
) |
Adds a feature to an existing node, or adds a new node with an initial feature
id | node id to add or to modify |
i_feature | index of feature to add to the given node |
Definition at line 31 of file FeatureVector.cpp.
|
friend |
Sends a string versions of the feature vector through the stream
out | stream |
v | feature vector |
Definition at line 49 of file FeatureVector.cpp.