Searched refs:nn_matches (Results 1 – 3 of 3) sorted by relevance
30 vector< vector<DMatch> > nn_matches; in main() local31 matcher.knnMatch(desc1, desc2, nn_matches, 2); in main()35 for(size_t i = 0; i < nn_matches.size(); i++) { in main()36 DMatch first = nn_matches[i][0]; in main()37 float dist1 = nn_matches[i][0].distance; in main()38 float dist2 = nn_matches[i][1].distance; in main()
48 vector< vector<DMatch> > nn_matches; in main() local49 matcher.knnMatch(desc1, desc2, nn_matches, 2); in main()53 for (size_t i = 0; i < nn_matches.size(); i++) { in main()54 DMatch first = nn_matches[i][0]; in main()55 float dist1 = nn_matches[i][0].distance; in main()56 float dist2 = nn_matches[i][1].distance; in main()
64 vector< vector<DMatch> > nn_matches;65 matcher.knnMatch(desc1, desc2, nn_matches, 2);71 for(size_t i = 0; i < nn_matches.size(); i++) {72 DMatch first = nn_matches[i][0];73 float dist1 = nn_matches[i][0].distance;74 float dist2 = nn_matches[i][1].distance;