Home
last modified time | relevance | path

Searched refs:nMatches (Results 1 – 4 of 4) sorted by relevance

/external/opencv3/modules/cudafeatures2d/src/cuda/
Dbf_radius_match.cu60 …epi bestTrainIdx, PtrStepi bestImgIdx, PtrStepf bestDistance, unsigned int* nMatches, int maxCount) in matchUnrolled() argument
104 unsigned int ind = atomicInc(nMatches + queryIdx, (unsigned int) -1); in matchUnrolled()
116 …i& trainIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches, cudaStream_t str… in matchUnrolled() argument
124 trainIdx, PtrStepi(), distance, nMatches.data, trainIdx.cols); in matchUnrolled()
133 …Idx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches, in matchUnrolled() argument
149 trainIdx, imgIdx, distance, nMatches.data, trainIdx.cols); in matchUnrolled()
154 trainIdx, imgIdx, distance, nMatches.data, trainIdx.cols); in matchUnrolled()
168 …epi bestTrainIdx, PtrStepi bestImgIdx, PtrStepf bestDistance, unsigned int* nMatches, int maxCount) in match() argument
211 unsigned int ind = atomicInc(nMatches + queryIdx, (unsigned int) -1); in match()
223 … const PtrStepSzi& trainIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches, in match() argument
[all …]
/external/opencv3/modules/cudafeatures2d/src/
Dbrute_force_matcher.cpp105 … const PtrStepSzi& trainIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches,
108 … const PtrStepSzi& trainIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches,
111 … const PtrStepSzi& trainIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches,
115 …Idx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches,
119 …Idx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches,
123 …Idx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches,
865 … const PtrStepSzi& trainIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches, in radiusMatchAsync()
905 GpuMat nMatches(1, nQuery, CV_32SC1, matches.ptr(2 * nQuery)); in radiusMatchAsync() local
907 nMatches.setTo(Scalar::all(0), stream); in radiusMatchAsync()
909 …func(query, train, maxDistance, mask, trainIdx, distance, nMatches, StreamAccessor::getStream(stre… in radiusMatchAsync()
[all …]
/external/opencv3/modules/features2d/src/
Dmatchers.cpp274 UMat &trainIdx, UMat &distance, UMat &nMatches, float maxDistance, int distType) in ocl_radiusMatchSingle() argument
282 ensureSizeIsEnough(1, query_rows, CV_32SC1, nMatches); in ocl_radiusMatchSingle()
290 nMatches.setTo(Scalar::all(0)); in ocl_radiusMatchSingle()
318 idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(nMatches)); in ocl_radiusMatchSingle()
353 const int nMatches = std::min(nMatches_ptr[queryIdx], trainIdx.cols); in ocl_radiusMatchConvert() local
355 if (nMatches == 0) in ocl_radiusMatchConvert()
362 matches.push_back(std::vector<DMatch>(nMatches)); in ocl_radiusMatchConvert()
365 for (int i = 0; i < nMatches; ++i, ++trainIdx_ptr, ++distance_ptr) in ocl_radiusMatchConvert()
381 …atic bool ocl_radiusMatchDownload(const UMat &trainIdx, const UMat &distance, const UMat &nMatches, in ocl_radiusMatchDownload() argument
384 if (trainIdx.empty() || distance.empty() || nMatches.empty()) in ocl_radiusMatchDownload()
[all …]
/external/opencv3/modules/features2d/src/opencl/
Dbrute_force_match.cl314 __global int *nMatches,
371 int ind = atom_inc(nMatches + queryIdx);