OpenCV  2.4.13
Open Source Computer Vision
cv::flann::Index_< T > Class Template Reference

#include <flann.hpp>

Public Types

typedef L2< T >::ElementType ElementType
 
typedef L2< T >::ResultType DistanceType
 

Public Member Functions

 Index_ (const Mat &features, const ::cvflann::IndexParams &params)
 
 ~Index_ ()
 
void knnSearch (const vector< ElementType > &query, vector< int > &indices, vector< DistanceType > &dists, int knn, const ::cvflann::SearchParams &params)
 
void knnSearch (const Mat &queries, Mat &indices, Mat &dists, int knn, const ::cvflann::SearchParams &params)
 
int radiusSearch (const vector< ElementType > &query, vector< int > &indices, vector< DistanceType > &dists, DistanceType radius, const ::cvflann::SearchParams &params)
 
int radiusSearch (const Mat &query, Mat &indices, Mat &dists, DistanceType radius, const ::cvflann::SearchParams &params)
 
void save (std::string filename)
 
int veclen () const
 
int size () const
 
::cvflann::IndexParams getParameters ()
 
FLANN_DEPRECATEDconst::cvflann::IndexParams * getIndexParameters ()
 

Detailed Description

template<typename T>
class cv::flann::Index_< T >

Deprecated:
Use GenericIndex class instead

Member Typedef Documentation

template<typename T >
typedef L2<T>::ResultType cv::flann::Index_< T >::DistanceType
template<typename T >
typedef L2<T>::ElementType cv::flann::Index_< T >::ElementType

Constructor & Destructor Documentation

template<typename T >
cv::flann::Index_< T >::Index_ ( const Mat features,
const ::cvflann::IndexParams params 
)
template<typename T >
cv::flann::Index_< T >::~Index_ ( )

Member Function Documentation

template<typename T >
FLANN_DEPRECATEDconst ::cvflann::IndexParams* cv::flann::Index_< T >::getIndexParameters ( )
inline
template<typename T >
::cvflann::IndexParams cv::flann::Index_< T >::getParameters ( )
inline
template<typename T >
void cv::flann::Index_< T >::knnSearch ( const vector< ElementType > &  query,
vector< int > &  indices,
vector< DistanceType > &  dists,
int  knn,
const ::cvflann::SearchParams params 
)
template<typename T >
void cv::flann::Index_< T >::knnSearch ( const Mat queries,
Mat indices,
Mat dists,
int  knn,
const ::cvflann::SearchParams params 
)
template<typename T >
int cv::flann::Index_< T >::radiusSearch ( const vector< ElementType > &  query,
vector< int > &  indices,
vector< DistanceType > &  dists,
DistanceType  radius,
const ::cvflann::SearchParams params 
)
template<typename T >
int cv::flann::Index_< T >::radiusSearch ( const Mat query,
Mat indices,
Mat dists,
DistanceType  radius,
const ::cvflann::SearchParams params 
)
template<typename T >
void cv::flann::Index_< T >::save ( std::string  filename)
inline
template<typename T >
int cv::flann::Index_< T >::size ( ) const
inline
template<typename T >
int cv::flann::Index_< T >::veclen ( ) const
inline

The documentation for this class was generated from the following file: