Code covered by the BSD License  

Highlights from
Circle Fit using Landau Method

5.0

5.0 | 1 rating Rate this file 50 Downloads (last 30 days) File Size: 1.39 KB File ID: #44219
image thumbnail

Circle Fit using Landau Method

by

 

Uses a non iterative and simple geometric fit. A modified version of Landau

| Watch this File

File Information
Description

Based on the research paper "A Simple approach for the Estimation of Circular Arc Center and Its radius", Thomas and Chan, Computer vision, graphics and image processing 45, 362-370 (1989)

All credits go to above authors and Landau who originally proposed this method. Use of geometric fit makes this more accurate than least square approximations.

How to use?
[xc,yc,R] = Landau_new(x,y);
%where x and y are column vectors with data to be fitted.
%xc and yc are the center of fitted circle with radius R.

Acknowledgements

Circle Fit inspired this file.

Required Products MATLAB
MATLAB release MATLAB 8.1 (R2013a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
13 Jun 2014 xd1231

Easy to use...Do you have a c++ version of this?

07 Nov 2013 Sumith YD

%here is a demo on how to use above function with random data. Make sure you have Landau_new.m file on the same folder as this file.

clear;
R = 6.57; xc = 12; yc = -8;
thetas = 0:pi/180:2*pi;
x = xc + R*cos(thetas);
y = yc + R*sin(thetas);
mult = 0.2;
x = x+mult*randn(size(x));
y = y+mult*randn(size(y));

[xcnew,ycnew,Rnew] = Landau_new(x,y);
theta=0:pi/180:2*pi;
xcircle = R*cos(theta')+xc;
ycircle = R*sin(theta')+yc;
plot(x,y,'.',xcircle,ycircle,'LineWidth',2);
axis equal;

Contact us