File Exchange

image thumbnail

Circle Fit (Kasa method)

version 1.0 (1.44 KB) by

Fits a circle to a given set of planar points



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
MATLAB 6.0 (R12)

Inspired by: Circle fit

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video