Namespaces
Functions
template<typename Distance >
Distance::ResultType
cvflann::computeDistanceRaport (const Matrix< typename Distance::ElementType > &inputData, typename Distance::ElementType *target,
int *neighbors,
int *groundTruth,
int veclen,
int n, const Distance &distance)
template<typename Distance >
float
cvflann::search_with_ground_truth (NNIndex< Distance > &index, const Matrix< typename Distance::ElementType > &inputData, const Matrix< typename Distance::ElementType > &testData, const Matrix<
int > &matches,
int nn,
int checks, float &time, typename Distance::ResultType &dist, const Distance &distance,
int skipMatches)
template<typename Distance >
float
cvflann::test_index_checks (NNIndex< Distance > &index, const Matrix< typename Distance::ElementType > &inputData, const Matrix< typename Distance::ElementType > &testData, const Matrix<
int > &matches,
int checks, float &precision, const Distance &distance,
int nn=1,
int skipMatches=0)
template<typename Distance >
float
cvflann::test_index_precision (NNIndex< Distance > &index, const Matrix< typename Distance::ElementType > &inputData, const Matrix< typename Distance::ElementType > &testData, const Matrix<
int > &matches, float precision,
int &checks, const Distance &distance,
int nn=1,
int skipMatches=0)
template<typename Distance >
void cvflann::test_index_precisions (NNIndex< Distance > &index, const Matrix< typename Distance::ElementType > &inputData, const Matrix< typename Distance::ElementType > &testData, const Matrix<
int > &matches, float *precisions,
int precisions_length, const Distance &distance,
int nn=1,
int skipMatches=0, float maxTime=0)