How to find centroid for each cluster of points

specifically, cv::DescriptorMatcher::radiusMatch() to grab nearby points, within a certain radius.

please think of more useful titles for your questions. I’ve fixed this.