OpenCV  4.1.0
Open Source Computer Vision
Public Member Functions | List of all members
cvflann::KMeansIndex< Distance >::KMeansDistanceComputer Class Reference

#include <opencv2/flann/kmeans_index.h>

Inheritance diagram for cvflann::KMeansIndex< Distance >::KMeansDistanceComputer:
cv::ParallelLoopBody

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
 
- Public Member Functions inherited from cv::ParallelLoopBody
virtual ~ParallelLoopBody ()
 

Constructor & Destructor Documentation

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

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: