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

Function SwapFeatureMatchesBlob

src/colmap/scene/database_sqlite.cc:80–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78};
79
80void SwapFeatureMatchesBlob(FeatureMatchesBlob* matches) {
81 for (Eigen::Index i = 0; i < matches->rows(); ++i) {
82 std::swap((*matches)(i, 0), (*matches)(i, 1));
83 }
84}
85
86FeatureKeypointsBlob FeatureKeypointsToBlob(const FeatureKeypoints& keypoints) {
87 const FeatureKeypointsBlob::Index kNumCols = 6;

Callers 2

ReadMatchesBlobMethod · 0.85
WriteMatchesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected