Click or drag to resize

Cv2FindCirclesGrid Method (InputArray, Size, Point2f, FindCirclesGridFlags, Feature2D)

Finds centers in the grid of circles.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static bool FindCirclesGrid(
	InputArray image,
	Size patternSize,
	out Point2f[] centers,
	FindCirclesGridFlags flags = FindCirclesGridFlags.SymmetricGrid,
	Feature2D blobDetector = null
)

Parameters

image
Type: OpenCvSharpInputArray
grid view of input circles; it must be an 8-bit grayscale or color image.
patternSize
Type: OpenCvSharpSize
number of circles per row and column ( patternSize = Size(points_per_row, points_per_colum) ).
centers
Type: OpenCvSharpPoint2f
output array of detected centers.
flags (Optional)
Type: OpenCvSharpFindCirclesGridFlags
various operation flags that can be one of the FindCirclesGridFlag values
blobDetector (Optional)
Type: OpenCvSharpFeature2D
feature detector that finds blobs like dark circles on light background.

Return Value

Type: Boolean
See Also