Re: bending and radius of curvature
Posted by
Michael Doube on
Dec 20, 2010; 9:06am
URL: http://imagej.273.s1.nabble.com/Re-bending-and-radius-of-curvature-tp3686117p3686122.html
Hi Ved, Fabrice,
The FitCircle class is now being maintained at:
https://github.com/mdoube/BoneJ/blob/master/src/org/doube/geometry/FitCircle.javaAnd there are unit tests at:
https://github.com/mdoube/BoneJ/blob/master/test/org/doube/geometry/FitCircleTest.javaAlso, it would be better to use the public methods in the class, rather
than reimplementing them in macro language, although the call() macro
function doesn't seem to handle non-string arguments (we need to pass a
double[] argument to the circle fitting methods). Perhaps another
scripting language (javascript?) or Java plugin would be better.
Michael
> Dear Fabrice,
>
> I don't know if you still need it but Michael Doube has written a
> very nice plugin called FitCircle, which I think will do what you are
> looking for. Check out his page:
http://doube.org/plugins. It fits
> circle through the data points using a variety of user selected
> methods. The original codes for fitting the circle were from Nikolai
> Chernov's MATLAB scripts
> (
http://www.math.uab.edu/~chernov/cl/MATLABcircle.html). I took one
> of these circle fitting methods and rewrote the code in a macro.
> Check out the attached file.
>
> Ved