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

Method CachedWorkspace

src/colmap/mvs/workspace.cc:173–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173CachedWorkspace::CachedWorkspace(const Options& options)
174 : Workspace(options),
175 cache_((size_t)(1024.0 * 1024.0 * 1024.0 * options.cache_size),
176 [](const int) { return std::make_shared<CachedImage>(); }) {}
177
178const Bitmap& CachedWorkspace::GetBitmap(const int image_idx) {
179 std::shared_ptr<CachedImage> cached_image;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected