MCPcopy Create free account
hub / github.com/LimHyungTae/patchwork / set_initial_gt_counts

Function set_initial_gt_counts

include/patchwork/utils.hpp:113–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113std::map<int, int> set_initial_gt_counts(std::vector<int> &gt_classes) {
114 map<int, int> gt_counts;
115 for (size_t i = 0; i < gt_classes.size(); ++i) {
116 gt_counts.insert(pair<int, int>(gt_classes.at(i), 0));
117 }
118 return gt_counts;
119}
120
121template <typename PointT>
122std::map<int, int> count_num_each_class(const pcl::PointCloud<PointT> &pc) {

Callers 1

count_num_each_classFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected