You are here: Start » AVL.NET » 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, AvlNet.Region inRoi, float inRadius, float inMinScore, float inEdgeThreshold, out AvlNet.HoughCircle? outCircle, out AvlNet.Image diagGradientMagnitudeImage, out AvlNet.Image diagScoreImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inRoi | AvlNet.Region | Input region of interest. Default value: atl::NIL, or null. | |||
inRadius | float | <0.0f, INF> | 10.0f | Circle's radius. Default value: 10.0f. | |
inMinScore | float | <0.0f, INF> | 20.0f | Minimum matching score. Default value: 20.0f. | |
inEdgeThreshold | float | 10.0f | Minimum accepted edge magnitude. Default value: 10.0f. | ||
outCircle | AvlNet.HoughCircle? | Found circle. | |||
diagGradientMagnitudeImage | AvlNet.Image | Visualized gradients magnitude of an input image. | |||
diagScoreImage | 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
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.