Automatic Data Reduction From a Lidar Point Cloud Directly to a Bare Earth Representation