Home
last modified time | relevance | path

Searched refs:DMatch (Results 1 – 25 of 68) sorted by relevance

123

/external/opencv3/modules/core/misc/java/test/
DDMatchTest.java3 import org.opencv.core.DMatch;
9 new DMatch(); in testDMatch()
13 DMatch dm1 = new DMatch(1, 4, 4.0f); in testDMatchIntIntFloat()
21 DMatch dm2 = new DMatch(2, 6, -1, 8.0f); in testDMatchIntIntIntFloat()
30 DMatch dm1 = new DMatch(1, 4, 4.0f); in testLessThan()
31 DMatch dm2 = new DMatch(2, 6, -1, 8.0f); in testLessThan()
36 DMatch dm2 = new DMatch(2, 6, -1, 8.0f); in testToString()
/external/opencv3/modules/core/misc/java/src/java/
Dcore+MatOfDMatch.java6 import org.opencv.core.DMatch;
35 public MatOfDMatch(DMatch...ap) { in MatOfDMatch()
46 public void fromArray(DMatch...a) { in fromArray()
53 DMatch m = a[i]; in fromArray()
62 public DMatch[] toArray() { in toArray()
64 DMatch[] a = new DMatch[num]; in toArray()
70 …a[i] = new DMatch((int) buff[_channels*i+0], (int) buff[_channels*i+1], (int) buff[_channels*i+2],… in toArray()
74 public void fromList(List<DMatch> ldm) { in fromList()
75 DMatch adm[] = ldm.toArray(new DMatch[0]); in fromList()
79 public List<DMatch> toList() { in toList()
[all …]
Dcore+DMatch.java9 public class DMatch { class
28 public DMatch() { in DMatch() method in DMatch
33 public DMatch(int _queryIdx, int _trainIdx, float _distance) { in DMatch() method in DMatch
41 public DMatch(int _queryIdx, int _trainIdx, int _imgIdx, float _distance) { in DMatch() method in DMatch
51 public boolean lessThan(DMatch it) { in lessThan()
/external/opencv3/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/
DRobustMatcher.cpp28 int RobustMatcher::ratioTest(std::vector<std::vector<cv::DMatch> > &matches) in ratioTest()
32 for ( std::vector<std::vector<cv::DMatch> >::iterator in ratioTest()
54 void RobustMatcher::symmetryTest( const std::vector<std::vector<cv::DMatch> >& matches1, in symmetryTest()
55 const std::vector<std::vector<cv::DMatch> >& matches2, in symmetryTest()
56 std::vector<cv::DMatch>& symMatches ) in symmetryTest()
60 for (std::vector<std::vector<cv::DMatch> >::const_iterator in symmetryTest()
69 for (std::vector<std::vector<cv::DMatch> >::const_iterator in symmetryTest()
84 cv::DMatch((*matchIterator1)[0].queryIdx, in symmetryTest()
94 void RobustMatcher::robustMatch( const cv::Mat& frame, std::vector<cv::DMatch>& good_matches, in robustMatch()
106 std::vector<std::vector<cv::DMatch> > matches12, matches21; in robustMatch()
[all …]
DRobustMatcher.h53 int ratioTest(std::vector<std::vector<cv::DMatch> > &matches);
56 void symmetryTest( const std::vector<std::vector<cv::DMatch> >& matches1,
57 const std::vector<std::vector<cv::DMatch> >& matches2,
58 std::vector<cv::DMatch>& symMatches );
61 void robustMatch( const cv::Mat& frame, std::vector<cv::DMatch>& good_matches,
66 void fastRobustMatch( const cv::Mat& frame, std::vector<cv::DMatch>& good_matches,
/external/opencv3/modules/cudafeatures2d/perf/
Dperf_features2d.cpp178 std::vector<cv::DMatch> gpu_matches;
187 std::vector<cv::DMatch> cpu_matches;
198 … void toOneRowMatches(const std::vector< std::vector<cv::DMatch> >& src, std::vector<cv::DMatch>& … in toOneRowMatches()
237 std::vector< std::vector<cv::DMatch> > matchesTbl;
240 std::vector<cv::DMatch> gpu_matches;
249 std::vector< std::vector<cv::DMatch> > matchesTbl;
253 std::vector<cv::DMatch> cpu_matches;
291 std::vector< std::vector<cv::DMatch> > matchesTbl;
294 std::vector<cv::DMatch> gpu_matches;
303 std::vector< std::vector<cv::DMatch> > matchesTbl;
[all …]
/external/opencv3/modules/cudafeatures2d/include/opencv2/
Dcudafeatures2d.hpp155 std::vector<DMatch>& matches,
161 std::vector<DMatch>& matches,
202 std::vector<DMatch>& matches) = 0;
227 std::vector<std::vector<DMatch> >& matches,
235 std::vector<std::vector<DMatch> >& matches,
283 std::vector< std::vector<DMatch> >& matches,
310 std::vector<std::vector<DMatch> >& matches,
318 std::vector<std::vector<DMatch> >& matches,
367 std::vector< std::vector<DMatch> >& matches,
/external/opencv3/modules/features2d/test/
Dtest_matchers_algorithmic.cpp86 vector<DMatch> matches; in emptyDataTest()
87 vector<vector<DMatch> > vmatches; in emptyDataTest()
199 vector<DMatch> matches; in matchTest()
212 DMatch& match = matches[i]; in matchTest()
227 vector<DMatch> matches; in matchTest()
239 DMatch& match = matches[i]; in matchTest()
254 vector<DMatch> matches; in matchTest()
279 DMatch& match = matches[i]; in matchTest()
312 vector<vector<DMatch> > matches; in knnMatchTest()
332 DMatch& match = matches[i][k]; in knnMatchTest()
[all …]
/external/opencv3/modules/features2d/misc/java/src/cpp/
Dfeatures2d_converters.cpp37 void Mat_to_vector_DMatch(Mat& mat, std::vector<DMatch>& v_dm) in Mat_to_vector_DMatch()
44 DMatch dm((int)v[0], (int)v[1], (int)v[2], v[3]); in Mat_to_vector_DMatch()
51 void vector_DMatch_to_Mat(std::vector<DMatch>& v_dm, Mat& mat) in vector_DMatch_to_Mat()
57 DMatch dm = v_dm[i]; in vector_DMatch_to_Mat()
88 void Mat_to_vector_vector_DMatch(Mat& mat, std::vector< std::vector< DMatch > >& vv_dm) in Mat_to_vector_vector_DMatch()
95 std::vector<DMatch> vdm; in Mat_to_vector_vector_DMatch()
101 void vector_vector_DMatch_to_Mat(std::vector< std::vector< DMatch > >& vv_dm, Mat& mat) in vector_vector_DMatch_to_Mat()
Dfeatures2d_converters.hpp12 void Mat_to_vector_DMatch(cv::Mat& mat, std::vector<cv::DMatch>& v_dm);
13 void vector_DMatch_to_Mat(std::vector<cv::DMatch>& v_dm, cv::Mat& mat);
18 void Mat_to_vector_vector_DMatch(cv::Mat& mat, std::vector< std::vector< cv::DMatch > >& vv_dm);
19 void vector_vector_DMatch_to_Mat(std::vector< std::vector< cv::DMatch > >& vv_dm, cv::Mat& mat);
/external/opencv3/modules/cudafeatures2d/src/
Dbrute_force_matcher.cpp211 std::vector<DMatch>& matches,
215 std::vector<DMatch>& matches,
229 std::vector<DMatch>& matches);
232 std::vector<std::vector<DMatch> >& matches,
238 std::vector<std::vector<DMatch> >& matches,
256 std::vector< std::vector<DMatch> >& matches,
260 std::vector<std::vector<DMatch> >& matches,
266 std::vector<std::vector<DMatch> >& matches,
284 std::vector< std::vector<DMatch> >& matches,
297 std::vector<DMatch>& matches, in match()
[all …]
/external/opencv3/modules/features2d/perf/opencl/
Dperf_brute_force_matcher.cpp66 vector<DMatch> matches;
87 vector< vector<DMatch> > matches;
97 vector<DMatch> & matches0 = matches[0], & matches1 = matches[1];
111 vector< vector<DMatch> > matches;
121 vector<DMatch> & matches0 = matches[0], & matches1 = matches[1];
/external/opencv3/modules/features2d/src/
Dmatchers.cpp117 …matchConvert(const Mat &trainIdx, const Mat &distance, std::vector< std::vector<DMatch> > &matches) in ocl_matchConvert()
141 DMatch m(queryIdx, trainIndex, 0, dst); in ocl_matchConvert()
143 std::vector<DMatch> temp; in ocl_matchConvert()
150 …chDownload(const UMat &trainIdx, const UMat &distance, std::vector< std::vector<DMatch> > &matches) in ocl_matchDownload()
217 …nvert(const Mat &trainIdx, const Mat &distance, std::vector< std::vector<DMatch> > &matches, bool … in ocl_knnMatchConvert()
238 matches.push_back(std::vector<DMatch>()); in ocl_knnMatchConvert()
239 std::vector<DMatch> &curMatches = matches.back(); in ocl_knnMatchConvert()
250 DMatch m(queryIdx, trainIndex, 0, dst); in ocl_knnMatchConvert()
262 …oad(const UMat &trainIdx, const UMat &distance, std::vector< std::vector<DMatch> > &matches, bool … in ocl_knnMatchDownload()
331 std::vector< std::vector<DMatch> > &matches, bool compactResult) in ocl_radiusMatchConvert()
[all …]
/external/opencv3/modules/java/common_test/src/org/opencv/test/utils/
DConvertersTest.java8 import org.opencv.core.DMatch;
38 List<DMatch> matches = new ArrayList<DMatch>(); in testMat_to_vector_DMatch()
42 List<DMatch> truth = new ArrayList<DMatch>(); in testMat_to_vector_DMatch()
43 truth.add(new DMatch(1, 4, 4, 10)); in testMat_to_vector_DMatch()
44 truth.add(new DMatch(2, 3, 5, 6)); in testMat_to_vector_DMatch()
45 truth.add(new DMatch(3, 1, 8, 12)); in testMat_to_vector_DMatch()
46 truth.add(new DMatch(4, 9, 5, 15)); in testMat_to_vector_DMatch()
277 List<DMatch> matches = new ArrayList<DMatch>(); in testVector_DMatch_to_Mat()
278 matches.add(new DMatch(1, 4, 4, 10)); in testVector_DMatch_to_Mat()
279 matches.add(new DMatch(2, 3, 5, 6)); in testVector_DMatch_to_Mat()
[all …]
/external/opencv3/modules/features2d/misc/java/test/
DBruteForceDescriptorMatcherTest.java14 import org.opencv.core.DMatch;
27 DMatch[] truth;
88 truth = new DMatch[] {
89 new DMatch(0, 0, 0, 0.6211397f),
90 new DMatch(1, 1, 0, 0.9177120f),
91 new DMatch(2, 1, 0, 0.3112163f),
92 new DMatch(3, 1, 0, 0.2925074f),
93 new DMatch(4, 1, 0, 0.9309178f)
187 for(DMatch dm : vdm.toArray())
DBruteForceL1DescriptorMatcherTest.java13 import org.opencv.core.DMatch;
26 DMatch[] truth;
88 truth = new DMatch[] {
89 new DMatch(0, 0, 0, 3.0975165f),
90 new DMatch(1, 1, 0, 3.5680308f),
91 new DMatch(2, 1, 0, 1.3722466f),
92 new DMatch(3, 1, 0, 1.3041023f),
93 new DMatch(4, 1, 0, 3.5970376f)
DBruteForceSL2DescriptorMatcherTest.java13 import org.opencv.core.DMatch;
26 DMatch[] truth;
93 truth = new DMatch[] {
94 new DMatch(0, 0, 0, 0.3858146f),
95 new DMatch(1, 1, 0, 0.8421953f),
96 new DMatch(2, 1, 0, 0.0968556f),
97 new DMatch(3, 1, 0, 0.0855606f),
98 new DMatch(4, 1, 0, 0.8666080f)
DBruteForceHammingLUTDescriptorMatcherTest.java13 import org.opencv.core.DMatch;
25 DMatch[] truth;
73 truth = new DMatch[] {
74 new DMatch(0, 0, 0, 51),
75 new DMatch(1, 2, 0, 42),
76 new DMatch(2, 1, 0, 40),
77 new DMatch(3, 3, 0, 53) };
DFlannBasedDescriptorMatcherTest.java14 import org.opencv.core.DMatch;
101 DMatch[] truth;
161 truth = new DMatch[] {
162 new DMatch(0, 0, 0, 0.6211397f),
163 new DMatch(1, 1, 0, 0.9177120f),
164 new DMatch(2, 1, 0, 0.3112163f),
165 new DMatch(3, 1, 0, 0.2925075f),
166 new DMatch(4, 1, 0, 0.9309179f)
DBruteForceHammingDescriptorMatcherTest.java14 import org.opencv.core.DMatch;
26 DMatch[] truth;
74 truth = new DMatch[] {
75 new DMatch(0, 0, 0, 51),
76 new DMatch(1, 2, 0, 42),
77 new DMatch(2, 1, 0, 40),
78 new DMatch(3, 3, 0, 53) };
/external/opencv3/modules/features2d/test/ocl/
Dtest_brute_force_matcher.cpp122 std::vector<cv::DMatch> matches; in OCL_TEST_P()
130 cv::DMatch match = matches[i]; in OCL_TEST_P()
148 std::vector< std::vector<cv::DMatch> > matches; in OCL_TEST_P()
163 cv::DMatch match = matches[i][k]; in OCL_TEST_P()
184 std::vector< std::vector<cv::DMatch> > matches; in OCL_TEST_P()
198 cv::DMatch match = matches[i][0]; in OCL_TEST_P()
/external/opencv3/modules/features2d/include/opencv2/
Dfeatures2d.hpp802 CV_OUT std::vector<DMatch>& matches, InputArray mask=noArray() ) const;
823 CV_OUT std::vector<std::vector<DMatch> >& matches, int k,
846 std::vector<std::vector<DMatch> >& matches, float maxDistance,
856 CV_WRAP void match( InputArray queryDescriptors, CV_OUT std::vector<DMatch>& matches,
869 …CV_WRAP void knnMatch( InputArray queryDescriptors, CV_OUT std::vector<std::vector<DMatch> >& matc…
883 …void radiusMatch( InputArray queryDescriptors, std::vector<std::vector<DMatch> >& matches, float m…
942 …virtual void knnMatchImpl( InputArray queryDescriptors, std::vector<std::vector<DMatch> >& matches…
944 …virtual void radiusMatchImpl( InputArray queryDescriptors, std::vector<std::vector<DMatch> >& matc…
987 …virtual void knnMatchImpl( InputArray queryDescriptors, std::vector<std::vector<DMatch> >& matches…
989 …virtual void radiusMatchImpl( InputArray queryDescriptors, std::vector<std::vector<DMatch> >& matc…
[all …]
/external/opencv3/modules/cudafeatures2d/test/
Dtest_features2d.cpp195 std::vector<cv::DMatch> matches; in CUDA_TEST_P()
298 std::vector<cv::DMatch> matches; in CUDA_TEST_P()
306 cv::DMatch match = matches[i]; in CUDA_TEST_P()
334 std::vector<cv::DMatch> matches; in CUDA_TEST_P()
346 cv::DMatch match = matches[i]; in CUDA_TEST_P()
383 std::vector< std::vector<cv::DMatch> > matches; in CUDA_TEST_P()
398 cv::DMatch match = matches[i][k]; in CUDA_TEST_P()
423 std::vector< std::vector<cv::DMatch> > matches; in CUDA_TEST_P()
438 cv::DMatch match = matches[i][k]; in CUDA_TEST_P()
471 std::vector< std::vector<cv::DMatch> > matches; in CUDA_TEST_P()
[all …]
/external/opencv3/samples/cpp/tutorial_code/features2D/
DAKAZE_match.cpp30 vector< vector<DMatch> > nn_matches; in main()
34 vector<DMatch> good_matches; in main()
36 DMatch first = nn_matches[i][0]; in main()
60 good_matches.push_back(DMatch(new_i, new_i, 0)); in main()
/external/opencv3/modules/stitching/src/
Dmatchers.cpp140 std::vector< std::vector<DMatch> > pair_matches;
177 std::vector< std::vector<DMatch> > pair_matches; in match()
186 const DMatch& m0 = pair_matches[i][0]; in match()
187 const DMatch& m1 = pair_matches[i][1]; in match()
203 const DMatch& m0 = pair_matches[i][0]; in match()
204 const DMatch& m1 = pair_matches[i][1]; in match()
207 matches_info.matches.push_back(DMatch(m0.trainIdx, m0.queryIdx, m0.distance)); in match()
234 const DMatch& m0 = pair_matches[i][0]; in match()
235 const DMatch& m1 = pair_matches[i][1]; in match()
250 const DMatch& m0 = pair_matches[i][0]; in match()
[all …]

123