I am trying to calculate the most compact way of grouping a set of pixels together. Does anyone have a readable guide on how to do this?
My initial results are given below for clusters of up to 10 pixels. Results are expressed in terms of the sum of unique interpixel distances for a given cluster (e.g. for a 3 pixel cluster it is the sum of the the distances ab, ac, bc).
1 = 0
2 = 1
3 = 3.4
4 = 6.8
5 = 13.5
6 = 21.1
7 = 31.4
8 = 44.1
9 = 58.9
10 = 78.5