Login  Register

Antwort: Ellipse Fitting

Posted by Joachim Wesner on Jan 03, 2010; 9:29pm
URL: http://imagej.273.s1.nabble.com/Ellipse-Fitting-tp3689852p3689853.html

Hi Michael,

Interesting, however could you give a short hint how to download the source
as a Java file on that site, I can“t get neither "download source", nor
"copy to clipboard" to work.
(Also cut and paste seems to have problems!?)

Cheers

Joachim Wesner



                                                                           
             Michael Doube                                                
             <m.doube@IMPERIAL                                            
             .AC.UK>                                                    An
             Gesendet von:              [hidden email]                
             ImageJ Interest                                         Kopie
             Group                                                        
             <[hidden email].                                       Thema
             GOV>                       Ellipse Fitting                    
                                                                           
                                                                           
             03.01.2010 22:00                                              
                                                                           
                                                                           
              Bitte antworten                                              
                    an                                                    
              ImageJ Interest                                              
                   Group                                                  
             <[hidden email].                                            
                   GOV>                                                    
                                                                           
                                                                           




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.java


Mike



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________