This routine creates a grid with a given resolution and filters the point cloud by selecting the
highest point within each cell.
Usage
lasfiltersurfacepoints(las, res)
Arguments
las
A LAS object
res
numeric. The resolution of the grid used to filter the point cloud
Value
A LAS object
Details
This function is different from grid_canopy even if the overall concept is exactly the same.
grid_canopy attributes to each cell the elevation of the highest points and the point cloud is
rasterized. Here, there is no rasterization, the function takes a point cloud as input and a point
cloud as output. Coordinates and attributes are preserved.