/external/opencv3/modules/cudafeatures2d/src/cuda/ |
D | bf_match.cu | 82 __device__ void loadQueryToSmem(int queryIdx, const PtrStepSz<T>& query, U* s_query) in loadQueryToSmem() argument 88 …eadIdx.y * MAX_DESC_LEN + loadX] = loadX < query.cols ? query.ptr(::min(queryIdx, query.rows - 1))… in loadQueryToSmem() 93 …__device__ void loopUnrolledCached(int queryIdx, const PtrStepSz<T>& query,volatile int imgIdx, co… in loopUnrolledCached() argument 129 …if (queryIdx < query.rows && trainIdx < train.rows && distVal < bestDistance && mask(queryIdx, tra… in loopUnrolledCached() 143 const int queryIdx = blockIdx.x * BLOCK_SIZE + threadIdx.y; in matchUnrolledCached() local 148 loadQueryToSmem<BLOCK_SIZE, MAX_DESC_LEN>(queryIdx, query, s_query); in matchUnrolledCached() 153 …loopUnrolledCached<BLOCK_SIZE, MAX_DESC_LEN, Dist>(queryIdx, query, 0, train, mask, s_query, s_tra… in matchUnrolledCached() 162 if (queryIdx < query.rows && threadIdx.x == 0) in matchUnrolledCached() 164 bestTrainIdx[queryIdx] = myBestTrainIdx; in matchUnrolledCached() 165 bestDistance[queryIdx] = myBestDistance; in matchUnrolledCached() [all …]
|
D | bf_knnmatch.cu | 305 __device__ void loadQueryToSmem(int queryIdx, const PtrStepSz<T>& query, U* s_query) in loadQueryToSmem() argument 311 …eadIdx.y * MAX_DESC_LEN + loadX] = loadX < query.cols ? query.ptr(::min(queryIdx, query.rows - 1))… in loadQueryToSmem() 316 …__device__ void loopUnrolledCached(int queryIdx, const PtrStepSz<T>& query, int imgIdx, const PtrS… in loopUnrolledCached() argument 354 if (queryIdx < query.rows && trainIdx < train.rows && mask(queryIdx, trainIdx)) in loopUnrolledCached() 381 const int queryIdx = blockIdx.x * BLOCK_SIZE + threadIdx.y; in matchUnrolledCached() local 386 loadQueryToSmem<BLOCK_SIZE, MAX_DESC_LEN>(queryIdx, query, s_query); in matchUnrolledCached() 393 …loopUnrolledCached<BLOCK_SIZE, MAX_DESC_LEN, Dist>(queryIdx, query, 0, train, mask, s_query, s_tra… in matchUnrolledCached() 402 if (queryIdx < query.rows && threadIdx.x == 0) in matchUnrolledCached() 404 bestTrainIdx[queryIdx] = make_int2(myBestTrainIdx1, myBestTrainIdx2); in matchUnrolledCached() 405 bestDistance[queryIdx] = make_float2(myBestDistance1, myBestDistance2); in matchUnrolledCached() [all …]
|
D | bf_radius_match.cu | 64 const int queryIdx = blockIdx.y * BLOCK_SIZE + threadIdx.y; in matchUnrolled() local 84 ForceGlob<T>::Load(query.ptr(::min(queryIdx, query.rows - 1)), loadX, val); in matchUnrolled() 102 …if (queryIdx < query.rows && trainIdx < train.rows && mask(queryIdx, trainIdx) && distVal < maxDis… in matchUnrolled() 104 unsigned int ind = atomicInc(nMatches + queryIdx, (unsigned int) -1); in matchUnrolled() 107 bestTrainIdx.ptr(queryIdx)[ind] = trainIdx; in matchUnrolled() local 108 if (SAVE_IMG_IDX) bestImgIdx.ptr(queryIdx)[ind] = imgIdx; in matchUnrolled() local 109 bestDistance.ptr(queryIdx)[ind] = distVal; in matchUnrolled() local 172 const int queryIdx = blockIdx.y * BLOCK_SIZE + threadIdx.y; in match() local 191 ForceGlob<T>::Load(query.ptr(::min(queryIdx, query.rows - 1)), loadX, val); in match() 209 …if (queryIdx < query.rows && trainIdx < train.rows && mask(queryIdx, trainIdx) && distVal < maxDis… in match() [all …]
|
/external/opencv3/modules/core/misc/java/src/java/ |
D | core+DMatch.java | 14 public int queryIdx; field in DMatch 34 queryIdx = _queryIdx; in DMatch() 42 queryIdx = _queryIdx; in DMatch() 57 return "DMatch [queryIdx=" + queryIdx + ", trainIdx=" + trainIdx in toString()
|
D | core+MatOfDMatch.java | 54 buff[_channels*i+0] = m.queryIdx; in fromArray()
|
/external/opencv3/modules/features2d/src/opencl/ |
D | brute_force_match.cl | 194 const int queryIdx = mad24(BLOCK_SIZE, groupidx, lidy); 195 const int queryOffset = min(queryIdx, query_rows - 1) * step; 269 …if (queryIdx < query_rows && trainIdx < train_rows && result < myBestDistance /*&& mask(queryIdx, … 300 if (queryIdx < query_rows && lidx == 0) 302 bestTrainIdx[queryIdx] = myBestTrainIdx; 303 bestDistance[queryIdx] = myBestDistance; 329 const int queryIdx = mad24(BLOCK_SIZE, groupidy, lidy); 330 const int queryOffset = min(queryIdx, query_rows - 1) * step; 369 if (queryIdx < query_rows && trainIdx < train_rows && convert_float(result) < maxDistance) 371 int ind = atom_inc(nMatches + queryIdx); [all …]
|
/external/opencv3/modules/features2d/test/ |
D | test_matchers_algorithmic.cpp | 213 … if( (match.queryIdx != (int)i) || (match.trainIdx != (int)i*countFactor) || (match.imgIdx != 0) ) in matchTest() 242 …if( match.queryIdx != (int)i || match.trainIdx != (int)i || std::abs(match.distance) > FLT_EPSILON… in matchTest() 245 i, match.queryIdx, match.trainIdx, match.distance ); in matchTest() 284 …if( (match.queryIdx != (int)i) || (match.trainIdx != (int)i*countFactor + shift) || (match.imgIdx … in matchTest() 289 …if( (match.queryIdx != (int)i) || (match.trainIdx != ((int)i-queryDescCount/2)*countFactor + shift… in matchTest() 333 …if( (match.queryIdx != (int)i) || (match.trainIdx != (int)i*countFactor+k) || (match.imgIdx != 0) ) in knnMatchTest() 388 … if( (match.queryIdx != (int)i) || (match.trainIdx != (int)i*countFactor + k + shift) || in knnMatchTest() 394 …if( (match.queryIdx != (int)i) || (match.trainIdx != ((int)i-queryDescCount/2)*countFactor + k + s… in knnMatchTest() 437 … if( (match.queryIdx != (int)i) || (match.trainIdx != (int)i*countFactor) || (match.imgIdx != 0) ) in radiusMatchTest() 492 … if( (match.queryIdx != (int)i) || (match.trainIdx != (int)i*countFactor + k + shift) || in radiusMatchTest() [all …]
|
D | test_rotation_and_scale_invariance.cpp | 246 float angle0 = keypoints0[matches[m].queryIdx].angle; in run() 355 const KeyPoint& transformed_p0 = keypoints1[descMatches[m].queryIdx]; in run() 462 float size1 = osiKeypoints1[matches[m].queryIdx].size; in run() 559 const KeyPoint& transformed_p0 = keypoints0[descMatches[m].queryIdx]; in run()
|
/external/opencv3/modules/cudafeatures2d/src/ |
D | brute_force_matcher.cpp | 482 for (int queryIdx = 0; queryIdx < nQuery; ++queryIdx) in matchConvert() local 484 const int trainIdx = trainIdxPtr[queryIdx]; in matchConvert() 488 const int imgIdx = imgIdxPtr ? imgIdxPtr[queryIdx] : 0; in matchConvert() 489 const float distance = distancePtr[queryIdx]; in matchConvert() 491 DMatch m(queryIdx, trainIdx, imgIdx, distance); in matchConvert() 548 for (int queryIdx = 0; queryIdx < query.rows; ++queryIdx) in knnMatch() local 550 std::vector<DMatch>& localMatch = curMatches[queryIdx]; in knnMatch() 551 std::vector<DMatch>& globalMatch = matches[queryIdx]; in knnMatch() 784 for (int queryIdx = 0; queryIdx < nQuery; ++queryIdx) in knnMatchConvert() local 799 DMatch m(queryIdx, trainIdx, imgIdx, distance); in knnMatchConvert() [all …]
|
/external/opencv3/modules/features2d/src/ |
D | bagofwords.cpp | 198 int queryIdx = matches[i].queryIdx; in compute() local 200 CV_Assert( queryIdx == (int)i ); in compute() 204 (*pointIdxsOfClusters)[trainIdx].push_back( queryIdx ); in compute()
|
D | matchers.cpp | 132 for (int queryIdx = 0; queryIdx < nQuery; ++queryIdx, ++trainIdx_ptr, ++distance_ptr) in ocl_matchConvert() local 141 DMatch m(queryIdx, trainIndex, 0, dst); in ocl_matchConvert() 236 for (int queryIdx = 0; queryIdx < nQuery; ++queryIdx) in ocl_knnMatchConvert() local 250 DMatch m(queryIdx, trainIndex, 0, dst); in ocl_knnMatchConvert() 348 for (int queryIdx = 0; queryIdx < nQuery; ++queryIdx) in ocl_radiusMatchConvert() local 350 const int *trainIdx_ptr = trainIdx.ptr<int>(queryIdx); in ocl_radiusMatchConvert() 351 const float *distance_ptr = distance.ptr<float>(queryIdx); in ocl_radiusMatchConvert() 353 const int nMatches = std::min(nMatches_ptr[queryIdx], trainIdx.cols); in ocl_radiusMatchConvert() 371 DMatch m(queryIdx, trainIndex, 0, dst); in ocl_radiusMatchConvert() 654 bool DescriptorMatcher::isPossibleMatch( InputArray _mask, int queryIdx, int trainIdx ) in isPossibleMatch() argument [all …]
|
D | draw.cpp | 207 int i1 = matches1to2[m].queryIdx; in drawMatches() 236 int i1 = matches1to2[i][j].queryIdx; in drawMatches()
|
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
D | UriPatternType.java | 42 int queryIdx = uri.indexOf('?'); in getUri() local 43 if (queryIdx != -1) { in getUri() 44 uri = uri.substring(0, queryIdx); in getUri()
|
/external/opencv3/modules/cudafeatures2d/test/ |
D | test_features2d.cpp | 307 … if ((match.queryIdx != (int)i) || (match.trainIdx != (int)i * countFactor) || (match.imgIdx != 0)) in CUDA_TEST_P() 350 bool validQueryIdx = (match.queryIdx == (int)i); in CUDA_TEST_P() 358 bool validQueryIdx = (match.queryIdx == (int)i); in CUDA_TEST_P() 399 …if ((match.queryIdx != (int)i) || (match.trainIdx != (int)i * countFactor + k) || (match.imgIdx !=… in CUDA_TEST_P() 439 …if ((match.queryIdx != (int)i) || (match.trainIdx != (int)i * countFactor + k) || (match.imgIdx !=… in CUDA_TEST_P() 495 …if ((match.queryIdx != (int)i) || (match.trainIdx != (int)i * countFactor + k + shift) || (match.i… in CUDA_TEST_P() 500 …if ((match.queryIdx != (int)i) || (match.trainIdx != ((int)i - queryDescCount / 2) * countFactor +… in CUDA_TEST_P() 558 …if ((match.queryIdx != (int)i) || (match.trainIdx != (int)i * countFactor + k + shift) || (match.i… in CUDA_TEST_P() 563 …if ((match.queryIdx != (int)i) || (match.trainIdx != ((int)i - queryDescCount / 2) * countFactor +… in CUDA_TEST_P() 616 … if ((match.queryIdx != (int)i) || (match.trainIdx != (int)i*countFactor) || (match.imgIdx != 0)) in CUDA_TEST_P() [all …]
|
/external/opencv3/modules/core/misc/java/test/ |
D | DMatchTest.java | 15 assertEquals(1, dm1.queryIdx); in testDMatchIntIntFloat() 23 assertEquals(2, dm2.queryIdx); in testDMatchIntIntIntFloat()
|
/external/opencv3/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/ |
D | RobustMatcher.cpp | 77 if ((*matchIterator1)[0].queryIdx == in symmetryTest() 79 (*matchIterator2)[0].queryIdx == in symmetryTest() 84 cv::DMatch((*matchIterator1)[0].queryIdx, in symmetryTest()
|
/external/opencv3/modules/features2d/test/ocl/ |
D | test_brute_force_matcher.cpp | 131 … if ((match.queryIdx != (int)i) || (match.trainIdx != (int)i * countFactor) || (match.imgIdx != 0)) in OCL_TEST_P() 164 …if ((match.queryIdx != (int)i) || (match.trainIdx != (int)i * countFactor + k) || (match.imgIdx !=… in OCL_TEST_P() 199 … if ((match.queryIdx != (int)i) || (match.trainIdx != (int)i * countFactor) || (match.imgIdx != 0)) in OCL_TEST_P()
|
/external/opencv3/modules/stitching/src/ |
D | matchers.cpp | 94 std::swap(pairwise_matches[dual_pair_idx].matches[j].queryIdx, in operator ()() 191 matches.insert(std::make_pair(m0.queryIdx, m0.trainIdx)); in match() 206 if (matches.find(std::make_pair(m0.trainIdx, m0.queryIdx)) == matches.end()) in match() 207 matches_info.matches.push_back(DMatch(m0.trainIdx, m0.queryIdx, m0.distance)); in match() 239 matches.insert(std::make_pair(m0.queryIdx, m0.trainIdx)); in match() 253 if (matches.find(std::make_pair(m0.trainIdx, m0.queryIdx)) == matches.end()) in match() 254 matches_info.matches.push_back(DMatch(m0.trainIdx, m0.queryIdx, m0.distance)); in match() 593 Point2f p = features1.keypoints[m.queryIdx].pt; in match() 638 Point2f p = features1.keypoints[m.queryIdx].pt; in match()
|
/external/opencv3/samples/cpp/ |
D | matchmethod_orb_akaze_brisk.cpp | 145 … cout << it->queryIdx << "\t" << it->trainIdx << "\t" << it->distance << "\n"; in main() 146 Point2d p=keyImg1[it->queryIdx].pt-keyImg2[it->trainIdx].pt; in main()
|
/external/opencv3/modules/shape/src/ |
D | aff_trans.cpp | 199 if (_matches[i].queryIdx<pts1.cols && in estimateTransformation() 211 Point2f pt1=pts1.at<Point2f>(0,matches[i].queryIdx); in estimateTransformation()
|
D | tps_trans.cpp | 205 if (_matches[i].queryIdx<pts1.cols && in estimateTransformation() 217 Point2f pt1=pts1.at<Point2f>(0,matches[i].queryIdx); in estimateTransformation()
|
/external/opencv3/samples/cpp/tutorial_code/features2D/ |
D | AKAZE_match.cpp | 41 matched1.push_back(kpts1[first.queryIdx]); in main()
|
/external/opencv3/samples/cpp/tutorial_code/xfeatures2D/ |
D | LATCH_match.cpp | 59 matched1.push_back(kpts1[first.queryIdx]); in main()
|
/external/opencv3/modules/features2d/misc/java/src/cpp/ |
D | features2d_converters.cpp | 58 …mat.at< Vec<float, 4> >(i, 0) = Vec<float, 4>((float)dm.queryIdx, (float)dm.trainIdx, (float)dm.im… in vector_DMatch_to_Mat()
|
/external/opencv3/modules/features2d/misc/java/test/ |
D | Features2dTest.java | 129 lp2.add(qkp[dm.queryIdx].pt); in testPTOD()
|