I know this is a very old post but I wanted to share my findings anyway.
The resolution (of the accumulator) of the output image of the detected lines is basically controlled by ρ (rho) as well as θ (theta) parameters.
Where ρ (rho) is responsible for resolution in terms of pixels.
and θ (theta) is responsible for resolution in terms of angels.
low rho value > smaller cells > higher resolution > higher precision detection of lines > higher computation time
Cells: are elements in the accumulator.
Each cell has multiple (θ,ρ) values where theta is angle and rho is distance as you already know, coordinates for lines that may exist.
So basically after the computation is done the cells acts as "votes" for a line that might be present and the accumulator is the "voting venue" for cells to vote.
The higher the votes on those parameters (θ,ρ), the more likely that there is a line exist on those parameters (θ,ρ).
In conclusion, think of (θ,ρ) as a plane of (x,y) in which it has waves(circles) drawn for each edge pixel and the more they intercept each other on specific points the more like there is a line there.
Left image XY-plane,
- Orange: A line drawn in an image
- Green: A point on the orange line
- Blue: Another point on the orange line
Right Image (θ,ρ) plane,
- Green: A line drawn from the Green point from the left image (the line represents the green point)
- Blue: A line drawn from the Blue point from the left image (the line represents the blue point)
— Orange: A point resulted from the intersections from green line and blue line.