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

Method DeleteMatches

src/colmap/scene/database_sqlite.cc:1543–1552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1541 }
1542
1543 void DeleteMatches(const image_t image_id1,
1544 const image_t image_id2) override {
1545 Sqlite3StmtContext context(sql_stmt_delete_matches_);
1546
1547 const image_pair_t pair_id = ImagePairToPairId(image_id1, image_id2);
1548 SQLITE3_CALL(sqlite3_bind_int64(
1549 sql_stmt_delete_matches_, 1, static_cast<sqlite3_int64>(pair_id)));
1550 SQLITE3_CALL(sqlite3_step(sql_stmt_delete_matches_));
1551 database_entry_deleted_ = true;
1552 }
1553
1554 void DeleteTwoViewGeometry(const image_t image_id1,
1555 const image_t image_id2) override {

Callers 1

TEST_PFunction · 0.45

Calls 1

ImagePairToPairIdFunction · 0.85

Tested by 1

TEST_PFunction · 0.36