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

Method CreateMatchesTable

src/colmap/scene/database_sqlite.cc:2035–2044  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2033 }
2034
2035 void CreateMatchesTable() const {
2036 const std::string sql =
2037 "CREATE TABLE IF NOT EXISTS matches"
2038 " (pair_id INTEGER PRIMARY KEY NOT NULL,"
2039 " rows INTEGER NOT NULL,"
2040 " cols INTEGER NOT NULL,"
2041 " data BLOB);";
2042
2043 SQLITE3_EXEC(database_, sql.c_str(), nullptr);
2044 }
2045
2046 void CreateTwoViewGeometriesTable() const {
2047 if (ExistsTable("inlier_matches")) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected