File Exchange

image thumbnail

Circle Fit (Kasa method)

version (1.44 KB) by Nikolai Chernov
Fits a circle to a given set of planar points


Updated 10 Jan 2009

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

This is the fastest (though not most accurate) method of fitting a circlle to data points on a plane (given by their xy-coordinates). It returns the circle center (a,b) and radius R. It was proposed by I. Kasa in article "A curve fitting procedure and its error analysis", IEEE Trans. Inst. Meas., Vol. 25, pages 8-14, (1976). Another version of this circle fit has been posted by Izhak Bucher (file 5557).

Comments and Ratings (1)

Hi, does anyone knows how to adapt the Kasa, Pratt and Taubin method when the center coordinates are previously given? Or when just the y coordinate of the center is fixed previously?

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: Circle fit