mosaic.interactor.DataContainerInteractor.cluster#

DataContainerInteractor.cluster(method, **kwargs)[source]#

Cluster point cloud using specified clustering method.

Parameters:
point_cloudndarray

Input point cloud coordinates.

methodstr

Clustering method to use. Options are: - ‘DBSCAN’ - ‘Connected Components’

**kwargs

Additional arguments passed to the chosen clustering method.

Returns:
list

List of point clouds, one for each identified cluster.