HomeSort by relevance Sort by last modified time
    Searched refs:trainIdx (Results 1 - 25 of 40) sorted by null

1 2

  /external/opencv3/modules/core/misc/java/src/java/
core+DMatch.java 18 public int trainIdx;
35 trainIdx = _trainIdx;
43 trainIdx = _trainIdx;
57 return "DMatch [queryIdx=" + queryIdx + ", trainIdx=" + trainIdx
core+MatOfDMatch.java 55 buff[_channels*i+1] = m.trainIdx;
  /external/opencv3/modules/cudafeatures2d/src/cuda/
bf_radius_match.cu 65 const int trainIdx = blockIdx.x * BLOCK_SIZE + threadIdx.x;
102 if (queryIdx < query.rows && trainIdx < train.rows && mask(queryIdx, trainIdx) && distVal < maxDistance)
107 bestTrainIdx.ptr(queryIdx)[ind] = trainIdx;
116 const PtrStepSzi& trainIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches, cudaStream_t stream)
124 trainIdx, PtrStepi(), distance, nMatches.data, trainIdx.cols);
133 const PtrStepSzi& trainIdx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches,
149 trainIdx, imgIdx, distance, nMatches.data, trainIdx.cols)
    [all...]
bf_match.cu 127 const int trainIdx = t * BLOCK_SIZE + threadIdx.x;
129 if (queryIdx < query.rows && trainIdx < train.rows && distVal < bestDistance && mask(queryIdx, trainIdx))
133 bestTrainIdx = trainIdx;
171 const PtrStepSzi& trainIdx, const PtrStepSzf& distance,
179 matchUnrolledCached<BLOCK_SIZE, MAX_DESC_LEN, Dist><<<grid, block, smemSize, stream>>>(query, train, mask, trainIdx.data, distance.data);
230 const PtrStepSzi& trainIdx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance,
238 matchUnrolledCached<BLOCK_SIZE, MAX_DESC_LEN, Dist><<<grid, block, smemSize, stream>>>(query, trains, n, mask, trainIdx.data, imgIdx.data, distance.data);
287 const int trainIdx = t * BLOCK_SIZE + threadIdx.x;
289 if (queryIdx < query.rows && trainIdx < train.rows && distVal < bestDistance && mask(queryIdx, trainIdx)
    [all...]
bf_knnmatch.cu 352 const int trainIdx = t * BLOCK_SIZE + threadIdx.x;
354 if (queryIdx < query.rows && trainIdx < train.rows && mask(queryIdx, trainIdx))
364 bestTrainIdx1 = trainIdx;
370 bestTrainIdx2 = trainIdx;
411 const PtrStepSz<int2>& trainIdx, const PtrStepSz<float2>& distance,
419 matchUnrolledCached<BLOCK_SIZE, MAX_DESC_LEN, Dist><<<grid, block, smemSize, stream>>>(query, train, mask, trainIdx.data, distance.data);
472 const PtrStepSz<int2>& trainIdx, const PtrStepSz<int2>& imgIdx, const PtrStepSz<float2>& distance,
480 matchUnrolledCached<BLOCK_SIZE, MAX_DESC_LEN, Dist><<<grid, block, smemSize, stream>>>(query, trains, n, mask, trainIdx.data, imgIdx.data, distance.data);
531 const int trainIdx = t * BLOCK_SIZE + threadIdx.x
    [all...]
  /external/opencv3/modules/core/misc/java/test/
DMatchTest.java 16 assertEquals(4, dm1.trainIdx);
24 assertEquals(6, dm2.trainIdx);
40 String expected = "DMatch [queryIdx=2, trainIdx=6, imgIdx=-1, distance=8.0]";
  /external/opencv3/modules/cudafeatures2d/src/
brute_force_matcher.cpp 59 const PtrStepSzi& trainIdx, const PtrStepSzf& distance,
62 const PtrStepSzi& trainIdx, const PtrStepSzf& distance,
65 const PtrStepSzi& trainIdx, const PtrStepSzf& distance,
69 const PtrStepSzi& trainIdx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance,
72 const PtrStepSzi& trainIdx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance,
75 const PtrStepSzi& trainIdx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance,
82 const PtrStepSzb& trainIdx, const PtrStepSzb& distance, const PtrStepSzf& allDist,
85 const PtrStepSzb& trainIdx, const PtrStepSzb& distance, const PtrStepSzf& allDist,
88 const PtrStepSzb& trainIdx, const PtrStepSzb& distance, const PtrStepSzf& allDist,
92 const PtrStepSzb& trainIdx, const PtrStepSzb& imgIdx, const PtrStepSzb& distance
    [all...]
  /external/opencv3/modules/features2d/src/
matchers.cpp 64 UMat &trainIdx, UMat &distance, int distType)
72 ensureSizeIsEnough(1, query_rows, CV_32S, trainIdx);
106 idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(trainIdx));
117 static bool ocl_matchConvert(const Mat &trainIdx, const Mat &distance, std::vector< std::vector<DMatch> > &matches)
119 if (trainIdx.empty() || distance.empty())
122 if( (trainIdx.type() != CV_32SC1) || (distance.type() != CV_32FC1 || distance.cols != trainIdx.cols) )
125 const int nQuery = trainIdx.cols;
130 const int *trainIdx_ptr = trainIdx.ptr<int>();
150 static bool ocl_matchDownload(const UMat &trainIdx, const UMat &distance, std::vector< std::vector<DMatch> > &matches
    [all...]
bagofwords.cpp 199 int trainIdx = matches[i].trainIdx; // cluster index
202 dptr[trainIdx] = dptr[trainIdx] + 1.f;
204 (*pointIdxsOfClusters)[trainIdx].push_back( queryIdx );
draw.cpp 208 int i2 = matches1to2[m].trainIdx;
237 int i2 = matches1to2[i][j].trainIdx;
  /external/opencv3/modules/features2d/test/ocl/
test_brute_force_matcher.cpp 131 if ((match.queryIdx != (int)i) || (match.trainIdx != (int)i * countFactor) || (match.imgIdx != 0))
164 if ((match.queryIdx != (int)i) || (match.trainIdx != (int)i * countFactor + k) || (match.imgIdx != 0))
199 if ((match.queryIdx != (int)i) || (match.trainIdx != (int)i * countFactor) || (match.imgIdx != 0))
  /external/opencv3/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/
RobustMatcher.cpp 78 (*matchIterator2)[0].trainIdx &&
80 (*matchIterator1)[0].trainIdx)
85 (*matchIterator1)[0].trainIdx,
  /external/opencv3/modules/features2d/test/
