Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hough Transform degree calculated from which angle?

Hello expert, I'm still curious where the degree for the houghtransformP function start? I had debugged my code and got funny answer

All the while I thought the degree will start from top corner (0,0) coordinate and clockwise direction, but eventually when I execute my code, looks like it is not from top corner(0,0) using C++ opencv but it is look like the degree start from 0 degree lower left corner anti clock wise direction.

Please help to enlighten me on this. Quite confusing with the result