Lines Matching refs:nMatches
274 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()
389 Mat nMatchesCPU = nMatches.getMat(ACCESS_READ); in ocl_radiusMatchDownload()
857 UMat trainIdx, distance, nMatches; in ocl_radiusMatch() local
858 if (!ocl_radiusMatchSingle(query, _train, trainIdx, distance, nMatches, maxDistance, dstType)) in ocl_radiusMatch()
860 if (!ocl_radiusMatchDownload(trainIdx, distance, nMatches, matches, compactResult)) in ocl_radiusMatch()