Abstract
We develop a new algorithm for fitting circles that does not have drawbacks commonly found in existing circle fits. Our fit achieves ultimate accuracy (to machine precision), avoids divergence, and is numerically stable even when fitting circles get arbitrary large. Lastly, our algorithm takes less than 10 iterations to converge, on average.



Similar content being viewed by others
Notes
In particular, it has been prescribed by a recently ratified standard for testing the data processing software for coordinate metrology [1].
References
Ahn, S.J.: Least Squares Orthogonal Distance Fitting of Curves and Surfaces in Space. LNCS, vol. 3151. Springer, Berlin (2004)
Atieg, A., Watson, G.A.: Fitting circular arcs by orthogonal distance regression. Appl. Numer. Anal. Comput. Math. 1, 66–76 (2004)
Chan, N.N.: On circular functional relationships. J. R. Stat. Soc. B 27, 45–56 (1965)
Chernov, N.: Circular and linear regression: fitting circles and lines by least squares. In: Monographs on Statistics and Applied Probability, vol. 117. Chapman & Hall, London (2010)
Chernov, N., Lesort, C.: Statistical efficiency of curve fitting algorithms. Comput. Stat. Data Anal. 47, 713–728 (2004)
Chernov, N., Lesort, C.: Least squares fitting of circles. J. Math. Imaging Vis. 23, 239–251 (2005)
Crawford, J.F.: A non-iterative method for fitting circular arcs to measured points. Nucl. Instrum. Methods 211, 223–225 (1983)
Gander, W., Golub, G.H., Strebel, R.: Least squares fitting of circles and ellipses. BIT Numer. Math. 34, 558–578 (1994)
Joseph, S.H.: Unbiased least-squares fitting of circular arcs. Graph. Models Image Process. 56, 424–432 (1994)
Karimäki, V.: Effective circle fitting for particle trajectories. Nucl. Instrum. Methods Phys. Res., Sect. A, Accel. Spectrom. Detect. Assoc. Equip. 305, 187–191 (1991)
Kasa, I.: A curve fitting procedure and its error analysis. IEEE Trans. Instrum. Meas. 25, 8–14 (1976)
Landau, U.M.: Estimation of a circular arc center and its radius. Comput. Vis. Graph. Image Process. 38, 317–326 (1987)
Nievergelt, Y.: A finite algorithm to fit geometrically all midrange lines, circles, planes, spheres, hyperplanes, and hyperspheres. Numer. Math. 91, 257–303 (2002)
Nievergelt, Y.: Perturbation analysis for circles, spheres, and generalized hyperspheres fitted to data by geometric total least-squares. Math. Comput. 73, 169–180 (2004)
Press, W.H., Teukolsky, S.A., Vetterling, W.T., Flannery, B.P.: Numerical Recipes in C++. Cambridge University Press, Cambridge (2002)
Perkins, W.A.: A model-based vision system for industrial parts. IEEE Trans. Comput. 27, 126–143 (1978)
Shakarji, C.: Least-squares fitting algorithms of the NIST algorithm testing system. J. Res. Natl. Inst. Stand. Technol. 103, 633–641 (1998)
Spath, H.: Least-squares fitting by circles. Computing 57, 179–185 (1996)
Taubin, G.: Estimation of planar curves, surfaces and nonplanar space curves defined by implicit equations, with applications to edge and range image segmentation. IEEE Trans. Pattern Anal. Mach. Intell. 13, 1115–1138 (1991)
Trefethen, L., Bau III, D.: Numerical Linear Algebra. SIAM, Philadelphia (1997)
Yuen, P.C., Feng, G.C.: A novel method for parameter estimation of digital arcs. Pattern Recognit. Lett. 17, 929–938 (1996)
Zelniker, E., Clarkson, V.: A statistical analysis of the Delogne–Kåsa method for fitting circles. Digit. Signal Process. 16, 498–522 (2006)
Acknowledgement
N.C. was partially supported by National Science Foundation, grant DMS-0969187.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Abdul-Rahman, H., Chernov, N. Fast and Numerically Stable Circle Fit. J Math Imaging Vis 49, 289–295 (2014). https://doi.org/10.1007/s10851-013-0461-4
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10851-013-0461-4