There's set of points in 2D plane.
points = [2, 2;
10, 12;
1, 1;
3,3;
5, 10]
Some points are in close proximity to others and form clusters/clouds. How to replace such cluster with one point given that cluster can be on area specified by some treshold t?
output = [2, 2;
10, 12;
5, 10]
In more graphic way:
Are there any algorithms/solutions that would be a good choice here?
