imagecluster.calc.cluster_stats

imagecluster.calc.cluster_stats(clusters)[source]

Count clusters of different sizes.

Returns:

2d array

Array with column 1 = csize sorted (number of images in the cluster) and column 2 = cnum (number of clusters with that size).

[[csize, cnum],
 [...],
]