OpenCV  2.4.13.2
Open Source Computer Vision
flann/flann.hpp File Reference

Classes

struct  cv::flann::CvType< T >
 
struct  cv::flann::CvType< unsigned char >
 
struct  cv::flann::CvType< char >
 
struct  cv::flann::CvType< unsigned short >
 
struct  cv::flann::CvType< short >
 
struct  cv::flann::CvType< int >
 
struct  cv::flann::CvType< float >
 
struct  cv::flann::CvType< double >
 
class  cv::flann::GenericIndex< Distance >
 
class  cv::flann::Index_< T >
 

Namespaces

 cvflann
 
 cv
 
 cv::flann
 

Macros

#define FLANN_DISTANCE_CHECK
 

Functions

flann_distance_t cvflann::flann_distance_type ()
 
FLANN_DEPRECATED void cvflann::set_distance_type (flann_distance_t distance_type, int order)
 
template<typename Distance >
int cv::flann::hierarchicalClustering (const Mat &features, Mat &centers, const ::cvflann::KMeansIndexParams &params, Distance d=Distance())
 
template<typename ELEM_TYPE , typename DIST_TYPE >
FLANN_DEPRECATED int cv::flann::hierarchicalClustering (const Mat &features, Mat &centers, const ::cvflann::KMeansIndexParams &params)
 

Macro Definition Documentation

§ FLANN_DISTANCE_CHECK

#define FLANN_DISTANCE_CHECK
Value:
printf("[WARNING] You are using cv::flann::Index (or cv::flann::GenericIndex) and have also changed "\
"the distance using cvflann::set_distance_type. This is no longer working as expected "\
"(cv::flann::Index always uses L2). You should create the index templated on the distance, "\
"for example for L1 distance use: GenericIndex< L1<float> > \n"); \
}
flann_distance_t flann_distance_type()
Definition: defines.h:129