Vector of nodes with indexes of local features. More...
#include <FeatureVector.h>
Public Member Functions | |
FeatureVector (void) | |
~FeatureVector (void) | |
void | addFeature (NodeId id, unsigned int i_feature) |
Friends | |
std::ostream & | operator<< (std::ostream &out, const FeatureVector &v) |
Vector of nodes with indexes of local features.
DBoW2::FeatureVector::FeatureVector | ( | void | ) |
Constructor
DBoW2::FeatureVector::~FeatureVector | ( | void | ) |
Destructor
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 |
std::ostream& operator<< | ( | std::ostream & | out, | |
const FeatureVector & | v | |||
) | [friend] |
Sends a string versions of the feature vector through the stream
out | stream | |
v | feature vector |