1 | initial version |
cvHoughLines2
returns the lines sorted by the accumulator value descendingly, thus taking first lines of the returned array solves the problem, even though I don't get the accumulator values.
Thanks to this message: http://tech.groups.yahoo.com/group/OpenCV/message/55201