This code can solve the problem of extracting ground point clouds from complex mountain point cloud data. The code includes CSF, VDVI, and Nearest Neighbor Interpolation to fill holes.
algorithm procedure:
- CSF algorithm to remove high vegetation and buildings.
- VDVI green leaf index removes low vegetation.
- The nearest neighbor interpolation fills the hole.
We test on the VS2022, PCL 1.14.0, CMake 4.1.1, and 'CSF'. Please refer to this project to configure 'CSF' dependency: https://github.com/jianboqi/CSF
Create a C++ project to include the project 'ground _ extraction.cpp'.