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

Method DeleteTwoViewGeometry

src/colmap/scene/database_sqlite.cc:1554–1564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1552 }
1553
1554 void DeleteTwoViewGeometry(const image_t image_id1,
1555 const image_t image_id2) override {
1556 Sqlite3StmtContext context(sql_stmt_delete_two_view_geometry_);
1557
1558 const image_pair_t pair_id = ImagePairToPairId(image_id1, image_id2);
1559 SQLITE3_CALL(sqlite3_bind_int64(sql_stmt_delete_two_view_geometry_,
1560 1,
1561 static_cast<sqlite3_int64>(pair_id)));
1562 SQLITE3_CALL(sqlite3_step(sql_stmt_delete_two_view_geometry_));
1563 database_entry_deleted_ = true;
1564 }
1565
1566 void DeleteInlierMatches(const image_t image_id1,
1567 const image_t image_id2) override {

Callers 1

TEST_PFunction · 0.45

Calls 1

ImagePairToPairIdFunction · 0.85

Tested by 1

TEST_PFunction · 0.36