You are here: Start » AVL.NET » AVL.CreateCircleFittingMap3D Method
AVL.CreateCircleFittingMap3D Method
Precomputes a data object that is required for fast circle fitting on surfaces.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void CreateCircleFittingMap3D( AvlNet.SurfaceFormat inSurfaceFormat, AvlNet.CircleFittingField inFittingField, AvlNet.CoordinateSystem2D? inFittingFieldAlignment, int inScanCount, int inScanWidth, AvlNet.InterpolationMethod inImageInterpolation, out AvlNet.CircleFittingMap outFittingMap )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurfaceFormat | AvlNet.SurfaceFormat | Dimensions, depth image pixel type, coordinate offsets and scales of a surface on which circle fitting will be performed. | |||
inFittingField | AvlNet.CircleFittingField | Defines a ring 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, or null. | |||
inScanCount | int | <3, INF> | 10 | The number of points that will be searched to estimate the position of the circle. Default value: 10. | |
inScanWidth | int | <1, INF> | 5 | The width of each scan field in pixels of the surface depth image. Default value: 5. | |
inImageInterpolation | AvlNet.InterpolationMethod | avl::InterpolationMethod::NearestNeighbour | Interpolation method used for extraction of depth image pixel values. Default value: avl::InterpolationMethod::NearestNeighbour. | ||
outFittingMap | AvlNet.CircleFittingMap | Optimized data required for circle fitting. |