-
Notifications
You must be signed in to change notification settings - Fork 29
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
Getting the votes from the Hough transform #83
Comments
The Hough transform doesn't require that a line be continuous; take a few pixels out of the middle, and you get almost exactly the same transform. That's actually part of its point, it can identify lines in noisy images. So what does "per line" actually mean? |
I mixed the terminologies, where "lines" should have been "pairs of |
Maybe more generally, I think the current implementation mixes two things: I think there's a strong case to be made that |
I totally agree. |
So I took a look, and while it should be straight forward to separate between generating the It's worth mentioning that the current implementation is pretty smart about avoiding saving a large matrix of useless |
In the Hough transform, the votes give a good indication of how likely a certain pair of
r
andθ
represent a line. But depending on the thickness and straightness of the lines in the image, the Hough transform can return multiple pairs ofr
andθ
that represent lines that are very similar to each (i.e. colinear lines). We can then cluster ther
andθ
pairs into groups (especially useful when we know how many lines there are in the image), and use the centers of each group to get a mean line. But it would be even better to have the votes per pair ofr
andθ
so that we can weigh ther
andθ
estimates accordingly when calculating the mean per group (and/or even before, during the clustering).The text was updated successfully, but these errors were encountered: