You are here: Start » FIL.NET » Invoke.FitPathToEdges3D_Direct
Performs a series of 1D edge detections in 3D and creates a path from the detected points.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void FitPathToEdges3D_Direct ( Fil.Surface inSurface, Fil.PathFittingField inFittingField, Optional<Fil.CoordinateSystem2D> inFittingFieldAlignment, Optional<float> inScanStep, Optional<float> inSamplingStep, int inScanWidth, Fil.InterpolationMethod inSurfaceInterpolation, Fil.EdgeScanParams3D inEdgeScanParams, Fil.Selection inEdgeSelection, Optional<Fil.LocalBlindness> inLocalBlindness, Optional<int> inMaxProfileGapWidth, Optional<int> inMaxPathInterpolationLength, Optional<float> inMaxDeviationDelta, float inMaxIncompleteness, Conditional<List<Fil.Point3D>> outPath, Optional<List<Conditional<Fil.SurfaceEdge1D>>> outEdges, Optional<Conditional<Fil.Profile>> outDeviationProfile, Optional<Fil.PathFittingField> outAlignedFittingField, Optional<List<Fil.Profile>> outHeightProfiles, Optional<List<Fil.Profile>> outResponseProfiles, Optional<Conditional<List<Fil.Segment3D>>> outPathSegments, Diagnostic<List<Fil.Segment2D>> diagScanSegments, Diagnostic<List<Fil.Rectangle2D>> diagSamplingAreas )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurface | Fil.Surface | Surface to fit path to. | ||
![]() | inFittingField | Fil.PathFittingField | Path fitting field. | ||
![]() | inFittingFieldAlignment | Ftl.Optional<Fil.CoordinateSystem2D> | Adjusts the fitting field to the position of the inspected object. Default value: ftl::NIL. | ||
![]() | inScanStep | Ftl.Optional<float> | <0.0f, INF> | 5.0f | Optional implicit conversion of the input path to an equidistant one. Default value: 5.0f. |
![]() | inSamplingStep | Ftl.Optional<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. Default value: ftl::NIL. | |
![]() | inScanWidth | int | <1, INF> | 5 | The width of each scan field (in pixels). Default value: 5. |
![]() | inSurfaceInterpolation | Fil.InterpolationMethod | Bilinear | Interpolation method used for extraction of surface points. Default value: Bilinear. | |
![]() | inEdgeScanParams | Fil.EdgeScanParams3D | EdgeScanParams3D ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 1.0f MinMagnitude: 5.0f EdgeTransition: LowToHigh ) | Parameters controlling the edge extraction process. Default value: EdgeScanParams3D ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 1.0f MinMagnitude: 5.0f EdgeTransition: LowToHigh ). | |
![]() | inEdgeSelection | Fil.Selection | Selection mode of edges. | ||
![]() | inLocalBlindness | Ftl.Optional<Fil.LocalBlindness> | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: ftl::NIL. | ||
![]() | inMaxProfileGapWidth | Ftl.Optional<int> | <0, INF> | 1 | Maximal number of consecutive not existing profile points. Default value: 1. |
![]() | inMaxPathInterpolationLength | Ftl.Optional<int> | <0, INF> | 1 | Maximal number of consecutive points not found. Default value: 1. |
![]() | inMaxDeviationDelta | Ftl.Optional<float> | <0.0f, INF> | Maximal difference between deviations of consecutive path points. Default value: ftl::NIL. | |
![]() | inMaxIncompleteness | float | <0.0f, 0.999f> | 0.1f | Maximal fraction of edge points not found. Default value: 0.1f. |
![]() | outPath | Ftl.Conditional<System.Collections.Generic.List<Fil.Point3D>> | Fitted path or nothing if the fitting failed. | ||
![]() | outEdges | Ftl.Optional<System.Collections.Generic.List<Ftl.Conditional<Fil.SurfaceEdge1D>>> | Found edges. | ||
![]() | outDeviationProfile | Ftl.Optional<Ftl.Conditional<Fil.Profile>> | Profile of distances between the actual path points and the corresponding reference path points. | ||
![]() | outAlignedFittingField | Ftl.Optional<Fil.PathFittingField> | Fitting field used; in the image coordinate system. | ||
![]() | outHeightProfiles | Ftl.Optional<System.Collections.Generic.List<Fil.Profile>> | Extracted surface height profiles. | ||
![]() | outResponseProfiles | Ftl.Optional<System.Collections.Generic.List<Fil.Profile>> | Profiles of the edge (derivative) operator response. | ||
![]() | outPathSegments | Ftl.Optional<Ftl.Conditional<System.Collections.Generic.List<Fil.Segment3D>>> | Segments of the fitted path or nothing if the fitting failed. | ||
![]() | diagScanSegments | Fil.Diagnostic<System.Collections.Generic.List<Fil.Segment2D>> | Segments along which the scans were run. | ||
![]() | diagSamplingAreas | Fil.Diagnostic<System.Collections.Generic.List<Fil.Rectangle2D>> | Areas from which the input image is sampled. |