You are here: Start » FIL.NET » FIS.FitCircleToEdges3D_Direct Method
FIS.FitCircleToEdges3D_Direct Method
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void FitCircleToEdges3D_Direct ( FilNet.Surface inSurface, FilNet.CircleFittingField inFittingField, FilNet.CoordinateSystem2D? inFittingFieldAlignment, int inScanCount, float? inSamplingStep, int inScanWidth, FilNet.InterpolationMethod inSurfaceInterpolation, 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, out FilNet.CircleFittingField outAlignedFittingField, IList<FilNet.Point3D> outInliers, IList<FilNet.Profile> outHeightProfiles, IList<FilNet.Profile> outResponseProfiles, IList<FilNet.Segment2D> diagScanSegments, IList<FilNet.Rectangle2D> diagSamplingAreas )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurface | FilNet.Surface | Surface to fit the circle to | |||
inFittingField | FilNet.CircleFittingField | Circle fitting field | |||
inFittingFieldAlignment | FilNet.CoordinateSystem2D? | Adjusts the fitting field to the position of the inspected object | |||
inScanCount | int | <3, INF> | 10 | The number of points that will be searched to estimate the position of the circle | |
inSamplingStep | float? | <0.0f, INF> | Desired distance between consecutive sampling points on the scan segments; if Nil, the bigger of surface X and Y scales is chosen | ||
inScanWidth | int | <1, INF> | 5 | The width of each scan field (in pixels) | |
inSurfaceInterpolation | FilNet.InterpolationMethod | Bilinear | Interpolation method used for extraction of surface points | ||
inEdgeScanParams | FilNet.EdgeScanParams3D | EdgeScanParams3D ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 1.0f MinMagnitude: 5.0f EdgeTransition: LowToHigh ) | Parameters controlling the edge extraction process | ||
inEdgeSelection | FilNet.Selection | Selection mode of edges | |||
inLocalBlindness | FilNet.LocalBlindness? | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges | |||
inMaxProfileGapWidth | int? | <0, INF> | 1 | Maximal number of consecutive not existing profile points | |
inMaxIncompleteness | float | <0.0f, 0.999f> | 0.1f | Maximal fraction of edge points not found | |
inFittingMethod | FilNet.CircleFittingMethod | AlgebraicTaubin | Method used to fit a circle | ||
inOutlierSuppression | FilNet.MEstimator? | Selects a method for ignoring incorrectly detected points | |||
outCircle | FilNet.INullable<FilNet.Circle3D> | Fitted circle or nothing if the fitting fails | |||
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 | |||
outAlignedFittingField | FilNet.CircleFittingField | Fitting field used; in the image coordinate system | |||
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 | |||
diagScanSegments | System.Collections.Generic.IList<FilNet.Segment2D> | Segments along which the scans were run | |||
diagSamplingAreas | System.Collections.Generic.IList<FilNet.Rectangle2D> | Areas from which the input image is sampled |
Function Overrides
- FitCircleToEdges3D_Direct(Surface, CircleFittingField, Int32, Int32, InterpolationMethod, EdgeScanParams3D, Selection, Single, CircleFittingMethod, INullable<Circle3D>)
- FitCircleToEdges3D_Direct(Surface, CircleFittingField, Nullable<CoordinateSystem2D>, Int32, Nullable<Single>, Int32, InterpolationMethod, EdgeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Single, CircleFittingMethod, Nullable<MEstimator>, INullable<Circle3D>)
- FitCircleToEdges3D_Direct(Surface, CircleFittingField, Nullable<CoordinateSystem2D>, Int32, Nullable<Single>, Int32, InterpolationMethod, EdgeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Single, CircleFittingMethod, Nullable<MEstimator>, INullable<Circle3D>, NullableRef<List<Nullable<SurfaceEdge1D>>>, NullableRef<NullableRef<Profile>>, NullableValue<CircleFittingField>, NullableRef<List<Point3D>>, NullableRef<SafeList<Profile>>, NullableRef<SafeList<Profile>>)
- FitCircleToEdges3D_Direct(Surface, CircleFittingField, Nullable<CoordinateSystem2D>, Int32, Nullable<Single>, Int32, InterpolationMethod, EdgeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Single, CircleFittingMethod, Nullable<MEstimator>, INullable<Circle3D>, NullableRef<List<Nullable<SurfaceEdge1D>>>, NullableRef<NullableRef<Profile>>, NullableValue<CircleFittingField>, NullableRef<List<Point3D>>, NullableRef<SafeList<Profile>>, NullableRef<SafeList<Profile>>, IList<Segment2D>, IList<Rectangle2D>)