Ellipse Fitting
Posted by
Michael Doube on
Jan 03, 2010; 9:00pm
URL: http://imagej.273.s1.nabble.com/Ellipse-Fitting-tp3689852.html
Hi all
In response to David Webster's request for ellipse-fitting code, I have
got something mostly working. I have ported the "direct" ellipse fit
from a MATLAB script, (which seems to work OK), but haven't got the
Taubin fit to work properly yet. I think this may have something to do
with MATLAB's eig(A,B) function, which isn't directly implemented in
JAMA. If anyone has any hints about how to circumvent this limitation
I'd be glad to hear it.
FitEllipse is available as Java code here:
http://github.com/mdoube/BoneJ/blob/master/src/org/doube/geometry/FitEllipse.javaMike