| 121 | } |
| 122 | |
| 123 | TwoViewGeometry FeatureMatcherCache::GetTwoViewGeometry( |
| 124 | const image_t image_id1, const image_t image_id2) { |
| 125 | std::lock_guard<std::mutex> lock(database_mutex_); |
| 126 | return database_->ReadTwoViewGeometry(image_id1, image_id2); |
| 127 | } |
| 128 | |
| 129 | std::vector<frame_t> FeatureMatcherCache::GetFrameIds() { |
| 130 | MaybeLoadFrames(); |