You are here: Start » AVL.NET » AVL.DetectSingleCircle Method
AVL.DetectSingleCircle Method
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, 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. | |||
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.