Skip to content

Instantly share code, notes, and snippets.

@avivajpeyi
Last active August 29, 2026 03:39
Show Gist options
  • Select an option

  • Save avivajpeyi/ae6507b881d19641fa41cf99779c0fd5 to your computer and use it in GitHub Desktop.

Select an option

Save avivajpeyi/ae6507b881d19641fa41cf99779c0fd5 to your computer and use it in GitHub Desktop.
hough
# Soft Hough transform
- *Standard (hard):* threshold normalized power into a peak-gram, then count \(0/1\) peaks along a candidate track.
- *Soft:* Compute the local mean power, then smoothly weight pixels by how far above it they are instead of using a hard 0/1 threshold.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment