Home
last modified time | relevance | path

Searched refs:cutval (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/modules/flann/include/opencv2/flann/
Dkdtree_single_index.h364 DistanceType cutval; in divideTree() local
365 middleSplit_(&vind_[0]+left, right-left, idx, cutfeat, cutval, bbox); in divideTree()
370 left_bbox[cutfeat].high = cutval; in divideTree()
374 right_bbox[cutfeat].low = cutval; in divideTree()
400 …void middleSplit(int* ind, int count, int& index, int& cutfeat, DistanceType& cutval, const Boundi… in middleSplit() argument
405 cutval = (bbox[0].high+bbox[0].low)/2; in middleSplit()
411 cutval = (bbox[i].high+bbox[i].low)/2; in middleSplit()
418 cutval = (min_elem+max_elem)/2; in middleSplit()
432 cutval = (min_elem+max_elem)/2; in middleSplit()
437 planeSplit(ind, count, cutfeat, cutval, lim1, lim2); in middleSplit()
[all …]
Dkdtree_index.h288 DistanceType cutval; in divideTree() local
289 meanSplit(ind, count, idx, cutfeat, cutval); in divideTree()
292 node->divval = cutval; in divideTree()
306 void meanSplit(int* ind, int count, int& index, int& cutfeat, DistanceType& cutval) in meanSplit() argument
335 cutval = mean_[cutfeat]; in meanSplit()
338 planeSplit(ind, count, cutfeat, cutval, lim1, lim2); in meanSplit()
393 void planeSplit(int* ind, int count, int cutfeat, DistanceType cutval, int& lim1, int& lim2) in planeSplit() argument
399 while (left<=right && dataset_[ind[left]][cutfeat]<cutval) ++left; in planeSplit()
400 while (left<=right && dataset_[ind[right]][cutfeat]>=cutval) --right; in planeSplit()
407 while (left<=right && dataset_[ind[left]][cutfeat]<=cutval) ++left; in planeSplit()
[all …]