| Cv2FindCirclesGrid Method (InputArray, Size, Point2f, FindCirclesGridFlags, Feature2D) |
Finds centers in the grid of circles.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static bool FindCirclesGrid(
InputArray image,
Size patternSize,
out Point2f[] centers,
FindCirclesGridFlags flags = FindCirclesGridFlags.SymmetricGrid,
Feature2D blobDetector = null
)
Public Shared Function FindCirclesGrid (
image As InputArray,
patternSize As Size,
<OutAttribute> ByRef centers As Point2f(),
Optional flags As FindCirclesGridFlags = FindCirclesGridFlags.SymmetricGrid,
Optional blobDetector As Feature2D = Nothing
) As Boolean
public:
static bool FindCirclesGrid(
InputArray^ image,
Size patternSize,
[OutAttribute] array<Point2f>^% centers,
FindCirclesGridFlags flags = FindCirclesGridFlags::SymmetricGrid,
Feature2D^ blobDetector = nullptr
)
static member FindCirclesGrid :
image : InputArray *
patternSize : Size *
centers : Point2f[] byref *
?flags : FindCirclesGridFlags *
?blobDetector : Feature2D
(* Defaults:
let _flags = defaultArg flags FindCirclesGridFlags.SymmetricGrid
let _blobDetector = defaultArg blobDetector null
*)
-> bool
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[Missing <returns> documentation for "M:OpenCvSharp.Cv2.FindCirclesGrid(OpenCvSharp.InputArray,OpenCvSharp.Size,OpenCvSharp.Point2f[]@,OpenCvSharp.FindCirclesGridFlags,OpenCvSharp.Feature2D)"]
See Also