You are here: Start » AVL.NET » Invoke.CreateMeasurementMap
Invoke.CreateMeasurementMap
(Pre)computes image sampling locations used by MeasureObjectWidth function.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void CreateMeasurementMap ( Avl.ImageFormat inImageFormat, Avl.SegmentScanField inScanField, Optional<Avl.CoordinateSystem2D> inScanFieldAlignment, int inScanCount, int inScanWidth, Avl.InterpolationMethod inImageInterpolation, List<Avl.ScanMap> outMeasurementMap, Optional<Avl.SegmentScanField> outAlignedScanField, Diagnostic<List<Avl.Segment2D>> diagScanSegments )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImageFormat | Avl.ImageFormat | Information about dimensions, depth and pixel type of the scan image. | ||
![]() | inScanField | Avl.SegmentScanField | Field in which scans will be performed. | ||
![]() | inScanFieldAlignment | Atl.Optional<Avl.CoordinateSystem2D> | Adjusts the scan field to the position of the inspected object. Default value: atl::NIL. | ||
![]() | inScanCount | int | <2, INF> | 5 | Number of scans to be performed. Default value: 5. |
![]() | inScanWidth | int | <1, INF> | 5 | Width of the scan area. Default value: 5. |
![]() | inImageInterpolation | Avl.InterpolationMethod | Bilinear | Interpolation method used in extraction of image pixel values. Default value: Bilinear. | |
![]() | outMeasurementMap | System.Collections.Generic.List<Avl.ScanMap> | |||
![]() | outAlignedScanField | Atl.Optional<Avl.SegmentScanField> | Field in which the scans will be performed. | ||
![]() | diagScanSegments | Avl.Diagnostic<System.Collections.Generic.List<Avl.Segment2D>> | Array of scan segments. |