Lines Matching refs:pairwise_matches
69 pairwise_matches(_pairwise_matches), near_pairs(_near_pairs) {}
80 matcher(features[from], features[to], pairwise_matches[pair_idx]);
81 pairwise_matches[pair_idx].src_img_idx = from;
82 pairwise_matches[pair_idx].dst_img_idx = to;
86 pairwise_matches[dual_pair_idx] = pairwise_matches[pair_idx];
87 pairwise_matches[dual_pair_idx].src_img_idx = to;
88 pairwise_matches[dual_pair_idx].dst_img_idx = from;
90 if (!pairwise_matches[pair_idx].H.empty())
91 pairwise_matches[dual_pair_idx].H = pairwise_matches[pair_idx].H.inv();
93 for (size_t j = 0; j < pairwise_matches[dual_pair_idx].matches.size(); ++j)
94 std::swap(pairwise_matches[dual_pair_idx].matches[j].queryIdx,
95 pairwise_matches[dual_pair_idx].matches[j].trainIdx);
102 std::vector<MatchesInfo> &pairwise_matches;
527 void FeaturesMatcher::operator ()(const std::vector<ImageFeatures> &features, std::vector<MatchesInfo> &pairwise_matches,
543 pairwise_matches.resize(num_images * num_images);
544 MatchPairsBody body(*this, features, pairwise_matches, near_pairs);
667 void BestOf2NearestRangeMatcher::operator ()(const std::vector<ImageFeatures> &features, std::vector<MatchesInfo> &pairwise_matches,
683 pairwise_matches.resize(num_images * num_images);
684 MatchPairsBody body(*this, features, pairwise_matches, near_pairs);