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

Method ReadAllImages

src/colmap/scene/database_sqlite.cc:782–793  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

780 }
781
782 std::vector<Image> ReadAllImages() const override {
783 Sqlite3StmtContext context(sql_stmt_read_images_);
784
785 std::vector<Image> images;
786 images.reserve(NumImages());
787
788 while (SQLITE3_CALL(sqlite3_step(sql_stmt_read_images_)) == SQLITE_ROW) {
789 images.push_back(ReadImageRow(sql_stmt_read_images_));
790 }
791
792 return images;
793 }
794
795 PosePrior ReadPosePrior(const pose_prior_t pose_prior_id,
796 bool is_deprecated_image_prior) const override {

Callers 15

TEST_PFunction · 0.45
TESTFunction · 0.45
ApplyRigConfigFunction · 0.45
MergeMethod · 0.45
CreateTestDataFunction · 0.45
LoadMethod · 0.45
MaybeLoadImagesMethod · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls 1

ReadImageRowFunction · 0.85

Tested by 7

TEST_PFunction · 0.36
TESTFunction · 0.36
CreateTestDataFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36