ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
camera_specs.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <string>
11 #include <unordered_map>
12 #include <vector>
13 
14 namespace colmap {
15 
16 // { make1 : ({ model1 : sensor-width in mm }, ...), ... }
17 typedef std::vector<std::pair<std::string, float>> camera_make_specs_t;
18 typedef std::unordered_map<std::string, camera_make_specs_t> camera_specs_t;
19 
21 
22 } // namespace colmap
std::unordered_map< std::string, camera_make_specs_t > camera_specs_t
Definition: camera_specs.h:18
camera_specs_t InitializeCameraSpecs()
Definition: camera_specs.cc:36
std::vector< std::pair< std::string, float > > camera_make_specs_t
Definition: camera_specs.h:17