ρ = x·cos θ + y·sin θ
Image Space (x, y)
scroll = zoom · drag = pan · dbl-click = reset
Hough Space (θ, ρ)
scroll = zoom · drag = pan
Place points in the image panel; each casts a vote-curve in the accumulator panel. Where curves cross, the accumulator brightens dark→white — that peak is the shared line.
Explore the idea

Why a point becomes a curve

Click a point in Image Space and it draws a whole curve in Hough Space, not another point. That point lies on many lines at different angles; the curve is just those lines, one dot per angle.

Place two points, then drag one of them around. Watch the crossing of the two curves slide as you go.

The crossing is the one line both points share. A point here is a curve there, so points that line up in the image become curves that meet at one spot.

The transform as a voting scheme

This is how the classic line finder works: every point votes along its whole curve, and where many curves cross, a line is declared. In Accumulate mode the crossings brighten from dark gray toward white — the brightness is the vote tally. Noise scatters its votes thinly and stays dim; points that share a line pile onto one cell and it glows.

Place five points nearly on one line, then scatter three more off it. One cell brightens to near-white where the five agree; the strays barely register. Toggle Colour to pair each point with its own curve instead of tallying them.

Switch to Circle mode and the same voting finds circles: each point now votes along a curve in a different parameter space, and the bright cell marks the circle they share.

Reading in the other direction

Click anywhere in Hough Space and a line appears back in Image Space. Same relation, ρ = x·cos(θ) + y·sin(θ), read backwards: a point on one side is a line on the other. You can pan and zoom either panel (scroll to zoom, drag to pan) to look closely at where the votes pile up.

The angle θ only sweeps half a turn, -π/2 to +π/2. Why is a full circle unnecessary?
after you have tried it

Because θ and θ+π name the same line: swinging the normal direction through a half turn already reaches every orientation, and the sign of ρ carries which side of the origin the line falls on. Sweeping the other half turn would only re-draw every line a second time, with ρ negated.

Where this shows up beyond images

The same swap appears far beyond pictures: trade the hard question — which line fits these points — for the easy one — where do these curves meet — and this is the move underneath.