Do the HoughLines or HoughLinesP functions in OpenCV return the list of lines in accumulator order like the HoughCircles function does? I would like to know the ordering of lines. It would also be very handy to get a the accumulator value for the lines so an intelligent and adaptive threshold could be used instead of a fixed one. Are either the ordering or the accumulator value available without rewriting OpenCV myself?

Thank you for making that clear and pointing me to the code. I'm using the probabilistic version and going through the code, it would be nice to bring linesMax out too to speed things up.
–
zzzzJul 6 '12 at 13:17

1

The Probabilistic is in the same file, i think you already found it. The different approach in line search means that the vote count is not as relevant as in classical H. As long as a line has the min required votes, it is pushed in the result queue. No sorting is performed.
–
sammyJul 6 '12 at 13:38

Hello, Sorry for revamping this thread, but do you have an idea hwo to get the accumulator value in probalistic hough transform? I am not quite sure where in the accumulator matrix the line's votes are.
–
AeefireMar 26 at 12:42