You are here: Start » FIL.NET » Function Reference » Computer Vision » Shape Fitting 3D » FIL.FitPathToRidges3D_Direct
Performs a series of 1D ridge detections in 3D and creates a path from the detected points.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void FitPathToRidges3D_Direct ( FilNet.Surface inSurface, FilNet.PathFittingField inFittingField, int inScanWidth, FilNet.InterpolationMethod inSurfaceInterpolation, FilNet.RidgeScanParams3D inRidgeScanParams, FilNet.Selection inRidgeSelection, float inMaxIncompleteness, INullable<List<FilNet.Point3D>> outPath )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurface | FilNet.Surface | Surface to fit the path to. | ||
![]() | inFittingField | FilNet.PathFittingField | Path fitting field. | ||
![]() | inScanWidth | int | <1, INF> | 5 | The width of each scan field (in pixels). Default value: 5. |
![]() | inSurfaceInterpolation | FilNet.InterpolationMethod | Bilinear | Interpolation method used for extraction of surface points. Default value: Bilinear. | |
![]() | inRidgeScanParams | FilNet.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 | FilNet.Selection | Selection mode of ridges. | ||
![]() | inMaxIncompleteness | float | <0.0f, 0.999f> | 0.1f | Maximal fraction of ridge points not found. Default value: 0.1f. |
![]() | outPath | FilNet.INullable<System.Collections.Generic.List<FilNet.Point3D>> | Fitted path or nothing if the fitting failed. This parameter cannot be null. |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Ridge operator parameters are too low in surface ridges detector in FitPathToRidges3D. |
DomainError | Sampling step set to zero in FitPathToRidges3D. |
Function Overrides
- FitPathToRidges3D_Direct(Surface, PathFittingField, Nullable<CoordinateSystem2D>, Nullable<Single>, Nullable<Single>, Int32, InterpolationMethod, RidgeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Nullable<Int32>, Nullable<Single>, Single, INullable<List<Point3D>>)
- FitPathToRidges3D_Direct(Surface, PathFittingField, Nullable<CoordinateSystem2D>, Nullable<Single>, Nullable<Single>, Int32, InterpolationMethod, RidgeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Nullable<Int32>, Nullable<Single>, Single, INullable<List<Point3D>>, NullableRef<List<Nullable<SurfaceRidge1D>>>, NullableRef<NullableRef<Profile>>, NullableRef<PathFittingField>, NullableRef<SafeList<Profile>>, NullableRef<SafeList<Profile>>, NullableRef<NullableRef<List<Segment3D>>>)
- FitPathToRidges3D_Direct(Surface, PathFittingField, Nullable<CoordinateSystem2D>, Nullable<Single>, Nullable<Single>, Int32, InterpolationMethod, RidgeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Nullable<Int32>, Nullable<Single>, Single, INullable<List<Point3D>>, IList<Nullable<SurfaceRidge1D>>, INullable<Profile>, PathFittingField, IList<Profile>, IList<Profile>, INullable<List<Segment3D>>, IList<Segment2D>, IList<Rectangle2D>)
- FitPathToRidges3D_Direct(Surface, PathFittingField, Nullable<CoordinateSystem2D>, Nullable<Single>, Nullable<Single>, Int32, InterpolationMethod, RidgeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Nullable<Int32>, Nullable<Single>, Single, INullable<List<Point3D>>, NullableRef<List<Nullable<SurfaceRidge1D>>>, NullableRef<NullableRef<Profile>>, NullableRef<PathFittingField>, NullableRef<SafeList<Profile>>, NullableRef<SafeList<Profile>>, NullableRef<NullableRef<List<Segment3D>>>, IList<Segment2D>, IList<Rectangle2D>)