Lidar-Segementation
An implementation on "Curved-Voxel Clustering for Accurate Segmentation of 3D LiDAR Point Clouds with Real-Time Performance" from IROS 2019
Update on 20210825
- Add a demo code
- Fix some problem
This file is just a function file, you may need to change a little bit to fit your own code
How to use:
vector
papr;
calculateAPR(*cloud_gr,papr);
unordered_map
hvoxel;
build_hash_table(papr,hvoxel);
vector
cluster_index = CVC(hvoxel,papr);
vector
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
Reference
- Part of this code references to the https://github.com/FloatingObjectSegmentation/CppRBNN
- Ground Remocve: https://github.com/LimHyungTae/patchwork