You are here: Start » AVL.NET » AVL.DetectSingleCircle(AvlNet.Image, AvlNet.Region, float, float, float, AvlNet.HoughCircle?, AvlNet.Image, AvlNet.Image)

AVL.DetectSingleCircle(AvlNet.Image, AvlNet.Region, float, float, float, AvlNet.HoughCircle?, AvlNet.Image, AvlNet.Image)

Finds the strongest circle of a given radius in the input image.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void DetectSingleCircle(
	AvlNet.Image inImage,
	AvlNet.Region inRoi,
	float inRadius,
	float inMinScore,
	float inEdgeThreshold,
	out AvlNet.HoughCircle? outCircle,
	out AvlNet.Image diagGradientMagnitudeImage,
	out AvlNet.Image diagScoreImage
)

Parameters

inImage
Type: AvlNet.Image
Input image
inRoi
Type: AvlNet.Region
Input region of interest, or null.
inRadius
Type: System.Single
Circle's radius
inMinScore
Type: System.Single
Minimum matching score
inEdgeThreshold
Type: System.Single
Minimum accepted edge magnitude
outCircle
Type: System.Nullable<AvlNet.HoughCircle>
Found circle
diagGradientMagnitudeImage
Type: AvlNet.Image
Visualized gradients magnitude of an input image
diagScoreImage
Type: AvlNet.Image
Calculated score for each pixel of an input image

Description

The operation detects circular object of given radius (in pixels) in the inImage using the Hough Transform approach.

Examples

DetectSingleCircle performed on the sample image.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

See also