You are here: Start » AVL.NET » Invoke.FitCircleToRidges3D
Performs a series of 1D ridge detections and finds a circle that best matches the detected points.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void FitCircleToRidges3D ( Avl.Surface inSurface, Avl.CircleFittingMap inFittingMap, Avl.RidgeScanParams3D inRidgeScanParams, Avl.Selection inRidgeSelection, Optional<Avl.LocalBlindness> inLocalBlindness, Optional<int> inMaxProfileGapWidth, float inMaxIncompleteness, Avl.CircleFittingMethod inFittingMethod, Optional<Avl.MEstimator> inOutlierSuppression, Conditional<Avl.Circle3D> outCircle, Optional<List<Conditional<Avl.SurfaceRidge1D>>> outRidges, Optional<Conditional<Avl.Profile>> outDeviationProfile, Optional<List<Avl.Point3D>> outInliers, Optional<List<Avl.Profile>> outHeightProfiles, Optional<List<Avl.Profile>> outResponseProfiles )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurface | Avl.Surface | Surface to fit the circle to. | ||
![]() | inFittingMap | Avl.CircleFittingMap | Input fitting map. | ||
![]() | inRidgeScanParams | Avl.RidgeScanParams3D | Parameters controlling the ridge extraction process. | ||
![]() | inRidgeSelection | Avl.Selection | avl::SelectionBest | Selection mode of ridges. Default value: avl::SelectionBest. | |
![]() | inLocalBlindness | Atl.Optional<Avl.LocalBlindness> | Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges. Default value: atl::NIL. | ||
![]() | inMaxProfileGapWidth | Atl.Optional<int> | <0, INF> | 1 | Maximal number of consecutive not existing profile points. Default value: 1. |
![]() | inMaxIncompleteness | float | <0.0f, 0.999f> | 0.1f | Maximal fraction of ridge 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.Circle3D> | Fitted circle or nothing if the fitting fails. | ||
![]() | outRidges | Atl.Optional<System.Collections.Generic.List<Atl.Conditional<Avl.SurfaceRidge1D>>> | Found ridges. | ||
![]() | 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.Point3D>> | Points matching the fitting Circle. | ||
![]() | outHeightProfiles | Atl.Optional<System.Collections.Generic.List<Avl.Profile>> | Extracted surface height profiles. | ||
![]() | outResponseProfiles | Atl.Optional<System.Collections.Generic.List<Avl.Profile>> | Profiles of the ridge operator response. |