Table of Contents

Method FindCirclesGrid

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

FindCirclesGrid(InputArray, Size, OutputArray, FindCirclesGridFlags, Feature2D?)

Finds centers in the grid of circles.

public static bool FindCirclesGrid(InputArray image, Size patternSize, OutputArray centers, FindCirclesGridFlags flags = FindCirclesGridFlags.SymmetricGrid, Feature2D? blobDetector = null)

Parameters

image InputArray

grid view of input circles; it must be an 8-bit grayscale or color image.

patternSize Size

number of circles per row and column ( patternSize = Size(points_per_row, points_per_colum) ).

centers OutputArray

output array of detected centers.

flags FindCirclesGridFlags

various operation flags that can be one of the FindCirclesGridFlag values

blobDetector Feature2D

feature detector that finds blobs like dark circles on light background.

Returns

bool

FindCirclesGrid(InputArray, Size, out Point2f[], FindCirclesGridFlags, Feature2D?)

Finds centers in the grid of circles.

public static bool FindCirclesGrid(InputArray image, Size patternSize, out Point2f[] centers, FindCirclesGridFlags flags = FindCirclesGridFlags.SymmetricGrid, Feature2D? blobDetector = null)

Parameters

image InputArray

grid view of input circles; it must be an 8-bit grayscale or color image.

patternSize Size

number of circles per row and column ( patternSize = Size(points_per_row, points_per_colum) ).

centers Point2f[]

output array of detected centers.

flags FindCirclesGridFlags

various operation flags that can be one of the FindCirclesGridFlag values

blobDetector Feature2D

feature detector that finds blobs like dark circles on light background.

Returns

bool

FindCirclesGrid(InputArray, Size, OutputArray, FindCirclesGridFlags, Feature2D?, in CirclesGridFinderParameters)

Finds centers in the grid of circles, using custom finder parameters.

public static bool FindCirclesGrid(InputArray image, Size patternSize, OutputArray centers, FindCirclesGridFlags flags, Feature2D? blobDetector, in CirclesGridFinderParameters parameters)

Parameters

image InputArray

grid view of input circles; it must be an 8-bit grayscale or color image.

patternSize Size

number of circles per row and column ( patternSize = Size(points_per_row, points_per_colum) ).

centers OutputArray

output array of detected centers.

flags FindCirclesGridFlags

various operation flags that can be one of the FindCirclesGridFlag values

blobDetector Feature2D

feature detector that finds blobs like dark circles on light background. If null, SimpleBlobDetector is used.

parameters CirclesGridFinderParameters

struct for finding circles in a grid pattern.

Returns

bool

FindCirclesGrid(InputArray, Size, out Point2f[], FindCirclesGridFlags, Feature2D?, in CirclesGridFinderParameters)

Finds centers in the grid of circles, using custom finder parameters.

public static bool FindCirclesGrid(InputArray image, Size patternSize, out Point2f[] centers, FindCirclesGridFlags flags, Feature2D? blobDetector, in CirclesGridFinderParameters parameters)

Parameters

image InputArray

grid view of input circles; it must be an 8-bit grayscale or color image.

patternSize Size

number of circles per row and column ( patternSize = Size(points_per_row, points_per_colum) ).

centers Point2f[]

output array of detected centers.

flags FindCirclesGridFlags

various operation flags that can be one of the FindCirclesGridFlag values

blobDetector Feature2D

feature detector that finds blobs like dark circles on light background. If null, SimpleBlobDetector is used.

parameters CirclesGridFinderParameters

struct for finding circles in a grid pattern.

Returns

bool