bdhammel / least-squares-ellipse-fitting

Fitting an Ellipse using a Least Squares method, in Python
MIT License
148 stars 46 forks source link

Wrong angle calculation #15

Closed bverlind1 closed 2 years ago

bverlind1 commented 3 years ago

Hello,

It seems that the angle calculation is not always correct. I have this case and angle is -0.13946737246282517 This seems the angle from Y axis instead of the X axis AngleEllipse EllipseIn.txt

djibb commented 3 years ago

hi, could you try it with this code : https://github.com/djibb/least-squares-ellipse-fitting

bdhammel commented 2 years ago

Thanks, should be solved in https://github.com/bdhammel/least-squares-ellipse-fitting/pull/19