vision: finding centroids etc