MCPcopy Create free account
hub / github.com/colmap/colmap / MatchesFromMatrix

Function MatchesFromMatrix

src/colmap/feature/types.cc:255–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255FeatureMatches MatchesFromMatrix(
256 const Eigen::Ref<const FeatureMatchesMatrix>& matches) {
257 FeatureMatches feature_matches(matches.rows());
258 for (Eigen::Index i = 0; i < matches.rows(); ++i) {
259 feature_matches[i] = FeatureMatch(matches(i, 0), matches(i, 1));
260 }
261 return feature_matches;
262}
263
264} // namespace colmap

Callers 3

BindTwoViewGeometrySceneFunction · 0.85
TESTFunction · 0.85

Calls 1

FeatureMatchClass · 0.85

Tested by 1

TESTFunction · 0.68