Interactive Hough Transform

Image Space

Hough Space

Detected Lines

Instructions

Draw in either canvas to see the transform in the other canvas.

• Image Space: Points and lines in Cartesian coordinates (x,y)

• ρ-θ Space: Lines represented in polar coordinates as ρ = x·cos(θ) + y·sin(θ)

• m-c Space: Lines represented in slope-intercept form as y = mx + c

• Use the "Detect Lines" button to find lines in the image based on peaks in the Hough space