How to classify and extract ground points from a point cloud