distance 2009 3rdparty/include/ffmpeg_/libavformat/avformat.h int size, int distance, int flags); distance 706 3rdparty/libpng/pngrtran.c png_bytep distance; distance 717 3rdparty/libpng/pngrtran.c distance = (png_bytep)png_malloc(png_ptr, (png_uint_32)(num_entries * distance 720 3rdparty/libpng/pngrtran.c png_memset(distance, 0xff, num_entries * png_sizeof(png_byte)); distance 752 3rdparty/libpng/pngrtran.c if (d < (int)distance[d_index]) distance 754 3rdparty/libpng/pngrtran.c distance[d_index] = (png_byte)d; distance 762 3rdparty/libpng/pngrtran.c png_free(png_ptr, distance); distance 184 3rdparty/libwebp/enc/backward_references.c uint32_t distance; distance 198 3rdparty/libwebp/enc/backward_references.c distance = (uint32_t)(base_position - pos); distance 201 3rdparty/libwebp/enc/backward_references.c if (distance < 9 * xsize) { distance 202 3rdparty/libwebp/enc/backward_references.c const uint32_t y = distance / xsize; distance 203 3rdparty/libwebp/enc/backward_references.c uint32_t x = distance % xsize; distance 215 3rdparty/libwebp/enc/backward_references.c best_distance = distance; distance 219 3rdparty/libwebp/enc/backward_references.c if ((best_distance == 1 || distance == xsize) && distance 468 3rdparty/libwebp/enc/backward_references.c uint32_t distance) { distance 470 3rdparty/libwebp/enc/backward_references.c PrefixEncode(distance, &code, &extra_bits_count, &extra_bits_value); distance 84 3rdparty/libwebp/enc/backward_references.h static WEBP_INLINE void PrefixEncode(int distance, int* const code, distance 87 3rdparty/libwebp/enc/backward_references.h if (distance > 2) { // Collect the two most significant bits. distance 88 3rdparty/libwebp/enc/backward_references.h const int highest_bit = BitsLog2Floor(--distance); distance 89 3rdparty/libwebp/enc/backward_references.h const int second_highest_bit = (distance >> (highest_bit - 1)) & 1; distance 91 3rdparty/libwebp/enc/backward_references.h *extra_bits_value = distance & ((1 << *extra_bits_count) - 1); distance 96 3rdparty/libwebp/enc/backward_references.h *code = (distance == 2) ? 1 : 0; distance 117 3rdparty/libwebp/enc/backward_references.h static WEBP_INLINE PixOrCopy PixOrCopyCreateCopy(uint32_t distance, distance 121 3rdparty/libwebp/enc/backward_references.h retval.argb_or_distance = distance; distance 452 3rdparty/libwebp/enc/vp8l.c int code, distance; distance 458 3rdparty/libwebp/enc/vp8l.c distance = PixOrCopyDistance(v); distance 459 3rdparty/libwebp/enc/vp8l.c PrefixEncode(distance, &code, &n_bits, &bits); distance 223 3rdparty/openexr/Imath/ImathFrustumTest.h planeOffsetVec[i] = Vec3<T>(frustumPlanes[index + 0].distance, distance 224 3rdparty/openexr/Imath/ImathFrustumTest.h frustumPlanes[index + 1].distance, distance 225 3rdparty/openexr/Imath/ImathFrustumTest.h frustumPlanes[index + 2].distance); distance 67 3rdparty/openexr/Imath/ImathPlane.h T distance; distance 70 3rdparty/openexr/Imath/ImathPlane.h Plane3(const Vec3<T> &normal, T distance); distance 81 3rdparty/openexr/Imath/ImathPlane.h T distance); distance 146 3rdparty/openexr/Imath/ImathPlane.h distance = normal ^ point1; distance 154 3rdparty/openexr/Imath/ImathPlane.h distance = normal ^ point; distance 162 3rdparty/openexr/Imath/ImathPlane.h distance = d; distance 168 3rdparty/openexr/Imath/ImathPlane.h return (point ^ normal) - distance; distance 190 3rdparty/openexr/Imath/ImathPlane.h T t = - ((normal ^ line.pos) - distance) / d; distance 200 3rdparty/openexr/Imath/ImathPlane.h t = - ((normal ^ line.pos) - distance) / d; distance 207 3rdparty/openexr/Imath/ImathPlane.h return o << "(" << plane.normal << ", " << plane.distance distance 240 3rdparty/openexr/Imath/ImathPlane.h Vec3<T> point = plane.distance * plane.normal; distance 250 3rdparty/openexr/Imath/ImathPlane.h return Plane3<T>(-plane.normal,-plane.distance); distance 330 3rdparty/zlib/deflate.h # define _tr_tally_dist(s, distance, length, flush) \ distance 332 3rdparty/zlib/deflate.h ush dist = (distance); \ distance 342 3rdparty/zlib/deflate.h # define _tr_tally_dist(s, distance, length, flush) \ distance 343 3rdparty/zlib/deflate.h flush = _tr_tally(s, distance, length) distance 656 modules/calib3d/test/test_homography.cpp double dist = matches[i].distance; distance 665 modules/calib3d/test/test_homography.cpp if( matches[i].distance <= 100 ) distance 739 modules/core/include/opencv2/core/types.hpp CV_PROP_RW float distance; distance 2209 modules/core/include/opencv2/core/types.hpp return distance < m.distance; distance 25 modules/core/misc/java/src/java/core+DMatch.java public float distance; distance 37 modules/core/misc/java/src/java/core+DMatch.java distance = _distance; distance 45 modules/core/misc/java/src/java/core+DMatch.java distance = _distance; distance 52 modules/core/misc/java/src/java/core+DMatch.java return distance < it.distance; distance 58 modules/core/misc/java/src/java/core+DMatch.java + ", imgIdx=" + imgIdx + ", distance=" + distance + "]"; distance 57 modules/core/misc/java/src/java/core+MatOfDMatch.java buff[_channels*i+3] = m.distance; distance 17 modules/core/misc/java/test/DMatchTest.java assertEquals(4.0f, dm1.distance); distance 26 modules/core/misc/java/test/DMatchTest.java assertEquals(8.0f, dm2.distance); distance 5609 modules/core/src/persistence.cpp cv::write(fs, m.distance); distance 5620 modules/core/src/persistence.cpp it >> m.queryIdx >> m.trainIdx >> m.imgIdx >> m.distance; distance 59 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzi& trainIdx, const PtrStepSzf& distance, distance 62 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzi& trainIdx, const PtrStepSzf& distance, distance 65 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzi& trainIdx, const PtrStepSzf& distance, distance 69 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzi& trainIdx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance, distance 72 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzi& trainIdx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance, distance 75 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzi& trainIdx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance, distance 82 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzb& trainIdx, const PtrStepSzb& distance, const PtrStepSzf& allDist, distance 85 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzb& trainIdx, const PtrStepSzb& distance, const PtrStepSzf& allDist, distance 88 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzb& trainIdx, const PtrStepSzb& distance, const PtrStepSzf& allDist, distance 92 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzb& trainIdx, const PtrStepSzb& imgIdx, const PtrStepSzb& distance, distance 95 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzb& trainIdx, const PtrStepSzb& imgIdx, const PtrStepSzb& distance, distance 98 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzb& trainIdx, const PtrStepSzb& imgIdx, const PtrStepSzb& distance, distance 105 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzi& trainIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches, distance 108 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzi& trainIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches, distance 111 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzi& trainIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches, distance 115 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzi& trainIdx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches, distance 119 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzi& trainIdx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches, distance 123 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzi& trainIdx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches, distance 336 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzi& trainIdx, const PtrStepSzf& distance, distance 372 modules/cudafeatures2d/src/brute_force_matcher.cpp GpuMat distance(1, nQuery, CV_32FC1, matches.ptr(1)); distance 374 modules/cudafeatures2d/src/brute_force_matcher.cpp func(query, train, mask, trainIdx, distance, StreamAccessor::getStream(stream)); distance 398 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzi& trainIdx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance, distance 435 modules/cudafeatures2d/src/brute_force_matcher.cpp GpuMat distance(1, nQuery, CV_32FC1, matches.ptr(2)); distance 437 modules/cudafeatures2d/src/brute_force_matcher.cpp func(query, trainCollection, maskCollection, trainIdx, imgIdx, distance, StreamAccessor::getStream(stream)); distance 489 modules/cudafeatures2d/src/brute_force_matcher.cpp const float distance = distancePtr[queryIdx]; distance 491 modules/cudafeatures2d/src/brute_force_matcher.cpp DMatch m(queryIdx, trainIdx, imgIdx, distance); distance 596 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzb& trainIdx, const PtrStepSzb& distance, const PtrStepSzf& allDist, distance 629 modules/cudafeatures2d/src/brute_force_matcher.cpp GpuMat trainIdx, distance, allDist; distance 636 modules/cudafeatures2d/src/brute_force_matcher.cpp distance = GpuMat(1, nQuery, CV_32FC2, matches.ptr(1)); distance 644 modules/cudafeatures2d/src/brute_force_matcher.cpp distance = GpuMat(nQuery, k, CV_32FC1, matches.ptr(nQuery), matches.step); distance 652 modules/cudafeatures2d/src/brute_force_matcher.cpp func(query, train, k, mask, trainIdx, distance, allDist, StreamAccessor::getStream(stream)); distance 682 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzb& trainIdx, const PtrStepSzb& imgIdx, const PtrStepSzb& distance, distance 719 modules/cudafeatures2d/src/brute_force_matcher.cpp GpuMat distance(1, nQuery, CV_32FC2, matches.ptr(2)); distance 723 modules/cudafeatures2d/src/brute_force_matcher.cpp func(query, trainCollection, maskCollection, trainIdx, imgIdx, distance, StreamAccessor::getStream(stream)); distance 797 modules/cudafeatures2d/src/brute_force_matcher.cpp const float distance = *distancePtr; distance 799 modules/cudafeatures2d/src/brute_force_matcher.cpp DMatch m(queryIdx, trainIdx, imgIdx, distance); distance 865 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzi& trainIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches, distance 904 modules/cudafeatures2d/src/brute_force_matcher.cpp GpuMat distance(nQuery, cols, CV_32FC1, matches.ptr(nQuery), matches.step); distance 909 modules/cudafeatures2d/src/brute_force_matcher.cpp func(query, train, maxDistance, mask, trainIdx, distance, nMatches, StreamAccessor::getStream(stream)); distance 934 modules/cudafeatures2d/src/brute_force_matcher.cpp const PtrStepSzi& trainIdx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches, distance 971 modules/cudafeatures2d/src/brute_force_matcher.cpp GpuMat distance(nQuery, nQuery, CV_32FC1, matches.ptr(2 * nQuery), matches.step); distance 980 modules/cudafeatures2d/src/brute_force_matcher.cpp trainIdx, imgIdx, distance, nMatches, StreamAccessor::getStream(stream)); distance 1054 modules/cudafeatures2d/src/brute_force_matcher.cpp const float distance = distancePtr[i]; distance 1056 modules/cudafeatures2d/src/brute_force_matcher.cpp DMatch m(queryIdx, trainIdx, imgIdx, distance); distance 58 modules/features2d/misc/java/src/cpp/features2d_converters.cpp mat.at< Vec<float, 4> >(i, 0) = Vec<float, 4>((float)dm.queryIdx, (float)dm.trainIdx, (float)dm.imgIdx, dm.distance); distance 21 modules/features2d/misc/java/test/ORBDescriptorExtractorTest.java double distance = Core.norm(expected, actual, Core.NORM_HAMMING); distance 22 modules/features2d/misc/java/test/ORBDescriptorExtractorTest.java assertTrue("expected:<" + allowedDistance + "> but was:<" + distance + ">", distance <= allowedDistance); distance 64 modules/features2d/src/matchers.cpp UMat &trainIdx, UMat &distance, int distType) distance 73 modules/features2d/src/matchers.cpp ensureSizeIsEnough(1, query_rows, CV_32F, distance); distance 107 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(distance)); distance 117 modules/features2d/src/matchers.cpp static bool ocl_matchConvert(const Mat &trainIdx, const Mat &distance, std::vector< std::vector<DMatch> > &matches) distance 119 modules/features2d/src/matchers.cpp if (trainIdx.empty() || distance.empty()) distance 122 modules/features2d/src/matchers.cpp if( (trainIdx.type() != CV_32SC1) || (distance.type() != CV_32FC1 || distance.cols != trainIdx.cols) ) distance 131 modules/features2d/src/matchers.cpp const float *distance_ptr = distance.ptr<float>(); distance 150 modules/features2d/src/matchers.cpp static bool ocl_matchDownload(const UMat &trainIdx, const UMat &distance, std::vector< std::vector<DMatch> > &matches) distance 152 modules/features2d/src/matchers.cpp if (trainIdx.empty() || distance.empty()) distance 156 modules/features2d/src/matchers.cpp Mat distanceCPU = distance.getMat(ACCESS_READ); distance 162 modules/features2d/src/matchers.cpp UMat &distance, int distType) distance 171 modules/features2d/src/matchers.cpp ensureSizeIsEnough(1, query_rows, CV_32FC2, distance); distance 207 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(distance)); distance 217 modules/features2d/src/matchers.cpp static bool ocl_knnMatchConvert(const Mat &trainIdx, const Mat &distance, std::vector< std::vector<DMatch> > &matches, bool compactResult) distance 219 modules/features2d/src/matchers.cpp if (trainIdx.empty() || distance.empty()) distance 223 modules/features2d/src/matchers.cpp if(distance.type() != CV_32FC2 && distance.type() != CV_32FC1)return false; distance 224 modules/features2d/src/matchers.cpp if(distance.size() != trainIdx.size()) return false; distance 225 modules/features2d/src/matchers.cpp if(!trainIdx.isContinuous() || !distance.isContinuous()) return false; distance 234 modules/features2d/src/matchers.cpp const float *distance_ptr = distance.ptr<float>(); distance 262 modules/features2d/src/matchers.cpp static bool ocl_knnMatchDownload(const UMat &trainIdx, const UMat &distance, std::vector< std::vector<DMatch> > &matches, bool compactResult) distance 264 modules/features2d/src/matchers.cpp if (trainIdx.empty() || distance.empty()) distance 268 modules/features2d/src/matchers.cpp Mat distanceCPU = distance.getMat(ACCESS_READ); distance 274 modules/features2d/src/matchers.cpp UMat &trainIdx, UMat &distance, UMat &nMatches, float maxDistance, int distType) distance 287 modules/features2d/src/matchers.cpp ensureSizeIsEnough(query_rows, std::max((train_rows / 100), 10), CV_32FC1, distance); distance 317 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(distance)); distance 330 modules/features2d/src/matchers.cpp static bool ocl_radiusMatchConvert(const Mat &trainIdx, const Mat &distance, const Mat &_nMatches, distance 333 modules/features2d/src/matchers.cpp if (trainIdx.empty() || distance.empty() || _nMatches.empty()) distance 337 modules/features2d/src/matchers.cpp (distance.type() != CV_32FC1 || distance.size() != trainIdx.size()) || distance 351 modules/features2d/src/matchers.cpp const float *distance_ptr = distance.ptr<float>(queryIdx); distance 381 modules/features2d/src/matchers.cpp static bool ocl_radiusMatchDownload(const UMat &trainIdx, const UMat &distance, const UMat &nMatches, distance 384 modules/features2d/src/matchers.cpp if (trainIdx.empty() || distance.empty() || nMatches.empty()) distance 388 modules/features2d/src/matchers.cpp Mat distanceCPU = distance.getMat(ACCESS_READ); distance 698 modules/features2d/src/matchers.cpp UMat trainIdx, distance; distance 699 modules/features2d/src/matchers.cpp if (!ocl_matchSingle(query, _train, trainIdx, distance, dstType)) distance 701 modules/features2d/src/matchers.cpp if (!ocl_matchDownload(trainIdx, distance, matches)) distance 708 modules/features2d/src/matchers.cpp UMat trainIdx, distance; distance 711 modules/features2d/src/matchers.cpp if (!ocl_knnMatchSingle(query, _train, trainIdx, distance, dstType)) distance 713 modules/features2d/src/matchers.cpp if (!ocl_knnMatchDownload(trainIdx, distance, matches, compactResult) ) distance 857 modules/features2d/src/matchers.cpp UMat trainIdx, distance, nMatches; distance 858 modules/features2d/src/matchers.cpp if (!ocl_radiusMatchSingle(query, _train, trainIdx, distance, nMatches, maxDistance, dstType)) distance 860 modules/features2d/src/matchers.cpp if (!ocl_radiusMatchDownload(trainIdx, distance, nMatches, matches, compactResult)) distance 105 modules/features2d/test/test_descriptors_regression.cpp name(_name), maxDist(_maxDist), dextractor(_dextractor), distance(d) , detector(_detector) {} distance 128 modules/features2d/test/test_descriptors_regression.cpp DistanceType dist = distance( validDescriptors.ptr<ValueType>(y), calcDescriptors.ptr<ValueType>(y), dimension ); distance 302 modules/features2d/test/test_descriptors_regression.cpp Distance distance; distance 242 modules/features2d/test/test_matchers_algorithmic.cpp if( match.queryIdx != (int)i || match.trainIdx != (int)i || std::abs(match.distance) > FLT_EPSILON ) distance 245 modules/features2d/test/test_matchers_algorithmic.cpp i, match.queryIdx, match.trainIdx, match.distance ); distance 239 modules/features2d/test/test_rotation_and_scale_invariance.cpp if(matches[m].distance < minIntersectRatio) distance 454 modules/features2d/test/test_rotation_and_scale_invariance.cpp if(matches[m].distance < minIntersectRatio) distance 202 modules/flann/include/opencv2/flann.hpp GenericIndex(const Mat& features, const ::cvflann::IndexParams& params, Distance distance = Distance()); distance 251 modules/flann/include/opencv2/flann.hpp GenericIndex<Distance>::GenericIndex(const Mat& dataset, const ::cvflann::IndexParams& params, Distance distance) distance 257 modules/flann/include/opencv2/flann.hpp nnIndex = new ::cvflann::Index<Distance>(m_dataset, params, distance); distance 52 modules/flann/include/opencv2/flann/all_indices.h static NNIndex<Distance>* create(const Matrix<typename Distance::ElementType>& dataset, const IndexParams& params, const Distance& distance) distance 59 modules/flann/include/opencv2/flann/all_indices.h nnIndex = new LinearIndex<Distance>(dataset, params, distance); distance 62 modules/flann/include/opencv2/flann/all_indices.h nnIndex = new KDTreeSingleIndex<Distance>(dataset, params, distance); distance 65 modules/flann/include/opencv2/flann/all_indices.h nnIndex = new KDTreeIndex<Distance>(dataset, params, distance); distance 68 modules/flann/include/opencv2/flann/all_indices.h nnIndex = new KMeansIndex<Distance>(dataset, params, distance); distance 71 modules/flann/include/opencv2/flann/all_indices.h nnIndex = new CompositeIndex<Distance>(dataset, params, distance); distance 74 modules/flann/include/opencv2/flann/all_indices.h nnIndex = new AutotunedIndex<Distance>(dataset, params, distance); distance 77 modules/flann/include/opencv2/flann/all_indices.h nnIndex = new HierarchicalClusteringIndex<Distance>(dataset, params, distance); distance 80 modules/flann/include/opencv2/flann/all_indices.h nnIndex = new LshIndex<Distance>(dataset, params, distance); distance 93 modules/flann/include/opencv2/flann/all_indices.h static NNIndex<Distance>* create(const Matrix<typename Distance::ElementType>& dataset, const IndexParams& params, const Distance& distance) distance 100 modules/flann/include/opencv2/flann/all_indices.h nnIndex = new LinearIndex<Distance>(dataset, params, distance); distance 103 modules/flann/include/opencv2/flann/all_indices.h nnIndex = new KMeansIndex<Distance>(dataset, params, distance); distance 106 modules/flann/include/opencv2/flann/all_indices.h nnIndex = new HierarchicalClusteringIndex<Distance>(dataset, params, distance); distance 109 modules/flann/include/opencv2/flann/all_indices.h nnIndex = new LshIndex<Distance>(dataset, params, distance); distance 122 modules/flann/include/opencv2/flann/all_indices.h static NNIndex<Distance>* create(const Matrix<typename Distance::ElementType>& dataset, const IndexParams& params, const Distance& distance) distance 129 modules/flann/include/opencv2/flann/all_indices.h nnIndex = new LinearIndex<Distance>(dataset, params, distance); distance 132 modules/flann/include/opencv2/flann/all_indices.h nnIndex = new HierarchicalClusteringIndex<Distance>(dataset, params, distance); distance 135 modules/flann/include/opencv2/flann/all_indices.h nnIndex = new LshIndex<Distance>(dataset, params, distance); distance 146 modules/flann/include/opencv2/flann/all_indices.h NNIndex<Distance>* create_index_by_type(const Matrix<typename Distance::ElementType>& dataset, const IndexParams& params, const Distance& distance) distance 150 modules/flann/include/opencv2/flann/all_indices.h Distance>::create(dataset, params,distance); distance 49 modules/flann/include/opencv2/flann/autotuned_index.h NNIndex<Distance>* create_index_by_type(const Matrix<typename Distance::ElementType>& dataset, const IndexParams& params, const Distance& distance); distance 73 modules/flann/include/opencv2/flann/flann_base.hpp NNIndex<Distance>* load_saved_index(const Matrix<typename Distance::ElementType>& dataset, const cv::String& filename, Distance distance) distance 91 modules/flann/include/opencv2/flann/flann_base.hpp NNIndex<Distance>* nnIndex = create_index_by_type<Distance>(dataset, params, distance); distance 106 modules/flann/include/opencv2/flann/flann_base.hpp Index(const Matrix<ElementType>& features, const IndexParams& params, Distance distance = Distance() ) distance 113 modules/flann/include/opencv2/flann/flann_base.hpp nnIndex_ = load_saved_index<Distance>(features, get_param<cv::String>(params,"filename"), distance); distance 117 modules/flann/include/opencv2/flann/flann_base.hpp nnIndex_ = create_index_by_type<Distance>(features, params, distance); distance 43 modules/flann/include/opencv2/flann/ground_truth.h int skip = 0, Distance distance = Distance()) distance 51 modules/flann/include/opencv2/flann/ground_truth.h dists[0] = distance(dataset[0], query, dataset.cols); distance 56 modules/flann/include/opencv2/flann/ground_truth.h DistanceType tmp = distance(dataset[i], query, dataset.cols); distance 127 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType sq = distance(dataset[centers[index]], dataset[centers[j]], dataset.cols); distance 164 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType dist = distance(dataset[centers[0]],dataset[dsindices[j]],dataset.cols); distance 166 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType tmp_dist = distance(dataset[centers[i]],dataset[dsindices[j]],dataset.cols); distance 215 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h closestDistSq[i] = distance(dataset[dsindices[i]], dataset[dsindices[index]], dataset.cols); distance 243 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType dist = distance(dataset[dsindices[i]], dataset[dsindices[index]], dataset.cols); distance 258 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType dist = distance(dataset[dsindices[i]], dataset[dsindices[bestNewIndex]], dataset.cols); distance 300 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h closestDistSq[i] = distance(dataset[dsindices[i]], dataset[dsindices[index]], dataset.cols); distance 320 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h newPot += std::min( distance(dataset[dsindices[i]], dataset[dsindices[index]], dataset.cols) distance 336 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h closestDistSq[i] = std::min( distance(dataset[dsindices[i]], dataset[dsindices[bestNewIndex]], dataset.cols) distance 359 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h : dataset(inputData), params(index_params), root(NULL), indices(NULL), distance(d) distance 657 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType dist = distance(point, dataset[centers[0]], veclen_); distance 660 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType new_dist = distance(point, dataset[centers[j]], veclen_); distance 756 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h DistanceType dist = distance(dataset[index], vec, veclen_); distance 766 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h domain_distances[best_index] = distance(vec, dataset[node->childs[best_index]->pivot], veclen_); distance 768 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h domain_distances[i] = distance(vec, dataset[node->childs[i]->pivot], veclen_); distance 821 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h Distance distance; distance 65 modules/flann/include/opencv2/flann/index_testing.h int* neighbors, int* groundTruth, int veclen, int n, const Distance& distance) distance 71 modules/flann/include/opencv2/flann/index_testing.h DistanceType den = distance(inputData[groundTruth[i]], target, veclen); distance 72 modules/flann/include/opencv2/flann/index_testing.h DistanceType num = distance(inputData[neighbors[i]], target, veclen); distance 88 modules/flann/include/opencv2/flann/index_testing.h float& time, typename Distance::ResultType& dist, const Distance& distance, int skipMatches) distance 119 modules/flann/include/opencv2/flann/index_testing.h distR += computeDistanceRaport<Distance>(inputData, testData[i], neighbors, matches[i], (int)testData.cols, nn, distance); distance 139 modules/flann/include/opencv2/flann/index_testing.h int checks, float& precision, const Distance& distance, int nn = 1, int skipMatches = 0) distance 148 modules/flann/include/opencv2/flann/index_testing.h precision = search_with_ground_truth(index, inputData, testData, matches, nn, checks, time, dist, distance, skipMatches); distance 156 modules/flann/include/opencv2/flann/index_testing.h float precision, int& checks, const Distance& distance, int nn = 1, int skipMatches = 0) distance 171 modules/flann/include/opencv2/flann/index_testing.h p2 = search_with_ground_truth(index, inputData, testData, matches, nn, c2, time, dist, distance, skipMatches); distance 183 modules/flann/include/opencv2/flann/index_testing.h p2 = search_with_ground_truth(index, inputData, testData, matches, nn, c2, time, dist, distance, skipMatches); distance 194 modules/flann/include/opencv2/flann/index_testing.h realPrecision = search_with_ground_truth(index, inputData, testData, matches, nn, cx, time, dist, distance, skipMatches); distance 208 modules/flann/include/opencv2/flann/index_testing.h realPrecision = search_with_ground_truth(index, inputData, testData, matches, nn, cx, time, dist, distance, skipMatches); distance 229 modules/flann/include/opencv2/flann/index_testing.h float* precisions, int precisions_length, const Distance& distance, int nn = 1, int skipMatches = 0, float maxTime = 0) distance 253 modules/flann/include/opencv2/flann/index_testing.h p2 = search_with_ground_truth(index, inputData, testData, matches, nn, c2, time, dist, distance, skipMatches); distance 274 modules/flann/include/opencv2/flann/index_testing.h p2 = search_with_ground_truth(index, inputData, testData, matches, nn, c2, time, dist, distance, skipMatches); distance 286 modules/flann/include/opencv2/flann/index_testing.h realPrecision = search_with_ground_truth(index, inputData, testData, matches, nn, cx, time, dist, distance, skipMatches); distance 300 modules/flann/include/opencv2/flann/index_testing.h realPrecision = search_with_ground_truth(index, inputData, testData, matches, nn, cx, time, dist, distance, skipMatches); distance 280 modules/flann/include/opencv2/flann/kmeans_index.h : distance(_distance) distance 301 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType sq_dist = distance(dataset[indices[i]], dcenters[0], veclen); distance 304 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType new_sq_dist = distance(dataset[indices[i]], dcenters[j], veclen); distance 325 modules/flann/include/opencv2/flann/kmeans_index.h Distance distance; distance 8194 modules/highgui/src/ppltasks_winrt.h _PParam->_Resize(static_cast<size_t>(std::distance(_Begin, _End))); distance 8308 modules/highgui/src/ppltasks_winrt.h _PParam->_Resize(static_cast<size_t>(std::distance(_Begin, _End))); distance 8403 modules/highgui/src/ppltasks_winrt.h _PParam->_Resize(static_cast<size_t>(std::distance(_Begin, _End))); distance 8908 modules/highgui/src/ppltasks_winrt.h _PParam->_M_numTasks = static_cast<size_t>(std::distance(_Begin, _End)); distance 8990 modules/highgui/src/ppltasks_winrt.h _PParam->_M_numTasks = static_cast<size_t>(std::distance(_Begin, _End)); distance 360 modules/imgproc/misc/java/test/ImgprocTest.java double distance = Imgproc.compareHist(H1, H2, Imgproc.CV_COMP_CORREL); distance 362 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(1., distance); distance 1368 modules/imgproc/misc/java/test/ImgprocTest.java double distance = Imgproc.matchShapes(contour1, contour2, Imgproc.CV_CONTOURS_MATCH_I1, 1); distance 1370 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(2.81109697365334, distance, EPS); distance 341 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.distance - actual.distance) < eps); distance 648 modules/java/generator/src/java/utils+Converters.java buff[4 * i + 3] = m.distance; distance 371 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.distance - actual.distance) < eps); distance 129 modules/shape/src/tps_trans.cpp distance(Point2f(shapeRef.at<float>(j,0),shapeRef.at<float>(j,1)), distance 242 modules/shape/src/tps_trans.cpp matK.at<float>(i,j) = distance(Point2f(shape1.at<float>(i,0),shape1.at<float>(i,1)), distance 137 modules/shape/test/test_shape.cpp float distance = 0; distance 146 modules/shape/test/test_shape.cpp distance = cmp(contoursQuery1, contoursQuery2, distance 149 modules/shape/test/test_shape.cpp distanceMat.at<float>(aIndex, bIndex) = distance; distance 188 modules/stitching/src/matchers.cpp if (m0.distance < (1.f - match_conf_) * m1.distance) distance 205 modules/stitching/src/matchers.cpp if (m0.distance < (1.f - match_conf_) * m1.distance) distance 207 modules/stitching/src/matchers.cpp matches_info.matches.push_back(DMatch(m0.trainIdx, m0.queryIdx, m0.distance)); distance 236 modules/stitching/src/matchers.cpp if (m0.distance < (1.f - match_conf_) * m1.distance) distance 252 modules/stitching/src/matchers.cpp if (m0.distance < (1.f - match_conf_) * m1.distance) distance 254 modules/stitching/src/matchers.cpp matches_info.matches.push_back(DMatch(m0.trainIdx, m0.queryIdx, m0.distance)); distance 167 modules/ts/src/ts_perf.cpp cv::Mat distance(len, 1, CV_32FC1, len ? (void*)&array[0].distance : 0, sizeof(cv::DMatch)); distance 172 modules/ts/src/ts_perf.cpp (name + "-distance", distance, eps, err); distance 8194 modules/videoio/src/ppltasks_winrt.hpp _PParam->_Resize(static_cast<size_t>(std::distance(_Begin, _End))); distance 8308 modules/videoio/src/ppltasks_winrt.hpp _PParam->_Resize(static_cast<size_t>(std::distance(_Begin, _End))); distance 8403 modules/videoio/src/ppltasks_winrt.hpp _PParam->_Resize(static_cast<size_t>(std::distance(_Begin, _End))); distance 8908 modules/videoio/src/ppltasks_winrt.hpp _PParam->_M_numTasks = static_cast<size_t>(std::distance(_Begin, _End)); distance 8990 modules/videoio/src/ppltasks_winrt.hpp _PParam->_M_numTasks = static_cast<size_t>(std::distance(_Begin, _End)); distance 122 samples/cpp/matchmethod_orb_akaze_brisk.cpp tab.at<float>(i, 0) = matches[i].distance; distance 145 samples/cpp/matchmethod_orb_akaze_brisk.cpp cout << it->queryIdx << "\t" << it->trainIdx << "\t" << it->distance << "\n"; distance 39 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp if ((*matchIterator)[0].distance / (*matchIterator)[1].distance > ratio_) distance 86 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp (*matchIterator1)[0].distance)); distance 37 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp float dist1 = nn_matches[i][0].distance; distance 38 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp float dist2 = nn_matches[i][1].distance; distance 62 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp if(matches[i][0].distance < nn_match_ratio * matches[i][1].distance) { distance 55 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp float dist1 = nn_matches[i][0].distance; distance 56 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp float dist2 = nn_matches[i][1].distance;