I have an image with ~100 points distributed in space, where each point represents the location of a calcium-release event . Events (red points in the below image) are normally arranged in loose clusters, where the centre point of the cluster should represent the location of the underlying calcium-release site .
I need an algorithm or image analysis approach to identify these sites. I need to find the minimal number of sites, where no event is more than a defined distance (eg. 6 pixels) from the site. The aim is to associate every event with a site, even if some sites only contain one event.
I have the XY co-ordinates of each event, and I need the output of the algorithm to be the XY co-ordinates of identified sites.
Does anyone have any suggestions? Thanks in advance.