Code covered by the BSD License  

Highlights from
circle_fit

3.0
3.0 | 1 rating Rate this file 17 Downloads (last 30 days) File Size: 1.53 KB File ID: #36361 Version: 1.0
image thumbnail

circle_fit

by

 

A function to fit a circle to a set of 2D points

| Watch this File

File Information
Description

Given a scatter of 2D points, circle fit will find the center and radius of the best (in the least-squares sense) fit circle.

Required Products MATLAB
MATLAB release MATLAB 7.13 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
27 Mar 2014 li

li (view profile)

 
25 Apr 2012 Val Schmidt

Ah! Thanks. Very helpful.

Comment only
25 Apr 2012 Eric

Eric (view profile)

This seems equivalent to http://www.mathworks.com/matlabcentral/fileexchange/5557-circle-fit. Also, other algorithms are often more accurate when fitting data along only an arc (e.g., http://www.mathworks.com/matlabcentral/fileexchange/22643 ).

A good reference for fitting data to circles: "Least Squares Fitting of Circles" by N. Chernov and C. Lesort, Journal of Mathematical Imaging and Vision, Vol 23, 239-252 (2005). Nikolai Chernov has several good functions in the FEX for fitting to circles and ellipses.

Comment only

Contact us