OpenCV  4.1.0
Open Source Computer Vision
Namespaces | Functions
ground_truth.h File Reference
#include "dist.h"
#include "matrix.h"

Namespaces

namespace  cvflann
 

Functions

template<typename Distance >
void cvflann::compute_ground_truth (const Matrix< typename Distance::ElementType > &dataset, const Matrix< typename Distance::ElementType > &testset, Matrix< int > &matches, int skip=0, Distance d=Distance())
 
template<typename Distance >
void cvflann::find_nearest (const Matrix< typename Distance::ElementType > &dataset, typename Distance::ElementType *query, int *matches, int nn, int skip=0, Distance distance=Distance())