powered by
Remove isolated points from a LAS point cloud based on their neighborhood distances.
LAS
nnFilter(las, d = 0.05, n = 2)
LAS object.
numeric - search radius.
numeric
numeric - number of neighbors within d distance a point must have to be kept in the output.
d
# NOT RUN { file = system.file("extdata", "spruce.laz", package="TreeLS") tls = readTLS(file) nrow(tls@data) nn_tls = nnFilter(tls, 0.05, 3) nrow(nn_tls@data) # }
Run the code above in your browser using DataLab