OpenCV  3.1.0
Open Source Computer Vision
Public Types | Public Member Functions | List of all members
cv::flann::Index_< T > Class Template Reference

#include "flann.hpp"

Public Types

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

Public Member Functions

 Index_ (const Mat &features, const ::cvflann::IndexParams &params)
 
 ~Index_ ()
 
const ::cvflann::IndexParamsgetIndexParameters ()
 
::cvflann::IndexParams getParameters ()
 
void knnSearch (const std::vector< ElementType > &query, std::vector< int > &indices, std::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 std::vector< ElementType > &query, std::vector< int > &indices, std::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 (String filename)
 
int size () const
 
int veclen () const
 

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 >
const ::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 std::vector< ElementType > &  query,
std::vector< int > &  indices,
std::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 std::vector< ElementType > &  query,
std::vector< int > &  indices,
std::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 ( 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: