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

#include "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, int *_count, int *_belongs_to, std::vector< DistanceType > &_radiuses, bool &_converged)
 
void operator() (const cv::Range &range) const CV_OVERRIDE
 
- Public Member Functions inherited from cv::ParallelLoopBody
virtual ~ParallelLoopBody ()
 

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,
int *  _count,
int *  _belongs_to,
std::vector< DistanceType > &  _radiuses,
bool &  _converged 
)
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: