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

Method DeleteInlierMatches

src/colmap/scene/database_sqlite.cc:1566–1574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1564 }
1565
1566 void DeleteInlierMatches(const image_t image_id1,
1567 const image_t image_id2) override {
1568 if (!ExistsTwoViewGeometry(image_id1, image_id2)) {
1569 return;
1570 }
1571 TwoViewGeometry geom = ReadTwoViewGeometry(image_id1, image_id2);
1572 geom.inlier_matches.clear();
1573 UpdateTwoViewGeometry(image_id1, image_id2, geom);
1574 }
1575
1576 void ClearAllTables() override {
1577 ClearMatches();

Callers 1

TEST_PFunction · 0.45

Calls

no outgoing calls

Tested by 1

TEST_PFunction · 0.36