You are here: Start » FIL.NET » Invoke.FitPathToRidges3D_Direct
Performs a series of 1D ridge detections in 3D and creates a path from the detected points.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void FitPathToRidges3D_Direct ( Fil.Surface inSurface, Fil.PathFittingField inFittingField, Optional<Fil.CoordinateSystem2D> inFittingFieldAlignment, Optional<float> inScanStep, Optional<float> inSamplingStep, int inScanWidth, Fil.InterpolationMethod inSurfaceInterpolation, Fil.RidgeScanParams3D inRidgeScanParams, Fil.Selection inRidgeSelection, Optional<Fil.LocalBlindness> inLocalBlindness, Optional<int> inMaxProfileGapWidth, Optional<int> inMaxPathInterpolationLength, Optional<float> inMaxDeviationDelta, float inMaxIncompleteness, Conditional<List<Fil.Point3D>> outPath, Optional<List<Conditional<Fil.SurfaceRidge1D>>> outRidges, 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 the 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. | |
![]() | inRidgeScanParams | Fil.RidgeScanParams3D | RidgeScanParams3D ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f RidgeWidth: 5.0f RidgeMargin: 2.0f RidgeOperator: Minimum MinMagnitude: 5.0f RidgePolarity: Low ) | Parameters controlling the ridge extraction process. Default value: RidgeScanParams3D ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f RidgeWidth: 5.0f RidgeMargin: 2.0f RidgeOperator: Minimum MinMagnitude: 5.0f RidgePolarity: Low ). | |
![]() | inRidgeSelection | Fil.Selection | Selection mode of ridges. | ||
![]() | inLocalBlindness | Ftl.Optional<Fil.LocalBlindness> | Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges. 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 ridge points not found. Default value: 0.1f. |
![]() | outPath | Ftl.Conditional<System.Collections.Generic.List<Fil.Point3D>> | Fitted path or nothing if the fitting failed. | ||
![]() | outRidges | Ftl.Optional<System.Collections.Generic.List<Ftl.Conditional<Fil.SurfaceRidge1D>>> | Found ridges. | ||
![]() | 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 ridge 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. |