FitCircle circle-fitting class
Posted by
Michael Doube on
Sep 10, 2009; 11:11pm
URL: http://imagej.273.s1.nabble.com/FitCircle-circle-fitting-class-tp3691194.html
Hi all
I've been working on a Java port of some MATLAB scripts that fit circles
to data. I originally started it to find a good method to work out
radii of curvature, and it's grown (since Monday) to be something that
might be useful to other people.
The algorithms are described in detail by Nikolai Chernov on his page,
http://www.math.uab.edu/~chernov/cl/MATLABcircle.htmlIt includes Chernov's Hyper non-biased algebraic (non iterative, fast
and accurate) circle fitting method and a couple of the geometric methods.
The class is designed to be generic, and I've written an example testing
plugin, here:
http://doube.org/files/Test_Circle.javaIf you'd like to check it out, I've posted an initial, mostly-working
version at
http://doube.org/files/FitCircle.javaIt's also in my git repo,
http://github.com/mdoube/BoneJ/tree/master.
Cheers,
Mike