java.lang.Object
de.grogra.pointcloud.clustering.KMeans
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PointCloudBaseImpl[]
cluster
(PointCloudBaseImpl pc, int k, int maxIterations) Clusters a given point cloud with given parameters
-
Constructor Details
-
KMeans
public KMeans()
-
-
Method Details
-
cluster
Clusters a given point cloud with given parameters- Parameters:
pc
- point cloud to be clusteredk
- The amount of clusters the point cloud should be splitmaxIterations
- The maximum iterations of the algorithm- Returns:
- Array of point clouds representing the cluster
-