15 static std::map<size_t, std::string>
SemanticMap = {{0,
"Unlabeled"},
16 {1,
"Manmade-Terrain"},
17 {2,
"Natural-Terrain"},
18 {3,
"High-Vegetation"},
19 {4,
"Low-Vegetation"},
22 {7,
"Scanning-Artifacts"},
26 {11,
"Electrical-Wire"},
31 {16,
"Linker-insulator"},
34 {19,
"Traffic-Light"}};
37 std::map<size_t, std::string>::const_iterator it =
SemanticMap.begin();
39 if (it->second == value) {
40 return static_cast<int>(it->first);
47 typedef std::map<std::string, std::vector<size_t>>
ClusterMap;
std::map< std::string, std::vector< size_t > > ClusterMap
static std::map< size_t, std::string > SemanticMap
static int FindindexByValue(const std::string &value)