Robust shape extraction for automatically segmenting raw LiDAR data of outdoor scenes