OpenCV  2.4.13.7
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

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

Detailed Description

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

Deprecated:
Use GenericIndex class instead

Member Typedef Documentation

§ DistanceType

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

§ ElementType

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

Constructor & Destructor Documentation

§ Index_()

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

§ ~Index_()

template<typename T >
cv::flann::Index_< T >::~Index_ ( )

Member Function Documentation

§ getIndexParameters()

template<typename T >
FLANN_DEPRECATEDconst ::cvflann::IndexParams* cv::flann::Index_< T >::getIndexParameters ( )
inline

§ getParameters()

template<typename T >
FLANN_DEPRECATED ::cvflann::IndexParams cv::flann::Index_< T >::getParameters ( )
inline

§ knnSearch() [1/2]

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 
)

§ knnSearch() [2/2]

template<typename T >
void cv::flann::Index_< T >::knnSearch ( const Mat queries,
Mat indices,
Mat dists,
int  knn,
const ::cvflann::SearchParams params 
)

§ radiusSearch() [1/2]

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 
)

§ radiusSearch() [2/2]

template<typename T >
int cv::flann::Index_< T >::radiusSearch ( const Mat query,
Mat indices,
Mat dists,
DistanceType  radius,
const ::cvflann::SearchParams params 
)

§ save()

template<typename T >
FLANN_DEPRECATED void cv::flann::Index_< T >::save ( std::string  filename)
inline

§ size()

template<typename T >
FLANN_DEPRECATED int cv::flann::Index_< T >::size ( ) const
inline

§ veclen()

template<typename T >
FLANN_DEPRECATED int cv::flann::Index_< T >::veclen ( ) const
inline

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