-
-
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
Improve docstring of Hough transform function #5165
Comments
Thank you for checking that issue, @emmanuelle. |
It sounds good, but I think the
to something like
|
I'd think it's nicer to maybe having something like that on the
But I won't oppose if y'all prefer it like Greg suggested 🙂 |
Also note that the
In particular, the latter should make it clear that the distance might be negative.
|
I don't have a clear preference between @alexdesiqueira's and @grlee77's suggestions. I think it's even clearer to describe the
|
Thanks for that @alessandro-giusti, we'll check it out as well! |
The docstring of the hough transform functions does not mention that the Hough transform should be applied to a gradient / contour image, so that one often has to perform first a Canny filter or a gaussian gradient magnitude operation. The doc example https://scikit-image.org/docs/dev/auto_examples/edges/plot_circular_elliptical_hough_transform.html?highlight=hough%20transform could also comment on this preprocessing operation (which is performed in the example with a Canny filter).
This issue was inspired by a question on the user forum https://forum.image.sc/t/elliptical-hough-transform-doesnt-work-on-own-images/47052
The text was updated successfully, but these errors were encountered: