Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Clustering » ClusterPoints2D

ClusterPoints2D


Clusters 2D points using K Means Clustering method.

Name Type Range Description
inPoints Point2DArray Array of points to cluster.
inClusters Integer 2 - + Number of clusters to extract.
inMaxIterations Integer 10 - 1000 Maximal number of KMeans iterations.
outClusters Point2DArray?Array Resulting Point2D clusters.
outCentroids Point2D?Array Center of found clusters.
outDistanceSum Real Sum of distance squares from points in array to its respective cluster center.

Complexity Level

This filter is available on Expert Complexity Level.