You are here: Start » FIL.NET » Function Reference » Computer Vision » Shape Fitting 3D » FIL.CreatePathFittingMap3D
FIL.CreatePathFittingMap3D
Precomputes a data object that is required for fast path fitting on surfaces.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void CreatePathFittingMap3D ( FilNet.SurfaceFormat inSurfaceFormat, FilNet.PathFittingField inFittingField, FilNet.CoordinateSystem2D? inFittingFieldAlignment, float? inScanStep, float? inSamplingStep, int inScanWidth, FilNet.InterpolationMethod inSurfaceInterpolation, FilNet.PathFittingMap outFittingMap )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurfaceFormat | FilNet.SurfaceFormat | Dimensions, depth image pixel type, coordinate offsets and scales of a surface on which path fitting will be performed. | ||
![]() | inFittingField | FilNet.PathFittingField | Defines a stripe in which scan segments will be created. | ||
![]() | inFittingFieldAlignment | FilNet.CoordinateSystem2D? | Adjusts the fitting field to the position of the inspected object. Default value: ftl::NIL. | ||
![]() | inScanStep | float? | <0.0f, INF> | Optional implicit conversion of the input path to an equidistant one. Default value: ftl::NIL. | |
![]() | inSamplingStep | float? | 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 of the surface depth image. Default value: 5. |
![]() | inSurfaceInterpolation | FilNet.InterpolationMethod | fil::InterpolationMethod::NearestNeighbour | Interpolation method used for extraction of depth image pixel values. Default value: fil::InterpolationMethod::NearestNeighbour. | |
![]() | outFittingMap | FilNet.PathFittingMap | Optimized data required for path fitting. |
Function Overrides
- CreatePathFittingMap3D(SurfaceFormat, PathFittingField, Int32, InterpolationMethod, PathFittingMap)
- CreatePathFittingMap3D(SurfaceFormat, PathFittingField, Nullable<CoordinateSystem2D>, Nullable<Single>, Nullable<Single>, Int32, InterpolationMethod, PathFittingMap, IList<Segment2D>, IList<Rectangle2D>)