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

Method CreateKeypointsTable

src/colmap/scene/database_sqlite.cc:2008–2019  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2006 }
2007
2008 void CreateKeypointsTable() const {
2009 const std::string sql =
2010 "CREATE TABLE IF NOT EXISTS keypoints"
2011 " (image_id INTEGER PRIMARY KEY NOT NULL,"
2012 " rows INTEGER NOT NULL,"
2013 " cols INTEGER NOT NULL,"
2014 " data BLOB,"
2015 " FOREIGN KEY(image_id) REFERENCES images(image_id) ON DELETE "
2016 "CASCADE);";
2017
2018 SQLITE3_EXEC(database_, sql.c_str(), nullptr);
2019 }
2020
2021 void CreateDescriptorsTable() const {
2022 const std::string sql =

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected