Skip to content

Commit

Permalink
Do not clear inliers in guided matching
Browse files Browse the repository at this point in the history
  • Loading branch information
ahojnnes committed Jan 16, 2017
1 parent acad0bf commit 0a25983
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/base/feature_matching.cc
Expand Up @@ -1668,7 +1668,6 @@ void MatchGuidedSiftFeaturesCPU(const SiftMatchOptions& match_options,
return ((H * p1).hnormalized() - p2).squaredNorm() > max_residual;
};
} else {
two_view_geometry->inlier_matches.clear();
return;
}

Expand Down Expand Up @@ -1798,7 +1797,6 @@ void MatchGuidedSiftFeaturesGPU(const SiftMatchOptions& match_options,
H = two_view_geometry->H.cast<float>();
H_ptr = H.data();
} else {
two_view_geometry->inlier_matches.clear();
return;
}

Expand Down

0 comments on commit 0a25983

Please sign in to comment.