:param d_lines:Result of :ocv:func:`gpu::HoughLines` .
:param accum:Output accumulator array.
:param h_lines:Output host array.
:param buf:Buffer to avoid extra memory allocations (for many calls with the same sizes).
:param h_votes:Optional output array for line's votes.
:param rho:Distance resolution of the accumulator in pixels.
..seealso:::ocv:func:`gpu::HoughLines`
: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}` ).
..seealso:::ocv:func:`gpu::HoughLines`
gpu::HoughCircles
-----------------
Finds circles in a grayscale image using the Hough transform.
..ocv:function:: void gpu::HoughCircles(const GpuMat& src, GpuMat& circles, int method, float dp, float minDist, int cannyThreshold, int votesThreshold, int minRadius, int maxRadius, int maxCircles = 4096)
..ocv:function:: void gpu::HoughCircles(const GpuMat& src, GpuMat& circles, HoughCirclesBuf& buf, int method, float dp, float minDist, int cannyThreshold, int votesThreshold, int minRadius, int maxRadius, int maxCircles = 4096)
:param circles:Output vector of found circles. Each vector is encoded as a 3-element floating-point vector :math:`(x, y, radius)` .
:param accum:Accumulator array.
:param method:Detection method to use. Currently, the only implemented method is ``CV_HOUGH_GRADIENT`` , which is basically *21HT* , described in [Yuen90]_.
: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 dp:Inverse ratio of the accumulator resolution to the image resolution. For example, if ``dp=1`` , the accumulator has the same resolution as the input image. If ``dp=2`` , the accumulator has half as big width and height.
:param rho:Distance resolution of the accumulator in pixels.
:param minDist:Minimum distance between the centers of the detected circles. If the parameter is too small, multiple neighbor circles may be falsely detected in addition to a true one. If it is too large, some circles may be missed.
:param theta:Angle resolution of the accumulator in radians.
:param cannyThreshold:The higher threshold of the two passed to the :ocv:func:`gpu::Canny` edge detector (the lower one is twice smaller).
:param threshold:Accumulator threshold parameter. Only those lines are returned that get enough votes ( :math:`>\texttt{threshold}` ).
:param votesThreshold:The accumulator threshold for the circle centers at the detection stage. The smaller it is, the more false circles may be detected.
:param doSort:Performs lines sort by votes.
:param minRadius:Minimum circle radius.
:param maxLines:Maximum number of output lines.
:param maxRadius:Maximum circle radius.
..seealso:::ocv:func:`gpu::HoughLines`
:param maxCircles:Maximum number of output circles.
:param buf:Optional buffer to avoid extra memory allocations (for many calls with the same sizes).
..seealso:::ocv:func:`HoughCircles`
gpu::HoughLinesDownload
-----------------------
Downloads results from :ocv:func:`gpu::HoughLines` to host memory.