DetectCalibrationGrid_Circles


Detects an arbitrary size symmetric circle pattern on the image.

Syntax

C++
C#
Python
 
def DetectCalibrationGrid_Circles(
	inImage: Image,
	inCircleRadius: float,
	/,
	*,
	inRoi: Region | None = None,
	inCircleDetectionThreshold: float = 20.0,
	inCirclePolarity: Polarity = Polarity.Any,
	diagCirclesRegion: Region | None = None
)
-> (
	outImageGrid: list[AnnotatedPoint2D],
	diagCircleCandidates: list[Point2D]
)

Parameters

Name Type Range Default Description
Input value inImage Image Input image
Input value inRoi Region | None None Range of pixels to be processed
Input value inCircleRadius float 1.0 - Circle radius measured in input image pixels.
Input value inCircleDetectionThreshold float 0.0 - 20.0 Detection threshold (relative to local image patch).
Input value inCirclePolarity Polarity Polarity.Any Circle intensity with respect to background.
Output value outImageGrid list[AnnotatedPoint2D] Detected grid
Diagnostic input diagCirclesRegion Region | None None Image after thresholding, this is the circle detector input.
Diagnostic input diagCircleCandidates list[Point2D] Detected circle centers, before the grid construction step.