OpenCV  3.2.0
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, cv::Mutex &_mtx)
 
void operator() (const cv::Range &range) const
 
- 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,
cv::Mutex _mtx 
)

Member Function Documentation

§ operator()()

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

Implements cv::ParallelLoopBody.


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