Template Struct InitKMeansPlusPlus

Struct Documentation

template<class Feature>
struct loop_closure::InitKMeansPlusPlus

Public Functions

inline explicit InitKMeansPlusPlus(const Feature &zero)
template<class Distance, class FeatureAllocator>
inline void operator()(const std::vector<Feature*> &descriptors, size_t k, Distance distance, int random_seed, std::vector<Feature, FeatureAllocator> *centers)