View source: R/connected_components.R
connected_components | R Documentation |
Assigns an ID to each cluster of connected components in a point cloud. The point cloud is subdivided into a 3D grid, and a classical Connected-Component Labeling algorithm is applied in 3D.
connected_components(las, res, min_pts, name = "clusterID")
las |
A LAS object representing the point cloud data. |
res |
Grid resolution. If two non-empty voxels are contiguous, they are considered part of the same component. |
min_pts |
Minimum number of points in a cluster. If a cluster contains fewer than |
name |
A string specifying the name of the new attribute used to store the ID of each cluster. |
A LAS object with an additional attribute named as specified by name
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.