You are here: Start » AVL.NET » AVS.CreateArcFittingMap Method
AVS.CreateArcFittingMap Method
Precomputes a data object that is required for fast arc fitting on images.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void CreateArcFittingMap ( AvlNet.ImageFormat inImageFormat, AvlNet.ArcFittingField inFittingField, AvlNet.CoordinateSystem2D? inFittingFieldAlignment, int inScanCount, int inScanWidth, AvlNet.SamplingParams inSamplingParams, AvlNet.ArcFittingMap outFittingMap )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImageFormat | AvlNet.ImageFormat | Dimensions, depth and pixel type of the images on which fitting will be performed. | |||
inFittingField | AvlNet.ArcFittingField | Defines a ring section 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 arc. Default value: 10. | |
inScanWidth | int | <1, INF> | 5 | The width of each scan field (in pixels). Default value: 5. | |
inSamplingParams | AvlNet.SamplingParams | .interpolation Bilinear | Parameters controlling the sampling process. Default value: .interpolation Bilinear. | ||
outFittingMap | AvlNet.ArcFittingMap | Optimized data required for arc fitting. |
Function Overrides
- CreateArcFittingMap(ImageFormat, ArcFittingField, Int32, Int32, SamplingParams, ArcFittingMap)
- CreateArcFittingMap(ImageFormat, ArcFittingField, Nullable<CoordinateSystem2D>, Int32, Int32, SamplingParams, ArcFittingMap, IList<Segment2D>, IList<Rectangle2D>)