OpenCV  4.1.1-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
cvflann::KMeansIndex< Distance >::KMeansDistanceComputer Class Reference

#include <opencv2/flann/kmeans_index.h>

Inheritance diagram for cvflann::KMeansIndex< Distance >::KMeansDistanceComputer:
Collaboration diagram for cvflann::KMeansIndex< Distance >::KMeansDistanceComputer:

Public Member Functions

 KMeansDistanceComputer (Distance _distance, const Matrix< ElementType > &_dataset, const int _branching, const int *_indices, const Matrix< double > &_dcenters, const size_t _veclen, std::vector< int > &_new_centroids, std::vector< DistanceType > &_sq_dists)
 
void operator() (const cv::Range &range) const CV_OVERRIDE
 

Constructor & Destructor Documentation

◆ KMeansDistanceComputer()

template<typename Distance>
cvflann::KMeansIndex< Distance >::KMeansDistanceComputer::KMeansDistanceComputer ( Distance  _distance,
const Matrix< ElementType > &  _dataset,
const int  _branching,
const int *  _indices,
const Matrix< double > &  _dcenters,
const size_t  _veclen,
std::vector< int > &  _new_centroids,
std::vector< DistanceType > &  _sq_dists 
)
inline

Member Function Documentation

◆ operator()()

template<typename Distance>
void cvflann::KMeansIndex< Distance >::KMeansDistanceComputer::operator() ( const cv::Range range) const
inlinevirtual

Implements cv::ParallelLoopBody.


The documentation for this class was generated from the following file: