You are here: Start » AVL.NET » Invoke.CreateArcFittingMap
Invoke.CreateArcFittingMap
Precomputes a data object that is required for fast arc fitting on images.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void CreateArcFittingMap ( Avl.ImageFormat inImageFormat, Avl.ArcFittingField inFittingField, Optional<Avl.CoordinateSystem2D> inFittingFieldAlignment, int inScanCount, int inScanWidth, Avl.SamplingParams inSamplingParams, Avl.ArcFittingMap outFittingMap, Diagnostic<List<Avl.Segment2D>> diagScanSegments, Diagnostic<List<Avl.Rectangle2D>> diagSamplingAreas )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inImageFormat | Avl.ImageFormat | Dimensions, depth and pixel type of the images on which fitting will be performed. | ||
![]()  | inFittingField | Avl.ArcFittingField | Defines a ring section in which scan segments will be created. | ||
![]()  | inFittingFieldAlignment | Atl.Optional<Avl.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 | Avl.SamplingParams | .interpolation Bilinear | Parameters controlling the sampling process. Default value: .interpolation Bilinear. | |
![]()  | outFittingMap | Avl.ArcFittingMap | Optimized data required for arc fitting. | ||
![]()  | diagScanSegments | Avl.Diagnostic<System.Collections.Generic.List<Avl.Segment2D>> | Segments along which the scans will be run. | ||
![]()  | diagSamplingAreas | Avl.Diagnostic<System.Collections.Generic.List<Avl.Rectangle2D>> | Scan fields created for point detection. | 



