:param lines:Output vector of lines. Each line is represented by a two-element vector :math:`(\rho, \theta)` . :math:`\rho` is the distance from the coordinate origin :math:`(0,0)` (top-left corner of the image). :math:`\theta` is the line rotation angle in radians ( :math:`0 \sim \textrm{vertical line}, \pi/2 \sim \textrm{horizontal line}` ).
:param rho:Distance resolution of the accumulator in pixels.
:param theta:Angle resolution of the accumulator in radians.
:param threshold:Accumulator threshold parameter. Only those lines are returned that get enough votes ( :math:`>\texttt{threshold}` ).
:param doSort:Performs lines sort by votes.
:param maxLines:Maximum number of output lines.
:param accum:Optional buffer for accumulator to avoid extra memory allocations (for many calls with the same sizes).
:param buf:Optional buffer to avoid extra memory allocations (for many calls with the same sizes).
..seealso:::ocv:func:`HoughLines`
gpu::HoughLinesTransform
------------------------
Performs classical Hough transform for line detection.
:param lines:Output vector of lines. Each line is represented by a two-element vector :math:`(\rho, \theta)` . :math:`\rho` is the distance from the coordinate origin :math:`(0,0)` (top-left corner of the image). :math:`\theta` is the line rotation angle in radians ( :math:`0 \sim \textrm{vertical line}, \pi/2 \sim \textrm{horizontal line}` ).
:param rho:Distance resolution of the accumulator in pixels.
:param theta:Angle resolution of the accumulator in radians.
:param threshold:Accumulator threshold parameter. Only those lines are returned that get enough votes ( :math:`>\texttt{threshold}` ).
:param doSort:Performs lines sort by votes.
:param maxLines:Maximum number of output lines.
..seealso:::ocv:func:`gpu::HoughLines`
gpu::HoughLinesDownload
-----------------------
Downloads results from :ocv:func:`gpu::HoughLines` to host memory.