Re: bending and radius of curvature
Posted by
Rasband, Wayne (NIH/NIMH) [E] on
Dec 20, 2010; 7:25pm
URL: http://imagej.273.s1.nabble.com/Re-bending-and-radius-of-curvature-tp3686117p3686118.html
On Dec 19, 2010, at 3:22 PM, Ved Sharma wrote:
> 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
> <CircleFit_macro.txt>
Michael Doube's FitCircle.prattNewton() circle fitting method is built into the ImageJ 1.44m daily build as the Edit>Selection>Fit Circle command. Use the Measure command, with "Centroid" and "Bounding rectangle" enabled in Set Measurements, to get the center and diameter of the fitted circle.
-wayne