image-rs / image-rs/imageproc

Hough transform seems to double account for virtical lines

Open
#481 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
979
Forks
181
Avg merge
5m
Merged PRs (30d)
4

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Hough transform implementation and the handling of suppression_radius in the Hough-space values. Reproduce the square example and inspect the behavior at the 0-to-359 boundary. Done means vertical lines are not double-counted while the horizontal top and bottom lines remain correctly detected.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-vision
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.