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

Function ExistsCameraModelWithId

src/colmap/sensor/models.cc:114–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114bool ExistsCameraModelWithId(const CameraModelId model_id) {
115 return kCameraModelIdToName.count(model_id) > 0;
116}
117
118CameraModelId CameraModelNameToId(const std::string& model_name) {
119 const auto it = kCameraModelNameToId.find(model_name);

Callers 3

CreateFromModelIdMethod · 0.85
camera.ccFile · 0.85
TestModelFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestModelFunction · 0.68