OpenCV  4.1.0
Open Source Computer Vision
Classes | Enumerations | Functions
cv::flann Namespace Reference

Classes

struct  AutotunedIndexParams
 
struct  CompositeIndexParams
 
struct  CvType
 
struct  CvType< char >
 
struct  CvType< double >
 
struct  CvType< float >
 
struct  CvType< int >
 
struct  CvType< short >
 
struct  CvType< unsigned char >
 
struct  CvType< unsigned short >
 
class  GenericIndex
 The FLANN nearest neighbor index class. This class is templated with the type of elements for which the index is built. More...
 
struct  HierarchicalClusteringIndexParams
 
class  Index
 
class  Index_
 
struct  IndexParams
 
struct  KDTreeIndexParams
 
struct  KMeansIndexParams
 
struct  LinearIndexParams
 
struct  LshIndexParams
 
struct  SavedIndexParams
 
struct  SearchParams
 

Enumerations

enum  FlannIndexType {
  FLANN_INDEX_TYPE_8U = CV_8U,
  FLANN_INDEX_TYPE_8S = CV_8S,
  FLANN_INDEX_TYPE_16U = CV_16U,
  FLANN_INDEX_TYPE_16S = CV_16S,
  FLANN_INDEX_TYPE_32S = CV_32S,
  FLANN_INDEX_TYPE_32F = CV_32F,
  FLANN_INDEX_TYPE_64F = CV_64F,
  FLANN_INDEX_TYPE_STRING,
  FLANN_INDEX_TYPE_BOOL,
  FLANN_INDEX_TYPE_ALGORITHM,
  LAST_VALUE_FLANN_INDEX_TYPE = FLANN_INDEX_TYPE_ALGORITHM
}
 

Functions

template<typename Distance >
int hierarchicalClustering (const Mat &features, Mat &centers, const ::cvflann::KMeansIndexParams &params, Distance d=Distance())
 Clusters features using hierarchical k-means algorithm.
 
template<typename ELEM_TYPE , typename DIST_TYPE >
int hierarchicalClustering (const Mat &features, Mat &centers, const ::cvflann::KMeansIndexParams &params)
 

Enumeration Type Documentation

Enumerator
FLANN_INDEX_TYPE_8U 
FLANN_INDEX_TYPE_8S 
FLANN_INDEX_TYPE_16U 
FLANN_INDEX_TYPE_16S 
FLANN_INDEX_TYPE_32S 
FLANN_INDEX_TYPE_32F 
FLANN_INDEX_TYPE_64F 
FLANN_INDEX_TYPE_STRING 
FLANN_INDEX_TYPE_BOOL 
FLANN_INDEX_TYPE_ALGORITHM 
LAST_VALUE_FLANN_INDEX_TYPE