Finds centers in the grid of circles.
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static bool FindCirclesGrid( InputArray image, Size patternSize, out Point2f[] centers, FindCirclesGridFlag flags = FindCirclesGridFlag.SymmetricGrid, FeatureDetector blobDetector = null )
Parameters
- image
- Type: OpenCvSharp.CPlusPlusInputArray
grid view of input circles; it must be an 8-bit grayscale or color image. - patternSize
- Type: OpenCvSharp.CPlusPlusSize
number of circles per row and column ( patternSize = Size(points_per_row, points_per_colum) ). - centers
- Type: OpenCvSharp.CPlusPlusPoint2f
output array of detected centers. - flags (Optional)
- Type: OpenCvSharp.CPlusPlusFindCirclesGridFlag
various operation flags that can be one of the FindCirclesGridFlag values - blobDetector (Optional)
- Type: OpenCvSharp.CPlusPlusFeatureDetector
feature detector that finds blobs like dark circles on light background.
Return Value
Type: Boolean[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.FindCirclesGrid(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.Size,OpenCvSharp.CPlusPlus.Point2f[]@,OpenCvSharp.CPlusPlus.FindCirclesGridFlag,OpenCvSharp.CPlusPlus.FeatureDetector)"]
See Also