项目作者: HViktorTsoi

项目描述 :
RANSAC segmentation-based ground removal for 3D LiDAR point clouds.
高级语言: C++
项目地址: git://github.com/HViktorTsoi/pointcloud_ground_removal.git
创建时间: 2020-08-08T08:52:51Z
项目社区:https://github.com/HViktorTsoi/pointcloud_ground_removal

开源协议:

下载


Ground removal for point cloud

Install

  1. First, clone this project,notice the SUBMODULE should also be cloned.

    1. git clone --recursive https://github.com/HViktorTsoi/pointcloud_ground_removal.git
  2. Compile and install.

  1. python setup.py install

Usage

For details, please ref scripts/example.py

  1. import ground_removal_ext
  2. pc = np.empty((25000, 4)) # x,y,z,intensity
  3. # ground removal
  4. segmentation = ground_removal_ext.ground_removal_kernel(pc, 0.2, 200) # distance_th=0.2, iter=200
  5. print(segmentation.shape) # (25000, 5), the last channel represents if this point is ground,
  6. # 0: ground, 255: Non-ground