Home
last modified time | relevance | path

Searched refs:nnIndex (Results 1 – 3 of 3) sorted by relevance

/external/opencv3/modules/flann/include/opencv2/flann/
Dall_indices.h56 NNIndex<Distance>* nnIndex; in create() local
59 nnIndex = new LinearIndex<Distance>(dataset, params, distance); in create()
62 nnIndex = new KDTreeSingleIndex<Distance>(dataset, params, distance); in create()
65 nnIndex = new KDTreeIndex<Distance>(dataset, params, distance); in create()
68 nnIndex = new KMeansIndex<Distance>(dataset, params, distance); in create()
71 nnIndex = new CompositeIndex<Distance>(dataset, params, distance); in create()
74 nnIndex = new AutotunedIndex<Distance>(dataset, params, distance); in create()
77 nnIndex = new HierarchicalClusteringIndex<Distance>(dataset, params, distance); in create()
80 nnIndex = new LshIndex<Distance>(dataset, params, distance); in create()
86 return nnIndex; in create()
[all …]
Dflann_base.hpp91 NNIndex<Distance>* nnIndex = create_index_by_type<Distance>(dataset, params, distance); in load_saved_index() local
92 nnIndex->loadIndex(fin); in load_saved_index()
95 return nnIndex; in load_saved_index()
/external/opencv3/modules/flann/include/opencv2/
Dflann.hpp225 void save(String filename) { nnIndex->save(filename); } in save()
227 int veclen() const { return nnIndex->veclen(); } in veclen()
229 int size() const { return nnIndex->size(); } in size()
231 ::cvflann::IndexParams getParameters() { return nnIndex->getParameters(); } in getParameters()
233 …FLANN_DEPRECATED const ::cvflann::IndexParams* getIndexParameters() { return nnIndex->getIndexPara… in getIndexParameters()
236 ::cvflann::Index<Distance>* nnIndex;
257 nnIndex = new ::cvflann::Index<Distance>(m_dataset, params, distance); in GenericIndex()
261 nnIndex->buildIndex(); in GenericIndex()
267 delete nnIndex; in ~GenericIndex()
279 nnIndex->knnSearch(m_query,m_indices,m_dists,knn,searchParams); in knnSearch()
[all …]