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
inImageFormatAvl.ImageFormatInformation about dimensions, depth and pixel type of the scan image.
inScanFieldAvl.SegmentScanFieldField in which scans will be performed.
inScanFieldAlignmentAtl.Optional<Avl.CoordinateSystem2D>Adjusts the scan field to the position of the inspected object. Default value: atl::NIL.
inScanCountint<2, INF>5Number of scans to be performed. Default value: 5.
inScanWidthint<1, INF>5Width of the scan area. Default value: 5.
inImageInterpolationAvl.InterpolationMethodBilinearInterpolation method used in extraction of image pixel values. Default value: Bilinear.
outMeasurementMapSystem.Collections.Generic.List<Avl.ScanMap>
outAlignedScanFieldAtl.Optional<Avl.SegmentScanField>Field in which the scans will be performed.
diagScanSegmentsAvl.Diagnostic<System.Collections.Generic.List<Avl.Segment2D>>Array of scan segments.

See also