You are here: Start » AVL.NET » AVL.FitCircleToEdges3D
Performs a series of 1D edge detections and finds a circle that best matches the detected points.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void FitCircleToEdges3D ( AvlNet.Surface inSurface, AvlNet.CircleFittingMap inFittingMap, AvlNet.EdgeScanParams3D inEdgeScanParams, AvlNet.Selection inEdgeSelection, AvlNet.LocalBlindness? inLocalBlindness, int? inMaxProfileGapWidth, float inMaxIncompleteness, AvlNet.CircleFittingMethod inFittingMethod, AvlNet.MEstimator? inOutlierSuppression, INullable<AvlNet.Circle3D> outCircle, IList<AvlNet.Profile> diagHeightProfiles, IList<AvlNet.Profile> diagResponseProfiles )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurface | AvlNet.Surface | Surface to fit the circle to. | |||
inFittingMap | AvlNet.CircleFittingMap | Input fitting map. | |||
inEdgeScanParams | AvlNet.EdgeScanParams3D | Parameters controlling the edge extraction process. | |||
inEdgeSelection | AvlNet.Selection | avl::SelectionBest | Selection mode of edges. Default value: avl::SelectionBest. | ||
inLocalBlindness | AvlNet.LocalBlindness? | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL. | |||
inMaxProfileGapWidth | int? | <0, INF> | Maximal number of consecutive not existing profile points. Default value: atl::NIL. | ||
inMaxIncompleteness | float | <0.0f, 0.999f> | 0.1f | Maximal fraction of edge points not found. Default value: 0.1f. | |
inFittingMethod | AvlNet.CircleFittingMethod | AlgebraicTaubin | Method used to fit a circle. Default value: AlgebraicTaubin. | ||
inOutlierSuppression | AvlNet.MEstimator? | Selects a method for ignoring incorrectly detected points. Default value: atl::NIL. | |||
outCircle | AvlNet.INullable<AvlNet.Circle3D> | Fitted circle or nothing if the fitting fails. | |||
diagHeightProfiles | System.Collections.Generic.IList<AvlNet.Profile> | Extracted surface height profiles. | |||
diagResponseProfiles | System.Collections.Generic.IList<AvlNet.Profile> | Profiles of the edge (derivative) operator response. |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
Function Overrides
- FitCircleToEdges3D(Surface, CircleFittingMap, EdgeScanParams3D, Selection, Single, CircleFittingMethod, INullable<Circle3D>)
- FitCircleToEdges3D(Surface, CircleFittingMap, EdgeScanParams3D, Selection, Single, CircleFittingMethod, INullable<Circle3D>, IList<Nullable<SurfaceEdge1D>>, INullable<Profile>)
- FitCircleToEdges3D(Surface, CircleFittingMap, EdgeScanParams3D, Selection, Single, CircleFittingMethod, INullable<Circle3D>, IList<Profile>, IList<Profile>)
- FitCircleToEdges3D(Surface, CircleFittingMap, EdgeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Single, CircleFittingMethod, Nullable<MEstimator>, INullable<Circle3D>)
- FitCircleToEdges3D(Surface, CircleFittingMap, EdgeScanParams3D, Selection, Single, CircleFittingMethod, INullable<Circle3D>, IList<Nullable<SurfaceEdge1D>>, INullable<Profile>, IList<Profile>, IList<Profile>)
- FitCircleToEdges3D(Surface, CircleFittingMap, EdgeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Single, CircleFittingMethod, Nullable<MEstimator>, INullable<Circle3D>, IList<Nullable<SurfaceEdge1D>>, INullable<Profile>)
- FitCircleToEdges3D(Surface, CircleFittingMap, EdgeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Single, CircleFittingMethod, Nullable<MEstimator>, INullable<Circle3D>, IList<Nullable<SurfaceEdge1D>>, INullable<Profile>, IList<Profile>, IList<Profile>)