CvArrHoughCircles Method (CvMemStorage, HoughCirclesMethod, Double, Double, Double, Double, Int32) 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 CvSeq<CvCircleSegment> HoughCircles(
	CvMemStorage circleStorage,
	HoughCirclesMethod method,
	double dp,
	double minDist,
	double param1,
	double param2,
	int minRadius
)

Parameters

circleStorage
Type: OpenCvSharpCvMemStorage
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).
param2
Type: SystemDouble
The second method-specific parameter. In case of CV_HOUGH_GRADIENT it is accumulator threshold at the center detection stage. The smaller it is, the more false circles may be detected. Circles, corresponding to the larger accumulator values, will be returned first.
minRadius
Type: SystemInt32
Minimal radius of the circles to search for.

Return Value

Type: CvSeqCvCircleSegment

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

See Also

Reference