An implementation on "Curved-Voxel Clustering for Accurate Segmentation of 3D LiDAR Point Clouds with Real-Time Performance" from IROS 2019
vector<PointAPR> papr;
calculateAPR(*cloud_gr,papr);
unordered_map<int, Voxel> hvoxel;
build_hash_table(papr,hvoxel);
vector<int> cluster_index = CVC(hvoxel,papr);
vector<int> cluster_id;
most_frequent_value(cluster_index, cluster_id);
The output is the same as https://github.com/FloatingObjectSegmentation/CppRBNN
For the demo code:
mkdir build
cd build
cmake ..
make -j