Skip to content
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

Hough transform seems to double account for virtical lines #481

Open
fishrockz opened this issue Dec 28, 2021 · 1 comment
Open

Hough transform seems to double account for virtical lines #481

fishrockz opened this issue Dec 28, 2021 · 1 comment

Comments

@fishrockz
Copy link

A simple square on a plane background will have a single horizontal line for the top and bottom of the square. But will have two vertical lines on each side.

It looks like the suppression_radius is not applied across the 0 to 359 boundary of the hough space values.

@fishrockz
Copy link
Author

Looking at the results it looks like the 0 and 179 degrees boundary are not being suppressed across

[PolarLine { r: 200.0, angle_in_degrees: 0 }, PolarLine { r: 599.0, angle_in_degrees: 0 }, PolarLine { r: 449.0, angle_in_degrees: 90 }, PolarLine { r: 549.0, angle_in_degrees: 90 }, PolarLine { r: -590.0, angle_in_degrees: 179 }, PolarLine { r: -190.0, angle_in_degrees: 179 }]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant