template<typename AT, typename RT>
struct hls::Polar_ {
    AT angle;
    RT rho;
template<int ROWS, int COLS, int SRC_T, unsigned int theta, unsigned int rho, typename AT, typename RT, unsigned int linesMax>
void hls::HoughLines2( hls::Mat<ROWS, COLS, SRC_T>& src,
                       hls::Polar_<AT,RT> (&lines)[linesMax],
                       unsigned int threshold );


  • src – the input image.
  • lines – an array of parameterized lines, given in polar coordinates.
  • threshold – the number of pixels that must land on a line before it will be returned.


Implements the Hough line transform.

OpenCV reference

cvHoughLines2, cv::HoughLines