You are here: Start » AVL.NET » Function Reference » Computer Vision » Image Analysis » AVL.CreateMeasurementMap

AVL.CreateMeasurementMap

(Pre)computes image sampling locations used by MeasureObjectWidth function.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CreateMeasurementMap
(
	AvlNet.ImageFormat inImageFormat,
	AvlNet.SegmentScanField inScanField,
	AvlNet.CoordinateSystem2D? inScanFieldAlignment,
	int inScanCount,
	int inScanWidth,
	AvlNet.InterpolationMethod inImageInterpolation,
	IList<AvlNet.ScanMap> outMeasurementMap,
	out AvlNet.SegmentScanField outAlignedScanField,
	IList<AvlNet.Segment2D> diagScanSegments
)

Parameters

Name Type Range Default Description
inImageFormatAvlNet.ImageFormatInformation about dimensions, depth and pixel type of the scan image.
inScanFieldAvlNet.SegmentScanFieldField in which scans will be performed.
inScanFieldAlignmentAvlNet.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.
inImageInterpolationAvlNet.InterpolationMethodBilinearInterpolation method used in extraction of image pixel values. Default value: Bilinear.
outMeasurementMapSystem.Collections.Generic.IList<AvlNet.ScanMap>
outAlignedScanFieldAvlNet.SegmentScanFieldField in which the scans will be performed.
diagScanSegmentsSystem.Collections.Generic.IList<AvlNet.Segment2D>Array of scan segments.

Function Overrides

See also