You are here: Start » AVL.NET » Invoke.FitCircleToEdges
Performs a series of 1D edge detections and finds a circle that best matches the detected points.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void FitCircleToEdges ( Avl.Image inImage, Avl.CircleFittingMap inFittingMap, Avl.EdgeScanParams inEdgeScanParams, Avl.Selection inEdgeSelection, Optional<Avl.LocalBlindness> inLocalBlindness, float inMaxIncompleteness, Avl.CircleFittingMethod inFittingMethod, Optional<Avl.MEstimator> inOutlierSuppression, Conditional<Avl.Circle2D> outCircle, Optional<List<Conditional<Avl.Edge1D>>> outEdges, Optional<Conditional<Avl.Profile>> outDeviationProfile, Optional<List<Avl.Point2D>> outInliers, Optional<List<Avl.Profile>> outBrightnessProfiles, Optional<List<Avl.Profile>> outResponseProfiles )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Image to fit the circle to. | ||
![]() | inFittingMap | Avl.CircleFittingMap | Input fitting map. | ||
![]() | inEdgeScanParams | Avl.EdgeScanParams | Parameters controlling the edge extraction process. | ||
![]() | inEdgeSelection | Avl.Selection | avl::SelectionBest | Selection mode of edges. Default value: avl::SelectionBest. | |
![]() | inLocalBlindness | Atl.Optional<Avl.LocalBlindness> | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL. | ||
![]() | inMaxIncompleteness | float | <0.0f, 0.999f> | 0.1f | Maximal fraction of edge points not found. Default value: 0.1f. |
![]() | inFittingMethod | Avl.CircleFittingMethod | AlgebraicTaubin | Method used to fit a circle. Default value: AlgebraicTaubin. | |
![]() | inOutlierSuppression | Atl.Optional<Avl.MEstimator> | Selects a method for ignoring incorrectly detected points. Default value: atl::NIL. | ||
![]() | outCircle | Atl.Conditional<Avl.Circle2D> | Fitted circle or nothing if the fitting fails. | ||
![]() | outEdges | Atl.Optional<System.Collections.Generic.List<Atl.Conditional<Avl.Edge1D>>> | Found edges. | ||
![]() | outDeviationProfile | Atl.Optional<Atl.Conditional<Avl.Profile>> | Profile of distances between the actual circle points and the corresponding reference circle points. | ||
![]() | outInliers | Atl.Optional<System.Collections.Generic.List<Avl.Point2D>> | Points matching the fitting Circle. | ||
![]() | outBrightnessProfiles | Atl.Optional<System.Collections.Generic.List<Avl.Profile>> | Extracted image profiles. | ||
![]() | outResponseProfiles | Atl.Optional<System.Collections.Generic.List<Avl.Profile>> | Profiles of the edge (derivative) operator response. |