Click or drag to resize

ImageTColor, TDepthHoughCircles Method

http://www.emgu.com
First apply Canny Edge Detector on the current image, then apply Hough transform to find circles

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public CircleF[][] HoughCircles(
	TColor cannyThreshold,
	TColor accumulatorThreshold,
	double dp,
	double minDist,
	int minRadius = 0,
	int maxRadius = 0
)

Parameters

cannyThreshold
Type: TColor
The higher threshold of the two passed to Canny edge detector (the lower one will be twice smaller).
accumulatorThreshold
Type: TColor
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
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
minRadius (Optional)
Type: SystemInt32
Minimal radius of the circles to search for
maxRadius (Optional)
Type: SystemInt32
Maximal radius of the circles to search for

Return Value

Type: CircleF
The circle detected for each of the channels
See Also