Lines Matching refs:matches
146 std::vector<DMatch>& matches = pairwise_matches.matches;
147 if (GetParam() == "orb") matches.resize(0);
148 for(size_t q = 0; q < matches.size(); ++q)
149 if (matches[q].imgIdx < 0) { matches.resize(q); break;}
150 SANITY_CHECK_MATCHES(matches);
206 std::vector<DMatch>& matches = pairwise_matches[detectorName == "surf" ? 1 : 0].matches;
207 for(size_t q = 0; q < matches.size(); ++q)
208 if (matches[q].imgIdx < 0) { matches.resize(q); break;}
209 SANITY_CHECK_MATCHES(matches);