Automatic segmentation of three-dimensional point cloud with random walks