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

Method FindImageWithName

src/colmap/scene/database_cache.cc:453–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451}
452
453const class Image* DatabaseCache::FindImageWithName(
454 const std::string& name) const {
455 for (const auto& image : images_) {
456 if (image.second.Name() == name) {
457 return &image.second;
458 }
459 }
460 return nullptr;
461}
462
463void DatabaseCache::ConvertPosePriorsToENU() {
464 bool prior_is_gps = true;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected