You are here: Start » FIL.NET » Function Reference » Computer Vision » Shape Fitting 3D » FIL.CreateSegmentFittingMap3D
FIL.CreateSegmentFittingMap3D
Precomputes a data object that is required for fast segment fitting on surfaces.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void CreateSegmentFittingMap3D ( FilNet.SurfaceFormat inSurfaceFormat, FilNet.SegmentFittingField inFittingField, int inScanCount, int inScanWidth, FilNet.InterpolationMethod inSurfaceInterpolation, FilNet.SegmentFittingMap outFittingMap )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurfaceFormat | FilNet.SurfaceFormat | Dimensions, depth image pixel type, coordinate offsets and scales of a surface on which segment fitting will be performed. | ||
![]() | inFittingField | FilNet.SegmentFittingField | Defines a rectangle in which scan segments will be created. | ||
![]() | inScanCount | int | <3, INF> | 10 | The number of points that will be searched to estimate the position of the segment. Default value: 10. |
![]() | 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.SegmentFittingMap | Optimized data required for segment fitting. |
Function Overrides
- CreateSegmentFittingMap3D(SurfaceFormat, SegmentFittingField, Nullable<CoordinateSystem2D>, Int32, Nullable<Single>, Int32, InterpolationMethod, SegmentFittingMap)
- CreateSegmentFittingMap3D(SurfaceFormat, SegmentFittingField, Nullable<CoordinateSystem2D>, Int32, Nullable<Single>, Int32, InterpolationMethod, SegmentFittingMap, IList<Segment2D>, IList<Rectangle2D>)