You are here: Start » AVL.NET » AVL.CreateSegmentFittingMap3D
AVL.CreateSegmentFittingMap3D
Precomputes a data object that is required for fast segment fitting on surfaces.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CreateSegmentFittingMap3D ( AvlNet.SurfaceFormat inSurfaceFormat, AvlNet.SegmentFittingField inFittingField, AvlNet.CoordinateSystem2D? inFittingFieldAlignment, int inScanCount, float? inSamplingStep, int inScanWidth, AvlNet.InterpolationMethod inSurfaceInterpolation, AvlNet.SegmentFittingMap outFittingMap, IList<AvlNet.Segment2D> diagScanSegments, IList<AvlNet.Rectangle2D> diagSamplingAreas )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurfaceFormat | AvlNet.SurfaceFormat | Dimensions, depth image pixel type, coordinate offsets and scales of a surface on which segment fitting will be performed. | |||
inFittingField | AvlNet.SegmentFittingField | Defines a rectangle in which scan segments will be created. | |||
inFittingFieldAlignment | AvlNet.CoordinateSystem2D? | Adjusts the fitting field to the position of the inspected object. Default value: atl::NIL. | |||
inScanCount | int | <3, INF> | 10 | The number of points that will be searched to estimate the position of the segment. Default value: 10. | |
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: atl::NIL. | |||
inScanWidth | int | <1, INF> | 5 | The width of each scan field in pixels of the surface depth image. Default value: 5. | |
inSurfaceInterpolation | AvlNet.InterpolationMethod | avl::InterpolationMethod::NearestNeighbour | Interpolation method used for extraction of depth image pixel values. Default value: avl::InterpolationMethod::NearestNeighbour. | ||
outFittingMap | AvlNet.SegmentFittingMap | Optimized data required for segment fitting. | |||
diagScanSegments | System.Collections.Generic.IList<AvlNet.Segment2D> | Segments along which the scans will be run. | |||
diagSamplingAreas | System.Collections.Generic.IList<AvlNet.Rectangle2D> | Scan fields created for point detection. |
Function Overrides
- CreateSegmentFittingMap3D(SurfaceFormat, SegmentFittingField, Int32, Int32, InterpolationMethod, SegmentFittingMap)
- CreateSegmentFittingMap3D(SurfaceFormat, SegmentFittingField, Int32, Int32, InterpolationMethod, SegmentFittingMap, IList<Segment2D>, IList<Rectangle2D>)
- CreateSegmentFittingMap3D(SurfaceFormat, SegmentFittingField, Nullable<CoordinateSystem2D>, Int32, Nullable<Single>, Int32, InterpolationMethod, SegmentFittingMap)