You are here: Start » AVL.NET » AVL.FitCircleToEdges(AvlNet.Image, AvlNet.CircleFittingMap, AvlNet.EdgeScanParams, AvlNet.Selection, float, AvlNet.CircleFittingMethod, AvlNet.Circle2D?)
AVL.FitCircleToEdges(AvlNet.Image, AvlNet.CircleFittingMap, AvlNet.EdgeScanParams, AvlNet.Selection, float, AvlNet.CircleFittingMethod, AvlNet.Circle2D?)
Performs a series of 1D edge detections and finds a circle that best matches the detected points.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void FitCircleToEdges( AvlNet.Image inImage, AvlNet.CircleFittingMap inFittingMap, AvlNet.EdgeScanParams inEdgeScanParams, AvlNet.Selection inEdgeSelection, float inMaxIncompleteness, AvlNet.CircleFittingMethod inFittingMethod, out AvlNet.Circle2D? outCircle )
Parameters
- inImage
- Type: AvlNet.Image
Image to fit the circle to - inFittingMap
- Type: AvlNet.CircleFittingMap
Input fitting map - inEdgeScanParams
- Type: AvlNet.EdgeScanParams
Parameters controlling the edge extraction process - inEdgeSelection
- Type: AvlNet.Selection
Selection mode of edges - inMaxIncompleteness
- Type: System.Single
Maximal fraction of edge points not found - inFittingMethod
- Type: AvlNet.CircleFittingMethod
Method used to fit a circle - outCircle
- Type: System.Nullable<AvlNet.Circle2D>
Fitted circle or nothing if the fitting fails
