CvHoughCircles Method (CvArr, CvMat, HoughCirclesMethod, Double, Double, Double) OpenCvSharp Class Library
Finds circles in grayscale image using Hough transform.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static CvSeq<CvCircleSegment> HoughCircles(
	CvArr image,
	CvMat circleStorage,
	HoughCirclesMethod method,
	double dp,
	double minDist,
	double param1
)

Parameters

image
Type: OpenCvSharpCvArr
The input 8-bit single-channel grayscale image.
circleStorage
Type: OpenCvSharpCvMat
The storage for the circles detected. It can be a memory storage or single row/single column matrix (CvMat*) of type CV_32FC3, to which the circles' parameters are written.
method
Type: OpenCvSharpHoughCirclesMethod
Currently, the only implemented method is CV_HOUGH_GRADIENT, which is basically 21HT
dp
Type: SystemDouble
Resolution of the accumulator used to detect centers of the circles. For example, if it is 1, the accumulator will have the same resolution as the input image, if it is 2 - accumulator will have twice smaller width and height, etc.
minDist
Type: SystemDouble
Minimum distance between 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.
param1
Type: SystemDouble
The first method-specific parameter. In case of CV_HOUGH_GRADIENT it is the higher threshold of the two passed to Canny edge detector (the lower one will be twice smaller).

Return Value

Type: CvSeqCvCircleSegment

[Missing <returns> documentation for "M:OpenCvSharp.Cv.HoughCircles(OpenCvSharp.CvArr,OpenCvSharp.CvMat,OpenCvSharp.HoughCirclesMethod,System.Double,System.Double,System.Double)"]

See Also

Reference