java.lang.Object
de.grogra.pointcloud.clustering.KMeans

public abstract class KMeans extends Object
  • Constructor Details

    • KMeans

      public KMeans()
  • Method Details

    • cluster

      public static PointCloudBaseImpl[] cluster(PointCloudBaseImpl pc, int k, int maxIterations)
      Clusters a given point cloud with given parameters
      Parameters:
      pc - point cloud to be clustered
      k - The amount of clusters the point cloud should be split
      maxIterations - The maximum iterations of the algorithm
      Returns:
      Array of point clouds representing the cluster