Commit 7d692890 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #13511 from knsong:3.4

parents c9dfcc4d d4917a5b
......@@ -694,6 +694,7 @@ void FeaturesMatcher::operator ()(const std::vector<ImageFeatures> &features, st
if (features[i].keypoints.size() > 0 && features[j].keypoints.size() > 0 && mask_(i, j))
near_pairs.push_back(std::make_pair(i, j));
pairwise_matches.clear(); // clear history values
pairwise_matches.resize(num_images * num_images);
MatchPairsBody body(*this, features, pairwise_matches, near_pairs);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment