Hough Transform Lab

Upload an image — the lab sweeps parameter space and highlights the dominant line in real time.

Ready — load an image to begin.

What is the Hough Transform?

The Hough Transform is a feature-extraction technique that finds geometric shapes — lines, circles, ellipses — inside noisy or complex images. Instead of looking for shapes directly, it converts the problem into a vote: each edge pixel casts votes in a parameter space, and shapes emerge wherever votes accumulate.

A straight line in an image becomes a single bright point in Hough space. That insight is what makes it robust: real signal piles up, noise scatters.

Where it gets used

This lab runs the standard Hough line transform in-browser. Upload any image, hit Run, and watch it find the dominant line in the frame.