You are here: Start » FIL.NET » Function Reference » Computer Vision » Shape Fitting 3D » FIL.FitCircleToEdges3D
Performs a series of 1D edge detections and finds a circle that best matches the detected points.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void FitCircleToEdges3D ( FilNet.Surface inSurface, FilNet.CircleFittingMap inFittingMap, FilNet.EdgeScanParams3D inEdgeScanParams, FilNet.Selection inEdgeSelection, FilNet.LocalBlindness? inLocalBlindness, int? inMaxProfileGapWidth, float inMaxIncompleteness, FilNet.CircleFittingMethod inFittingMethod, FilNet.MEstimator? inOutlierSuppression, INullable<FilNet.Circle3D> outCircle, IList<FilNet.SurfaceEdge1D?> outEdges, INullable<FilNet.Profile> outDeviationProfile, IList<FilNet.Point3D> outInliers, IList<FilNet.Profile> outHeightProfiles, IList<FilNet.Profile> outResponseProfiles )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurface | FilNet.Surface | Surface to fit the circle to. | ||
![]() | inFittingMap | FilNet.CircleFittingMap | Input fitting map. | ||
![]() | inEdgeScanParams | FilNet.EdgeScanParams3D | Parameters controlling the edge extraction process. | ||
![]() | inEdgeSelection | FilNet.Selection | fil::SelectionBest | Selection mode of edges. Default value: fil::SelectionBest. | |
![]() | inLocalBlindness | FilNet.LocalBlindness? | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: ftl::NIL. | ||
![]() | inMaxProfileGapWidth | 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 edge points not found. Default value: 0.1f. |
![]() | inFittingMethod | FilNet.CircleFittingMethod | AlgebraicTaubin | Method used to fit a circle. Default value: AlgebraicTaubin. | |
![]() | inOutlierSuppression | FilNet.MEstimator? | Selects a method for ignoring incorrectly detected points. Default value: ftl::NIL. | ||
![]() | outCircle | FilNet.INullable<FilNet.Circle3D> | Fitted circle or nothing if the fitting fails. This parameter cannot be null. | ||
![]() | outEdges | System.Collections.Generic.IList<FilNet.SurfaceEdge1D?> | Found edges. | ||
![]() | outDeviationProfile | FilNet.INullable<FilNet.Profile> | Profile of distances between the actual circle points and the corresponding reference circle points. This parameter cannot be null. | ||
![]() | outInliers | System.Collections.Generic.IList<FilNet.Point3D> | Points matching the fitting Circle. | ||
![]() | outHeightProfiles | System.Collections.Generic.IList<FilNet.Profile> | Extracted surface height profiles. | ||
![]() | outResponseProfiles | System.Collections.Generic.IList<FilNet.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, Nullable<LocalBlindness>, Nullable<Int32>, Single, CircleFittingMethod, Nullable<MEstimator>, INullable<Circle3D>)
- FitCircleToEdges3D(Surface, CircleFittingMap, EdgeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Single, CircleFittingMethod, Nullable<MEstimator>, INullable<Circle3D>, NullableRef<List<Nullable<SurfaceEdge1D>>>, NullableRef<NullableRef<Profile>>, NullableRef<List<Point3D>>, NullableRef<SafeList<Profile>>, NullableRef<SafeList<Profile>>)