test_matchers_algorithmic.cpp 213 if( (match.queryIdx != (int)i) || (match.trainIdx != (int)i*countFactor) || (match.imgIdx != 0) )
242 if( match.queryIdx != (int)i || match.trainIdx != (int)i || std::abs(match.distance) > FLT_EPSILON )
244 ts->printf( cvtest::TS::LOG, "Bad match (i=%d, queryIdx=%d, trainIdx=%d, distance=%f) while test match() function for the same query and test descriptors (1).\n",
245 i, match.queryIdx, match.trainIdx, match.distance );
284 if( (match.queryIdx != (int)i) || (match.trainIdx != (int)i*countFactor + shift) || (match.imgIdx != 0) )
289 if( (match.queryIdx != (int)i) || (match.trainIdx != ((int)i-queryDescCount/2)*countFactor + shift) || (match.imgIdx != 1) )
333 if( (match.queryIdx != (int)i) || (match.trainIdx != (int)i*countFactor+k) || (match.imgIdx != 0) )
388 if( (match.queryIdx != (int)i) || (match.trainIdx != (int)i*countFactor + k + shift) ||
394 if( (match.queryIdx != (int)i) || (match.trainIdx != ((int)i-queryDescCount/2)*countFactor + k + shift) ||
437 if( (match.queryIdx != (int)i) || (match.trainIdx != (int)i*countFactor) || (match.imgIdx != 0)
    [all...]
test_rotation_and_scale_invariance.cpp 247 float angle1 = keypoints1[matches[m].trainIdx].angle;
356 const KeyPoint& p1 = keypoints1[descMatches[m].trainIdx];
461 float size0 = keypoints0[matches[m].trainIdx].size;
560 const KeyPoint& p1 = keypoints0[descMatches[m].trainIdx];
  /external/opencv3/modules/features2d/src/opencl/
brute_force_match.cl 220 // loopUnrolledCached to find the best trainIdx and best distance.
267 const int trainIdx = mad24(BLOCK_SIZE, t, lidx);
269 if (queryIdx < query_rows && trainIdx < train_rows && result < myBestDistance /*&& mask(queryIdx, trainIdx)*/)
272 myBestTrainIdx = trainIdx;
333 const int trainIdx = mad24(BLOCK_SIZE, groupidx, lidx);
369 if (queryIdx < query_rows && trainIdx < train_rows && convert_float(result) < maxDistance)
375 bestTrainIdx[mad24(queryIdx, ostep, ind)] = trainIdx;
471 const int trainIdx = mad24(BLOCK_SIZE, t, lidx);
473 if (queryIdx < query_rows && trainIdx < train_rows
    [all...]
  /external/opencv3/modules/cudafeatures2d/test/
test_features2d.cpp 307 if ((match.queryIdx != (int)i) || (match.trainIdx != (int)i * countFactor) || (match.imgIdx != 0))
351 bool validTrainIdx = (match.trainIdx == (int)i * countFactor + shift);
359 bool validTrainIdx = (match.trainIdx == ((int)i - queryDescCount / 2) * countFactor + shift);
399 if ((match.queryIdx != (int)i) || (match.trainIdx != (int)i * countFactor + k) || (match.imgIdx != 0))
439 if ((match.queryIdx != (int)i) || (match.trainIdx != (int)i * countFactor + k) || (match.imgIdx != 0))
495 if ((match.queryIdx != (int)i) || (match.trainIdx != (int)i * countFactor + k + shift) || (match.imgIdx != 0) )
500 if ((match.queryIdx != (int)i) || (match.trainIdx != ((int)i - queryDescCount / 2) * countFactor + k + shift) || (match.imgIdx != 1) )
558 if ((match.queryIdx != (int)i) || (match.trainIdx != (int)i * countFactor + k + shift) || (match.imgIdx != 0) )
563 if ((match.queryIdx != (int)i) || (match.trainIdx != ((int)i - queryDescCount / 2) * countFactor + k + shift) || (match.imgIdx != 1) )
616 if ((match.queryIdx != (int)i) || (match.trainIdx != (int)i*countFactor) || (match.imgIdx != 0)
    [all...]
  /external/opencv3/modules/stitching/src/
matchers.cpp 95 pairwise_matches[dual_pair_idx].matches[j].trainIdx);
191 matches.insert(std::make_pair(m0.queryIdx, m0.trainIdx));
206 if (matches.find(std::make_pair(m0.trainIdx, m0.queryIdx)) == matches.end())
207 matches_info.matches.push_back(DMatch(m0.trainIdx, m0.queryIdx, m0.distance));
239 matches.insert(std::make_pair(m0.queryIdx, m0.trainIdx));
253 if (matches.find(std::make_pair(m0.trainIdx, m0.queryIdx)) == matches.end())
254 matches_info.matches.push_back(DMatch(m0.trainIdx, m0.queryIdx, m0.distance));
598 p = features2.keypoints[m.trainIdx].pt;
643 p = features2.keypoints[m.trainIdx].pt;
  /external/opencv3/samples/cpp/tutorial_code/features2D/
AKAZE_match.cpp 42 matched2.push_back(kpts2[first.trainIdx]);
  /external/opencv3/modules/shape/src/
aff_trans.cpp 200 _matches[i].trainIdx<pts2.cols)
214 Point2f pt2=pts2.at<Point2f>(0,matches[i].trainIdx);
tps_trans.cpp 206 _matches[i].trainIdx<pts2.cols)
221 Point2f pt2=pts2.at<Point2f>(0,matches[i].trainIdx);
  /external/opencv3/samples/cpp/
matchmethod_orb_akaze_brisk.cpp 145 cout << it->queryIdx << "\t" << it->trainIdx << "\t" << it->distance << "\n";
146 Point2d p=keyImg1[it->queryIdx].pt-keyImg2[it->trainIdx].pt;
  /external/opencv3/modules/features2d/misc/java/src/cpp/
features2d_converters.cpp 58 mat.at< Vec<float, 4> >(i, 0) = Vec<float, 4>((float)dm.queryIdx, (float)dm.trainIdx, (float)dm.imgIdx, dm.distance);
  /external/opencv3/modules/features2d/misc/java/test/
Features2dTest.java 128 lp1.add(tkp[dm.trainIdx].pt);
  /external/opencv3/samples/cpp/tutorial_code/xfeatures2D/
LATCH_match.cpp 60 matched2.push_back(kpts2[first.trainIdx]);
  /external/opencv3/samples/cpp/tutorial_code/features2D/AKAZE_tracking/
planar_tracking.cpp 64 matched2.push_back( kp[matches[i][0].trainIdx]);

Completed in 728 milliseconds

1 2