DistanceType 103 modules/features2d/test/test_descriptors_regression.cpp CV_DescriptorExtractorTest( const string _name, DistanceType _maxDist, const Ptr<DescriptorExtractor>& _dextractor, DistanceType 125 modules/features2d/test/test_descriptors_regression.cpp DistanceType curMaxDist = std::numeric_limits<DistanceType>::min(); DistanceType 128 modules/features2d/test/test_descriptors_regression.cpp DistanceType dist = distance( validDescriptors.ptr<ValueType>(y), calcDescriptors.ptr<ValueType>(y), dimension ); DistanceType 300 modules/features2d/test/test_descriptors_regression.cpp const DistanceType maxDist; DistanceType 316 modules/features2d/test/test_descriptors_regression.cpp (CV_DescriptorExtractorTest<Hamming>::DistanceType)2.f, DistanceType 326 modules/features2d/test/test_descriptors_regression.cpp (CV_DescriptorExtractorTest<Hamming>::DistanceType)25.f, DistanceType 328 modules/features2d/test/test_descriptors_regression.cpp (CV_DescriptorExtractorTest<Hamming>::DistanceType)12.f, DistanceType 345 modules/features2d/test/test_descriptors_regression.cpp (CV_DescriptorExtractorTest<Hamming>::DistanceType)12.f, DistanceType 217 modules/flann/include/opencv2/flann.hpp std::vector<DistanceType>& dists, int knn, const ::cvflann::SearchParams& params); DistanceType 221 modules/flann/include/opencv2/flann.hpp std::vector<DistanceType>& dists, DistanceType radius, const ::cvflann::SearchParams& params); DistanceType 223 modules/flann/include/opencv2/flann.hpp DistanceType radius, const ::cvflann::SearchParams& params); DistanceType 271 modules/flann/include/opencv2/flann.hpp void GenericIndex<Distance>::knnSearch(const std::vector<ElementType>& query, std::vector<int>& indices, std::vector<DistanceType>& dists, int knn, const ::cvflann::SearchParams& searchParams) DistanceType 275 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<DistanceType> m_dists(&dists[0], 1, dists.size()); DistanceType 294 modules/flann/include/opencv2/flann.hpp CV_Assert(dists.type() == CvType<DistanceType>::type()); DistanceType 296 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<DistanceType> m_dists((DistanceType*)dists.ptr<DistanceType>(0), dists.rows, dists.cols); DistanceType 304 modules/flann/include/opencv2/flann.hpp int GenericIndex<Distance>::radiusSearch(const std::vector<ElementType>& query, std::vector<int>& indices, std::vector<DistanceType>& dists, DistanceType radius, const ::cvflann::SearchParams& searchParams) DistanceType 308 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<DistanceType> m_dists(&dists[0], 1, dists.size()); DistanceType 316 modules/flann/include/opencv2/flann.hpp int GenericIndex<Distance>::radiusSearch(const Mat& query, Mat& indices, Mat& dists, DistanceType radius, const ::cvflann::SearchParams& searchParams) DistanceType 326 modules/flann/include/opencv2/flann.hpp CV_Assert(dists.type() == CvType<DistanceType>::type()); DistanceType 328 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<DistanceType> m_dists((DistanceType*)dists.ptr<DistanceType>(0), dists.rows, dists.cols); DistanceType 354 modules/flann/include/opencv2/flann.hpp void knnSearch(const std::vector<ElementType>& query, std::vector<int>& indices, std::vector<DistanceType>& dists, int knn, const ::cvflann::SearchParams& params); DistanceType 357 modules/flann/include/opencv2/flann.hpp int radiusSearch(const std::vector<ElementType>& query, std::vector<int>& indices, std::vector<DistanceType>& dists, DistanceType radius, const ::cvflann::SearchParams& params); DistanceType 358 modules/flann/include/opencv2/flann.hpp int radiusSearch(const Mat& query, Mat& indices, Mat& dists, DistanceType radius, const ::cvflann::SearchParams& params); DistanceType 438 modules/flann/include/opencv2/flann.hpp void Index_<T>::knnSearch(const std::vector<ElementType>& query, std::vector<int>& indices, std::vector<DistanceType>& dists, int knn, const ::cvflann::SearchParams& searchParams) DistanceType 442 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<DistanceType> m_dists(&dists[0], 1, dists.size()); DistanceType 460 modules/flann/include/opencv2/flann.hpp CV_Assert(dists.type() == CvType<DistanceType>::type()); DistanceType 462 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<DistanceType> m_dists((DistanceType*)dists.ptr<DistanceType>(0), dists.rows, dists.cols); DistanceType 469 modules/flann/include/opencv2/flann.hpp int Index_<T>::radiusSearch(const std::vector<ElementType>& query, std::vector<int>& indices, std::vector<DistanceType>& dists, DistanceType radius, const ::cvflann::SearchParams& searchParams) DistanceType 473 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<DistanceType> m_dists(&dists[0], 1, dists.size()); DistanceType 480 modules/flann/include/opencv2/flann.hpp int Index_<T>::radiusSearch(const Mat& query, Mat& indices, Mat& dists, DistanceType radius, const ::cvflann::SearchParams& searchParams) DistanceType 490 modules/flann/include/opencv2/flann.hpp CV_Assert(dists.type() == CvType<DistanceType>::type()); DistanceType 492 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<DistanceType> m_dists((DistanceType*)dists.ptr<DistanceType>(0), dists.rows, dists.cols); DistanceType 528 modules/flann/include/opencv2/flann.hpp CV_Assert(centers.type() == CvType<DistanceType>::type()); DistanceType 530 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<DistanceType> m_centers((DistanceType*)centers.ptr<DistanceType>(0), centers.rows, centers.cols); DistanceType 151 modules/flann/include/opencv2/flann/autotuned_index.h virtual void findNeighbors(ResultSet<DistanceType>& result, const ElementType* vec, const SearchParams& searchParams) DistanceType 175 modules/flann/include/opencv2/flann/composite_index.h void findNeighbors(ResultSet<DistanceType>& result, const ElementType* vec, const SearchParams& searchParams) DistanceType 214 modules/flann/include/opencv2/flann/flann_base.hpp void knnSearch(const Matrix<ElementType>& queries, Matrix<int>& indices, Matrix<DistanceType>& dists, int knn, const SearchParams& params) DistanceType 228 modules/flann/include/opencv2/flann/flann_base.hpp int radiusSearch(const Matrix<ElementType>& query, Matrix<int>& indices, Matrix<DistanceType>& dists, float radius, const SearchParams& params) DistanceType 236 modules/flann/include/opencv2/flann/flann_base.hpp void findNeighbors(ResultSet<DistanceType>& result, const ElementType* vec, const SearchParams& searchParams) DistanceType 49 modules/flann/include/opencv2/flann/ground_truth.h std::vector<DistanceType> dists(n); DistanceType 56 modules/flann/include/opencv2/flann/ground_truth.h DistanceType tmp = distance(dataset[i], query, dataset.cols); DistanceType 127 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType sq = distance(dataset[centers[index]], dataset[centers[j]], dataset.cols); DistanceType 162 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType best_val = 0; DistanceType 164 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType dist = distance(dataset[centers[0]],dataset[dsindices[j]],dataset.cols); DistanceType 166 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType tmp_dist = distance(dataset[centers[i]],dataset[dsindices[j]],dataset.cols); DistanceType 205 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType* closestDistSq = new DistanceType[n]; DistanceType 243 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType dist = distance(dataset[dsindices[i]], dataset[dsindices[index]], dataset.cols); DistanceType 258 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType dist = distance(dataset[dsindices[i]], dataset[dsindices[bestNewIndex]], dataset.cols); DistanceType 292 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType* closestDistSq = new DistanceType[n]; DistanceType 311 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType furthest = 0; DistanceType 547 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h void findNeighbors(ResultSet<DistanceType>& result, const ElementType* vec, const SearchParams& searchParams) DistanceType 613 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h typedef BranchStruct<NodePtr, DistanceType> BranchSt; DistanceType 652 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h void computeLabels(int* dsindices, int indices_length, int* centers, int centers_length, int* labels, DistanceType& cost) DistanceType 657 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType dist = distance(point, dataset[centers[0]], veclen_); DistanceType 660 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType new_dist = distance(point, dataset[centers[j]], veclen_); DistanceType 708 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType cost; DistanceType 746 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h void findNN(NodePtr node, ResultSet<DistanceType>& result, const ElementType* vec, int& checks, int maxChecks, DistanceType 756 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType dist = distance(dataset[index], vec, veclen_); DistanceType 764 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType* domain_distances = new DistanceType[branching_]; DistanceType 69 modules/flann/include/opencv2/flann/index_testing.h DistanceType ret = 0; DistanceType 71 modules/flann/include/opencv2/flann/index_testing.h DistanceType den = distance(inputData[groundTruth[i]], target, veclen); DistanceType 72 modules/flann/include/opencv2/flann/index_testing.h DistanceType num = distance(inputData[neighbors[i]], target, veclen); DistanceType 98 modules/flann/include/opencv2/flann/index_testing.h KNNResultSet<DistanceType> resultSet(nn+skipMatches); DistanceType 102 modules/flann/include/opencv2/flann/index_testing.h std::vector<DistanceType> dists(nn+skipMatches); DistanceType 106 modules/flann/include/opencv2/flann/index_testing.h DistanceType distR = 0; DistanceType 147 modules/flann/include/opencv2/flann/index_testing.h DistanceType dist = 0; DistanceType 169 modules/flann/include/opencv2/flann/index_testing.h DistanceType dist; DistanceType 251 modules/flann/include/opencv2/flann/index_testing.h DistanceType dist; DistanceType 100 modules/flann/include/opencv2/flann/kdtree_index.h mean_ = new DistanceType[veclen_]; DistanceType 101 modules/flann/include/opencv2/flann/kdtree_index.h var_ = new DistanceType[veclen_]; DistanceType 199 modules/flann/include/opencv2/flann/kdtree_index.h void findNeighbors(ResultSet<DistanceType>& result, const ElementType* vec, const SearchParams& searchParams) DistanceType 230 modules/flann/include/opencv2/flann/kdtree_index.h DistanceType divval; DistanceType 237 modules/flann/include/opencv2/flann/kdtree_index.h typedef BranchStruct<NodePtr, DistanceType> BranchSt; DistanceType 288 modules/flann/include/opencv2/flann/kdtree_index.h DistanceType cutval; DistanceType 306 modules/flann/include/opencv2/flann/kdtree_index.h void meanSplit(int* ind, int count, int& index, int& cutfeat, DistanceType& cutval) DistanceType 308 modules/flann/include/opencv2/flann/kdtree_index.h memset(mean_,0,veclen_*sizeof(DistanceType)); DistanceType 309 modules/flann/include/opencv2/flann/kdtree_index.h memset(var_,0,veclen_*sizeof(DistanceType)); DistanceType 329 modules/flann/include/opencv2/flann/kdtree_index.h DistanceType dist = v[k] - mean_[k]; DistanceType 355 modules/flann/include/opencv2/flann/kdtree_index.h int selectDivision(DistanceType* v) DistanceType 393 modules/flann/include/opencv2/flann/kdtree_index.h void planeSplit(int* ind, int count, int cutfeat, DistanceType cutval, int& lim1, int& lim2) DistanceType 419 modules/flann/include/opencv2/flann/kdtree_index.h void getExactNeighbors(ResultSet<DistanceType>& result, const ElementType* vec, float epsError) DistanceType 437 modules/flann/include/opencv2/flann/kdtree_index.h void getNeighbors(ResultSet<DistanceType>& result, const ElementType* vec, int maxCheck, float epsError) DistanceType 467 modules/flann/include/opencv2/flann/kdtree_index.h void searchLevel(ResultSet<DistanceType>& result_set, const ElementType* vec, NodePtr node, DistanceType mindist, int& checkCount, int maxCheck, DistanceType 486 modules/flann/include/opencv2/flann/kdtree_index.h DistanceType dist = distance_(dataset_[index], vec, veclen_); DistanceType 494 modules/flann/include/opencv2/flann/kdtree_index.h DistanceType diff = val - node->divval; DistanceType 506 modules/flann/include/opencv2/flann/kdtree_index.h DistanceType new_distsq = mindist + distance_.accum_dist(val, node->divval, node->divfeat); DistanceType 519 modules/flann/include/opencv2/flann/kdtree_index.h void searchLevelExact(ResultSet<DistanceType>& result_set, const ElementType* vec, const NodePtr node, DistanceType mindist, const float epsError) DistanceType 524 modules/flann/include/opencv2/flann/kdtree_index.h DistanceType dist = distance_(dataset_[index], vec, veclen_); DistanceType 531 modules/flann/include/opencv2/flann/kdtree_index.h DistanceType diff = val - node->divval; DistanceType 543 modules/flann/include/opencv2/flann/kdtree_index.h DistanceType new_distsq = mindist + distance_.accum_dist(val, node->divval, node->divfeat); DistanceType 596 modules/flann/include/opencv2/flann/kdtree_index.h DistanceType* mean_; DistanceType 597 modules/flann/include/opencv2/flann/kdtree_index.h DistanceType* var_; DistanceType 212 modules/flann/include/opencv2/flann/kdtree_single_index.h void knnSearch(const Matrix<ElementType>& queries, Matrix<int>& indices, Matrix<DistanceType>& dists, int knn, const SearchParams& params) DistanceType 220 modules/flann/include/opencv2/flann/kdtree_single_index.h KNNSimpleResultSet<DistanceType> resultSet(knn); DistanceType 241 modules/flann/include/opencv2/flann/kdtree_single_index.h void findNeighbors(ResultSet<DistanceType>& result, const ElementType* vec, const SearchParams& searchParams) DistanceType 245 modules/flann/include/opencv2/flann/kdtree_single_index.h std::vector<DistanceType> dists(dim_,0); DistanceType 246 modules/flann/include/opencv2/flann/kdtree_single_index.h DistanceType distsq = computeInitialDistances(vec, dists); DistanceType 267 modules/flann/include/opencv2/flann/kdtree_single_index.h DistanceType divlow, divhigh; DistanceType 278 modules/flann/include/opencv2/flann/kdtree_single_index.h DistanceType low, high; DistanceType 283 modules/flann/include/opencv2/flann/kdtree_single_index.h typedef BranchStruct<NodePtr, DistanceType> BranchSt; DistanceType 318 modules/flann/include/opencv2/flann/kdtree_single_index.h bbox[i].low = (DistanceType)dataset_[0][i]; DistanceType 319 modules/flann/include/opencv2/flann/kdtree_single_index.h bbox[i].high = (DistanceType)dataset_[0][i]; DistanceType 323 modules/flann/include/opencv2/flann/kdtree_single_index.h if (dataset_[k][i]<bbox[i].low) bbox[i].low = (DistanceType)dataset_[k][i]; DistanceType 324 modules/flann/include/opencv2/flann/kdtree_single_index.h if (dataset_[k][i]>bbox[i].high) bbox[i].high = (DistanceType)dataset_[k][i]; DistanceType 351 modules/flann/include/opencv2/flann/kdtree_single_index.h bbox[i].low = (DistanceType)dataset_[vind_[left]][i]; DistanceType 352 modules/flann/include/opencv2/flann/kdtree_single_index.h bbox[i].high = (DistanceType)dataset_[vind_[left]][i]; DistanceType 356 modules/flann/include/opencv2/flann/kdtree_single_index.h if (bbox[i].low>dataset_[vind_[k]][i]) bbox[i].low=(DistanceType)dataset_[vind_[k]][i]; DistanceType 357 modules/flann/include/opencv2/flann/kdtree_single_index.h if (bbox[i].high<dataset_[vind_[k]][i]) bbox[i].high=(DistanceType)dataset_[vind_[k]][i]; DistanceType 364 modules/flann/include/opencv2/flann/kdtree_single_index.h DistanceType cutval; DistanceType 400 modules/flann/include/opencv2/flann/kdtree_single_index.h void middleSplit(int* ind, int count, int& index, int& cutfeat, DistanceType& cutval, const BoundingBox& bbox) DistanceType 445 modules/flann/include/opencv2/flann/kdtree_single_index.h void middleSplit_(int* ind, int count, int& index, int& cutfeat, DistanceType& cutval, const BoundingBox& bbox) DistanceType 448 modules/flann/include/opencv2/flann/kdtree_single_index.h DistanceType max_span = bbox[0].high-bbox[0].low; DistanceType 450 modules/flann/include/opencv2/flann/kdtree_single_index.h DistanceType span = bbox[i].high-bbox[i].low; DistanceType 455 modules/flann/include/opencv2/flann/kdtree_single_index.h DistanceType max_spread = -1; DistanceType 458 modules/flann/include/opencv2/flann/kdtree_single_index.h DistanceType span = bbox[i].high-bbox[i].low; DistanceType 459 modules/flann/include/opencv2/flann/kdtree_single_index.h if (span>(DistanceType)((1-EPS)*max_span)) { DistanceType 462 modules/flann/include/opencv2/flann/kdtree_single_index.h DistanceType spread = (DistanceType)(max_elem-min_elem); DistanceType 470 modules/flann/include/opencv2/flann/kdtree_single_index.h DistanceType split_val = (bbox[cutfeat].low+bbox[cutfeat].high)/2; DistanceType 474 modules/flann/include/opencv2/flann/kdtree_single_index.h if (split_val<min_elem) cutval = (DistanceType)min_elem; DistanceType 475 modules/flann/include/opencv2/flann/kdtree_single_index.h else if (split_val>max_elem) cutval = (DistanceType)max_elem; DistanceType 496 modules/flann/include/opencv2/flann/kdtree_single_index.h void planeSplit(int* ind, int count, int cutfeat, DistanceType cutval, int& lim1, int& lim2) DistanceType 521 modules/flann/include/opencv2/flann/kdtree_single_index.h DistanceType computeInitialDistances(const ElementType* vec, std::vector<DistanceType>& dists) DistanceType 523 modules/flann/include/opencv2/flann/kdtree_single_index.h DistanceType distsq = 0.0; DistanceType 542 modules/flann/include/opencv2/flann/kdtree_single_index.h void searchLevel(ResultSet<DistanceType>& result_set, const ElementType* vec, const NodePtr node, DistanceType mindistsq, DistanceType 543 modules/flann/include/opencv2/flann/kdtree_single_index.h std::vector<DistanceType>& dists, const float epsError) DistanceType 547 modules/flann/include/opencv2/flann/kdtree_single_index.h DistanceType worst_dist = result_set.worstDist(); DistanceType 550 modules/flann/include/opencv2/flann/kdtree_single_index.h DistanceType dist = distance_(vec, data_[index], dim_, worst_dist); DistanceType 561 modules/flann/include/opencv2/flann/kdtree_single_index.h DistanceType diff1 = val - node->divlow; DistanceType 562 modules/flann/include/opencv2/flann/kdtree_single_index.h DistanceType diff2 = val - node->divhigh; DistanceType 566 modules/flann/include/opencv2/flann/kdtree_single_index.h DistanceType cut_dist; DistanceType 581 modules/flann/include/opencv2/flann/kdtree_single_index.h DistanceType dst = dists[idx]; DistanceType 126 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType sq = distance_(dataset_[centers[index]], dataset_[centers[j]], dataset_.cols); DistanceType 161 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType best_val = 0; DistanceType 163 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType dist = distance_(dataset_[centers[0]],dataset_[indices[j]],dataset_.cols); DistanceType 165 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType tmp_dist = distance_(dataset_[centers[i]],dataset_[indices[j]],dataset_.cols); DistanceType 204 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType* closestDistSq = new DistanceType[n]; DistanceType 240 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType dist = distance_(dataset_[indices[i]], dataset_[indices[index]], dataset_.cols); DistanceType 255 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType dist = distance_(dataset_[indices[i]], dataset_[indices[bestNewIndex]], dataset_.cols); DistanceType 279 modules/flann/include/opencv2/flann/kmeans_index.h int* _count, int* _belongs_to, std::vector<DistanceType>& _radiuses, bool& _converged, cv::Mutex& _mtx) DistanceType 301 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType sq_dist = distance(dataset[indices[i]], dcenters[0], veclen); DistanceType 304 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType new_sq_dist = distance(dataset[indices[i]], dcenters[j], veclen); DistanceType 333 modules/flann/include/opencv2/flann/kmeans_index.h std::vector<DistanceType>& radiuses; DistanceType 496 modules/flann/include/opencv2/flann/kmeans_index.h void findNeighbors(ResultSet<DistanceType>& result, const ElementType* vec, const SearchParams& searchParams) DistanceType 530 modules/flann/include/opencv2/flann/kmeans_index.h int getClusterCenters(Matrix<DistanceType>& centers) DistanceType 537 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType variance; DistanceType 545 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType* center = clusters[i]->pivot; DistanceType 570 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType* pivot; DistanceType 574 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType radius; DistanceType 578 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType mean_radius; DistanceType 582 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType variance; DistanceType 605 modules/flann/include/opencv2/flann/kmeans_index.h typedef BranchStruct<KMeansNodePtr, DistanceType> BranchSt; DistanceType 630 modules/flann/include/opencv2/flann/kmeans_index.h node->pivot = new DistanceType[veclen_]; DistanceType 669 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType radius = 0; DistanceType 670 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType variance = 0; DistanceType 671 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType* mean = new DistanceType[veclen_]; DistanceType 672 modules/flann/include/opencv2/flann/kmeans_index.h memoryCounter_ += int(veclen_*sizeof(DistanceType)); DistanceType 674 modules/flann/include/opencv2/flann/kmeans_index.h memset(mean,0,veclen_*sizeof(DistanceType)); DistanceType 689 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType tmp = 0; DistanceType 748 modules/flann/include/opencv2/flann/kmeans_index.h std::vector<DistanceType> radiuses(branching); DistanceType 761 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType sq_dist = distance_(dataset_[indices[i]], dcenters[0], veclen_); DistanceType 764 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType new_sq_dist = distance_(dataset_[indices[i]], dcenters[j], veclen_); DistanceType 832 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType** centers = new DistanceType*[branching]; DistanceType 835 modules/flann/include/opencv2/flann/kmeans_index.h centers[i] = new DistanceType[veclen_]; DistanceType 836 modules/flann/include/opencv2/flann/kmeans_index.h memoryCounter_ += (int)(veclen_*sizeof(DistanceType)); DistanceType 838 modules/flann/include/opencv2/flann/kmeans_index.h centers[i][k] = (DistanceType)dcenters[i][k]; DistanceType 850 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType variance = 0; DistanceType 851 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType mean_radius =0; DistanceType 854 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType d = distance_(dataset_[indices[i]], ZeroIterator<ElementType>(), veclen_); DistanceType 892 modules/flann/include/opencv2/flann/kmeans_index.h void findNN(KMeansNodePtr node, ResultSet<DistanceType>& result, const ElementType* vec, int& checks, int maxChecks, DistanceType 897 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType bsq = distance_(vec, node->pivot, veclen_); DistanceType 898 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType rsq = node->radius; DistanceType 899 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType wsq = result.worstDist(); DistanceType 901 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType val = bsq-rsq-wsq; DistanceType 902 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType val2 = val*val-4*rsq*wsq; DistanceType 917 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType dist = distance_(dataset_[index], vec, veclen_); DistanceType 922 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType* domain_distances = new DistanceType[branching_]; DistanceType 937 modules/flann/include/opencv2/flann/kmeans_index.h int exploreNodeBranches(KMeansNodePtr node, const ElementType* q, DistanceType* domain_distances, Heap<BranchSt>* heap) DistanceType 969 modules/flann/include/opencv2/flann/kmeans_index.h void findExactNN(KMeansNodePtr node, ResultSet<DistanceType>& result, const ElementType* vec) DistanceType 973 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType bsq = distance_(vec, node->pivot, veclen_); DistanceType 974 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType rsq = node->radius; DistanceType 975 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType wsq = result.worstDist(); DistanceType 977 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType val = bsq-rsq-wsq; DistanceType 978 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType val2 = val*val-4*rsq*wsq; DistanceType 990 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType dist = distance_(dataset_[index], vec, veclen_); DistanceType 1015 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType* domain_distances = new DistanceType[branching_]; DistanceType 1017 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType dist = distance_(q, node->childs[i]->pivot, veclen_); DistanceType 1036 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType getDistanceToBorder(DistanceType* p, DistanceType* c, DistanceType* q) DistanceType 1038 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType sum = 0; DistanceType 1039 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType sum2 = 0; DistanceType 1042 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType t = c[i]-p[i]; DistanceType 1060 modules/flann/include/opencv2/flann/kmeans_index.h int getMinVarianceClusters(KMeansNodePtr root, KMeansNodePtr* clusters, int clusters_length, DistanceType& varianceValue) DistanceType 1065 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType meanVariance = root->variance*root->size; DistanceType 1068 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType minVariance = (std::numeric_limits<DistanceType>::max)(); DistanceType 1074 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType variance = meanVariance - clusters[i]->variance*clusters[i]->size; DistanceType 106 modules/flann/include/opencv2/flann/linear_index.h void findNeighbors(ResultSet<DistanceType>& resultSet, const ElementType* vec, const SearchParams& /*searchParams*/) DistanceType 110 modules/flann/include/opencv2/flann/linear_index.h DistanceType dist = distance_(data, vec, dataset_.cols); DistanceType 190 modules/flann/include/opencv2/flann/lsh_index.h virtual void knnSearch(const Matrix<ElementType>& queries, Matrix<int>& indices, Matrix<DistanceType>& dists, int knn, const SearchParams& params) DistanceType 199 modules/flann/include/opencv2/flann/lsh_index.h KNNUniqueResultSet<DistanceType> resultSet(knn); DistanceType 203 modules/flann/include/opencv2/flann/lsh_index.h std::fill_n(dists[i], knn, std::numeric_limits<DistanceType>::max()); DistanceType 220 modules/flann/include/opencv2/flann/lsh_index.h void findNeighbors(ResultSet<DistanceType>& result, const ElementType* vec, const SearchParams& /*searchParams*/) DistanceType 284 modules/flann/include/opencv2/flann/lsh_index.h DistanceType hamming_distance; DistanceType 322 modules/flann/include/opencv2/flann/lsh_index.h DistanceType hamming_distance; DistanceType 339 modules/flann/include/opencv2/flann/lsh_index.h void getNeighbors(const ElementType* vec, ResultSet<DistanceType>& result) DistanceType 355 modules/flann/include/opencv2/flann/lsh_index.h DistanceType hamming_distance; DistanceType 68 modules/flann/include/opencv2/flann/nn_index.h virtual void knnSearch(const Matrix<ElementType>& queries, Matrix<int>& indices, Matrix<DistanceType>& dists, int knn, const SearchParams& params) DistanceType 77 modules/flann/include/opencv2/flann/nn_index.h KNNResultSet<DistanceType> resultSet(knn); DistanceType 83 modules/flann/include/opencv2/flann/nn_index.h KNNUniqueResultSet<DistanceType> resultSet(knn); DistanceType 102 modules/flann/include/opencv2/flann/nn_index.h virtual int radiusSearch(const Matrix<ElementType>& query, Matrix<int>& indices, Matrix<DistanceType>& dists, float radius, const SearchParams& params) DistanceType 113 modules/flann/include/opencv2/flann/nn_index.h DistanceType* dists_ptr = NULL; DistanceType 120 modules/flann/include/opencv2/flann/nn_index.h RadiusUniqueResultSet<DistanceType> resultSet((DistanceType)radius); DistanceType 172 modules/flann/include/opencv2/flann/nn_index.h virtual void findNeighbors(ResultSet<DistanceType>& result, const ElementType* vec, const SearchParams& searchParams) = 0; DistanceType 49 modules/flann/include/opencv2/flann/result_set.h template <typename T, typename DistanceType> DistanceType 53 modules/flann/include/opencv2/flann/result_set.h DistanceType mindist; /* Minimum distance to query for all nodes below. */ DistanceType 56 modules/flann/include/opencv2/flann/result_set.h BranchStruct(const T& aNode, DistanceType dist) : node(aNode), mindist(dist) {} DistanceType 58 modules/flann/include/opencv2/flann/result_set.h bool operator<(const BranchStruct<T, DistanceType>& rhs) const DistanceType 65 modules/flann/include/opencv2/flann/result_set.h template <typename DistanceType> DistanceType 73 modules/flann/include/opencv2/flann/result_set.h virtual void addPoint(DistanceType dist, int index) = 0; DistanceType 75 modules/flann/include/opencv2/flann/result_set.h virtual DistanceType worstDist() const = 0; DistanceType 84 modules/flann/include/opencv2/flann/result_set.h template <typename DistanceType> DistanceType 85 modules/flann/include/opencv2/flann/result_set.h class KNNSimpleResultSet : public ResultSet<DistanceType> DistanceType 88 modules/flann/include/opencv2/flann/result_set.h DistanceType* dists; DistanceType 91 modules/flann/include/opencv2/flann/result_set.h DistanceType worst_distance_; DistanceType 98 modules/flann/include/opencv2/flann/result_set.h void init(int* indices_, DistanceType* dists_) DistanceType 103 modules/flann/include/opencv2/flann/result_set.h worst_distance_ = (std::numeric_limits<DistanceType>::max)(); DistanceType 118 modules/flann/include/opencv2/flann/result_set.h void addPoint(DistanceType dist, int index) DistanceType 142 modules/flann/include/opencv2/flann/result_set.h DistanceType worstDist() const DistanceType 151 modules/flann/include/opencv2/flann/result_set.h template <typename DistanceType> DistanceType 152 modules/flann/include/opencv2/flann/result_set.h class KNNResultSet : public ResultSet<DistanceType> DistanceType 155 modules/flann/include/opencv2/flann/result_set.h DistanceType* dists; DistanceType 158 modules/flann/include/opencv2/flann/result_set.h DistanceType worst_distance_; DistanceType 165 modules/flann/include/opencv2/flann/result_set.h void init(int* indices_, DistanceType* dists_) DistanceType 170 modules/flann/include/opencv2/flann/result_set.h worst_distance_ = (std::numeric_limits<DistanceType>::max)(); DistanceType 185 modules/flann/include/opencv2/flann/result_set.h void addPoint(DistanceType dist, int index) DistanceType 218 modules/flann/include/opencv2/flann/result_set.h DistanceType worstDist() const DistanceType 228 modules/flann/include/opencv2/flann/result_set.h template <typename DistanceType> DistanceType 229 modules/flann/include/opencv2/flann/result_set.h class RadiusResultSet : public ResultSet<DistanceType> DistanceType 231 modules/flann/include/opencv2/flann/result_set.h DistanceType radius; DistanceType 233 modules/flann/include/opencv2/flann/result_set.h DistanceType* dists; DistanceType 238 modules/flann/include/opencv2/flann/result_set.h RadiusResultSet(DistanceType radius_, int* indices_, DistanceType* dists_, int capacity_) : DistanceType 263 modules/flann/include/opencv2/flann/result_set.h void addPoint(DistanceType dist, int index) DistanceType 274 modules/flann/include/opencv2/flann/result_set.h DistanceType worstDist() const DistanceType 286 modules/flann/include/opencv2/flann/result_set.h template<typename DistanceType> DistanceType 287 modules/flann/include/opencv2/flann/result_set.h class UniqueResultSet : public ResultSet<DistanceType> DistanceType 292 modules/flann/include/opencv2/flann/result_set.h DistIndex(DistanceType dist, unsigned int index) : DistanceType 300 modules/flann/include/opencv2/flann/result_set.h DistanceType dist_; DistanceType 306 modules/flann/include/opencv2/flann/result_set.h worst_distance_(std::numeric_limits<DistanceType>::max()) DistanceType 327 modules/flann/include/opencv2/flann/result_set.h virtual void copy(int* indices, DistanceType* dist, int n_neighbors = -1) const DistanceType 351 modules/flann/include/opencv2/flann/result_set.h virtual void sortAndCopy(int* indices, DistanceType* dist, int n_neighbors = -1) const DistanceType 368 modules/flann/include/opencv2/flann/result_set.h inline DistanceType worstDist() const DistanceType 377 modules/flann/include/opencv2/flann/result_set.h DistanceType worst_distance_; DistanceType 388 modules/flann/include/opencv2/flann/result_set.h template<typename DistanceType> DistanceType 389 modules/flann/include/opencv2/flann/result_set.h class KNNUniqueResultSet : public UniqueResultSet<DistanceType> DistanceType 405 modules/flann/include/opencv2/flann/result_set.h inline void addPoint(DistanceType dist, int index) DistanceType 428 modules/flann/include/opencv2/flann/result_set.h worst_distance_ = std::numeric_limits<DistanceType>::max(); DistanceType 433 modules/flann/include/opencv2/flann/result_set.h typedef typename UniqueResultSet<DistanceType>::DistIndex DistIndex; DistanceType 434 modules/flann/include/opencv2/flann/result_set.h using UniqueResultSet<DistanceType>::is_full_; DistanceType 435 modules/flann/include/opencv2/flann/result_set.h using UniqueResultSet<DistanceType>::worst_distance_; DistanceType 436 modules/flann/include/opencv2/flann/result_set.h using UniqueResultSet<DistanceType>::dist_indices_; DistanceType 447 modules/flann/include/opencv2/flann/result_set.h template<typename DistanceType> DistanceType 448 modules/flann/include/opencv2/flann/result_set.h class RadiusUniqueResultSet : public UniqueResultSet<DistanceType> DistanceType 454 modules/flann/include/opencv2/flann/result_set.h RadiusUniqueResultSet(DistanceType radius) : DistanceType 464 modules/flann/include/opencv2/flann/result_set.h void addPoint(DistanceType dist, int index) DistanceType 489 modules/flann/include/opencv2/flann/result_set.h inline DistanceType worstDist() const DistanceType 494 modules/flann/include/opencv2/flann/result_set.h typedef typename UniqueResultSet<DistanceType>::DistIndex DistIndex; DistanceType 495 modules/flann/include/opencv2/flann/result_set.h using UniqueResultSet<DistanceType>::dist_indices_; DistanceType 496 modules/flann/include/opencv2/flann/result_set.h using UniqueResultSet<DistanceType>::is_full_; DistanceType 499 modules/flann/include/opencv2/flann/result_set.h DistanceType radius_; DistanceType 506 modules/flann/include/opencv2/flann/result_set.h template<typename DistanceType> DistanceType 507 modules/flann/include/opencv2/flann/result_set.h class KNNRadiusUniqueResultSet : public KNNUniqueResultSet<DistanceType> DistanceType 514 modules/flann/include/opencv2/flann/result_set.h KNNRadiusUniqueResultSet(unsigned int capacity, DistanceType radius) DistanceType 531 modules/flann/include/opencv2/flann/result_set.h using KNNUniqueResultSet<DistanceType>::dist_indices_; DistanceType 532 modules/flann/include/opencv2/flann/result_set.h using KNNUniqueResultSet<DistanceType>::is_full_; DistanceType 533 modules/flann/include/opencv2/flann/result_set.h using KNNUniqueResultSet<DistanceType>::worst_distance_; DistanceType 539 modules/flann/include/opencv2/flann/result_set.h DistanceType radius_; DistanceType 468 modules/flann/src/miniflann.cpp int dtype = DataType<DistanceType>::type; DistanceType 474 modules/flann/src/miniflann.cpp ::cvflann::Matrix<DistanceType> _dists(dists.ptr<DistanceType>(), dists.rows, dists.cols); DistanceType 494 modules/flann/src/miniflann.cpp int dtype = DataType<DistanceType>::type; DistanceType 500 modules/flann/src/miniflann.cpp ::cvflann::Matrix<DistanceType> _dists(dists.ptr<DistanceType>(), dists.rows, dists.cols); DistanceType 33 modules/imgproc/perf/perf_distanceTransform.cpp CV_ENUM(DistanceType, DIST_L1, DIST_L2 , DIST_C) DistanceType 38 modules/imgproc/perf/perf_distanceTransform.cpp typedef std::tr1::tuple<Size, DistanceType, MaskSize, DstType> SrcSize_DistType_MaskSize_DstType; DistanceType 46 modules/imgproc/perf/perf_distanceTransform.cpp DistanceType::all(), DistanceType 75 modules/imgproc/perf/perf_distanceTransform.cpp DistanceType::all(),