You are here: Start » AVL.NET » Function Reference » Computer Vision » Hough Transform » AVL.DetectSingleCircle

AVL.DetectSingleCircle

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void DetectSingleCircle
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.Region> inRoi,
	float inRadius,
	float inMinScore,
	float inEdgeThreshold,
	INullable<AvlNet.HoughCircle> outCircle,
	AvlNet.Image diagGradientMagnitudeImage,
	AvlNet.Image diagScoreImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inRoiAvlNet.NullableRef<AvlNet.Region>Input region of interest. Default value: atl::NIL.
inRadiusfloat<0.0f, INF>10.0fCircle's radius. Default value: 10.0f.
inMinScorefloat<0.0f, INF>20.0fMinimum matching score. Default value: 20.0f.
inEdgeThresholdfloat10.0fMinimum accepted edge magnitude. Default value: 10.0f.
outCircleAvlNet.INullable<AvlNet.HoughCircle>Found circle. This parameter cannot be null.
diagGradientMagnitudeImageAvlNet.ImageVisualized gradients magnitude of an input image.
diagScoreImageAvlNet.ImageCalculated 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.

Function Overrides

See also