Title Thin Point Cloud by Keeping Specific Classes
thin_cloud.Rd
This function reads a LAS file, filters it to retain only specified classes of points (e.g., vegetation), and optionally saves the thinned point cloud to a new LAS file. The function specifically keeps points classified as 4 (medium vegetation) and 5 (high vegetation) by default.
Arguments
- las_path
The file path of the LAS file to be thinned.
- folder
The directory path where the thinned LAS file should be saved, if saving is enabled.
- save_las
A logical value indicating whether to save the thinned point cloud as a new LAS file. If TRUE, the thinned point cloud is saved; if FALSE, it is not saved.