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

Function ExistsCameraModelWithName

src/colmap/sensor/models.cc:110–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108 kCameraModelIdToName = InitialzeCameraModelIdToName();
109
110bool ExistsCameraModelWithName(const std::string& model_name) {
111 return kCameraModelNameToId.count(model_name) > 0;
112}
113
114bool ExistsCameraModelWithId(const CameraModelId model_id) {
115 return kCameraModelIdToName.count(model_id) > 0;

Callers 8

ExtractFeaturesFunction · 0.85
CheckMethod · 0.85
ImageReaderMethod · 0.85
VerifyCameraParamsFunction · 0.85
RunFeatureExtractorFunction · 0.85
TestModelFunction · 0.85
ExtractMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestModelFunction · 0.68