I need a very precise algorithm for fitting a circle to the set of data points (actually I need to determine the center). The data comes after the binarization and segmentation
OpenCV 2.4.6.0 has findCirclesGrid function to find the centers of circles in a grid.