Home
last modified time | relevance | path

Searched refs:pairwise_matches (Results 1 – 8 of 8) sorted by relevance

/external/opencv3/modules/stitching/include/opencv2/stitching/detail/
Dmotion_estimators.hpp78 const std::vector<MatchesInfo> &pairwise_matches, in operator ()() argument
80 { return estimate(features, pairwise_matches, cameras); } in operator ()()
92 const std::vector<MatchesInfo> &pairwise_matches,
106 const std::vector<MatchesInfo> &pairwise_matches,
147 const std::vector<MatchesInfo> &pairwise_matches,
257 …PORTS matchesGraphAsString(std::vector<String> &pathes, std::vector<MatchesInfo> &pairwise_matches,
262 std::vector<MatchesInfo> &pairwise_matches,
266 int num_images, const std::vector<MatchesInfo> &pairwise_matches,
Dmatchers.hpp199 …operator ()(const std::vector<ImageFeatures> &features, std::vector<MatchesInfo> &pairwise_matches,
262 …operator ()(const std::vector<ImageFeatures> &features, std::vector<MatchesInfo> &pairwise_matches,
Dautocalib.hpp76 const std::vector<MatchesInfo> &pairwise_matches,
/external/opencv3/modules/stitching/src/
Dmatchers.cpp69 pairwise_matches(_pairwise_matches), near_pairs(_near_pairs) {} in MatchPairsBody()
80 matcher(features[from], features[to], pairwise_matches[pair_idx]); in operator ()()
81 pairwise_matches[pair_idx].src_img_idx = from; in operator ()()
82 pairwise_matches[pair_idx].dst_img_idx = to; in operator ()()
86 pairwise_matches[dual_pair_idx] = pairwise_matches[pair_idx]; in operator ()()
87 pairwise_matches[dual_pair_idx].src_img_idx = to; in operator ()()
88 pairwise_matches[dual_pair_idx].dst_img_idx = from; in operator ()()
90 if (!pairwise_matches[pair_idx].H.empty()) in operator ()()
91 pairwise_matches[dual_pair_idx].H = pairwise_matches[pair_idx].H.inv(); in operator ()()
93 for (size_t j = 0; j < pairwise_matches[dual_pair_idx].matches.size(); ++j) in operator ()()
[all …]
Dmotion_estimators.cpp63 : num_images(_num_images), pairwise_matches(&_pairwise_matches[0]), cameras(&_cameras[0]) {} in CalcRotation()
81 Mat R = K_from.inv() * pairwise_matches[pair_idx].H.inv() * K_to; in operator ()()
86 const MatchesInfo* pairwise_matches; member
107 const std::vector<MatchesInfo> &pairwise_matches, in estimate() argument
122 int len = 2 + rand()%(pairwise_matches.size() - 1); in estimate()
124 selectRandomSubset(len, pairwise_matches.size(), subset); in estimate()
127 if (!pairwise_matches[subset[i]].H.empty()) in estimate()
128 Hs.push_back(pairwise_matches[subset[i]].H); in estimate()
142 estimateFocal(features, pairwise_matches, focals); in estimate()
159 findMaxSpanningTree(num_images, pairwise_matches, span_tree, span_tree_centers); in estimate()
[all …]
Dautocalib.cpp97 …Focal(const std::vector<ImageFeatures> &features, const std::vector<MatchesInfo> &pairwise_matches, in estimateFocal() argument
109 const MatchesInfo &m = pairwise_matches[i*num_images + j]; in estimateFocal()
/external/opencv3/modules/stitching/perf/
Dperf_stich.cpp133 detail::MatchesInfo pairwise_matches; in PERF_TEST_P() local
141 (*matcher)(features1, features2, pairwise_matches); in PERF_TEST_P()
146 std::vector<DMatch>& matches = pairwise_matches.matches; in PERF_TEST_P()
188 vector<detail::MatchesInfo> pairwise_matches; variable
200 (*matcher)(features, pairwise_matches);
206 std::vector<DMatch>& matches = pairwise_matches[detectorName == "surf" ? 1 : 0].matches;
/external/opencv3/samples/cpp/
Dstitching_detailed.cpp460 vector<MatchesInfo> pairwise_matches; in main() local
464 matcher(features, pairwise_matches); in main()
470 matcher(features, pairwise_matches); in main()
481 f << matchesGraphAsString(img_names, pairwise_matches, conf_thresh); in main()
485 vector<int> indices = leaveBiggestComponent(features, pairwise_matches, conf_thresh); in main()
510 if (!estimator(features, pairwise_matches, cameras)) in main()
540 if (!(*adjuster)(features, pairwise_matches, cameras)) in main()