-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
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
Issues with EllipseModel #5042
Comments
I gotta say I can't figure this one out after a bit of playing with it. Anyone in @scikit-image/core have experience with ellipse estimation and have time to play with this? |
This looks interesting, I have some experience with fitting geometric shapes (mostly 3D tho), I'll have a look, maybe I can figure it out. |
Found it! It is an integer overflow in scikit-image/skimage/measure/fit.py Line 426 in 9d502e2
points = points.astype(float) . That should fix your issue.
Also, be careful with using @maintainers we should probably convert the input of Happy coding! |
Thanks for looking into this! Indeed, it seems like casting |
p.s. I don't think maintainers pings anyone here? Most likely @scikit-image/core was what you wanted, but in general we try to monitor new issues, so usually it won't be necessary to specifically ping the full team unless you think something is falling through the cracks and needs special attention. |
Sure, I'll create one this weekend. |
Thank you mark! |
Closing this since #5179 is merged. Thank you again @mark-boer 😉 |
Description
Hey, I have issues with the EllipseMopdel estimate function.
It produces a completely wrong ellipse, what am I doing wrong.
This is what it looks like:
I am detecting a contour with opencv (blue line) and then feeding that contour to the EllipseModel.
Way to reproduce
Version information
Original image:
The text was updated successfully, but these errors were encountered: