index_testing.h File Reference

#include <cstring>
#include <cassert>
#include "opencv2/flann/matrix.h"
#include "opencv2/flann/nn_index.h"
#include "opencv2/flann/result_set.h"
#include "opencv2/flann/logger.h"
#include "opencv2/flann/timer.h"
Include dependency graph for index_testing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cvflann

Functions

template<typename ELEM_TYPE >
float cvflann::computeDistanceRaport (const Matrix< ELEM_TYPE > &inputData, ELEM_TYPE *target, int *neighbors, int *groundTruth, int veclen, int n)
CV_EXPORTS int cvflann::countCorrectMatches (int *neighbors, int *groundTruth, int n)
template<typename ELEM_TYPE >
float cvflann::search_with_ground_truth (NNIndex< ELEM_TYPE > &index, const Matrix< ELEM_TYPE > &inputData, const Matrix< ELEM_TYPE > &testData, const Matrix< int > &matches, int nn, int checks, float &time, float &dist, int skipMatches)
template<typename ELEM_TYPE >
float cvflann::test_index_checks (NNIndex< ELEM_TYPE > &index, const Matrix< ELEM_TYPE > &inputData, const Matrix< ELEM_TYPE > &testData, const Matrix< int > &matches, int checks, float &precision, int nn=1, int skipMatches=0)
template<typename ELEM_TYPE >
float cvflann::test_index_precision (NNIndex< ELEM_TYPE > &index, const Matrix< ELEM_TYPE > &inputData, const Matrix< ELEM_TYPE > &testData, const Matrix< int > &matches, float precision, int &checks, int nn=1, int skipMatches=0)
template<typename ELEM_TYPE >
float cvflann::test_index_precisions (NNIndex< ELEM_TYPE > &index, const Matrix< ELEM_TYPE > &inputData, const Matrix< ELEM_TYPE > &testData, const Matrix< int > &matches, float *precisions, int precisions_length, int nn=1, int skipMatches=0, float maxTime=0)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


opencv2
Author(s): Gary Bradski and many others. See web page for a full contributor list. ROS package maintained by James Bowman.
autogenerated on Fri Jan 11 10:00:45 2013