We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When the data to fit correspond to nearly vertical ellipses, the resulting angle is sometimes around zero (corresponding to the wrong axis).
A quick workaround is to change line 124 into:
if (par(2)>0) theta = 0.5 * atan2(par(2), par(1) - par(3)); else theta = 0.5 * atan2(-par(2), -par(1) + par(3)); end
The text was updated successfully, but these errors were encountered:
It seems there is more involved code in fitEllipse3d.m. Could propagate to 2D case.
Sorry, something went wrong.
dlegland
No branches or pull requests
When the data to fit correspond to nearly vertical ellipses, the resulting angle is sometimes around zero (corresponding to the wrong axis).
A quick workaround is to change line 124 into:
The text was updated successfully, but these errors were encountered: