You are here: Start » AVL.NET » AVL.CreatePathFittingMap(AvlNet.ImageFormat, AvlNet.PathFittingField, int, AvlNet.InterpolationMethod, AvlNet.PathFittingMap, AvlNet.Segment2D[], AvlNet.Rectangle2D[])

AVL.CreatePathFittingMap(AvlNet.ImageFormat, AvlNet.PathFittingField, int, AvlNet.InterpolationMethod, AvlNet.PathFittingMap, AvlNet.Segment2D[], AvlNet.Rectangle2D[])

Precomputes a data object that is required for fast path fitting on images.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void CreatePathFittingMap(
	AvlNet.ImageFormat inImageFormat,
	AvlNet.PathFittingField inFittingField,
	int inScanWidth,
	AvlNet.InterpolationMethod inImageInterpolation,
	out AvlNet.PathFittingMap outFittingMap,
	out AvlNet.Segment2D[] diagScanSegments,
	out AvlNet.Rectangle2D[] diagSamplingAreas
)

Parameters

inImageFormat
Type: AvlNet.ImageFormat
Dimensions, depth and pixel type of the images on which fitting will be performed
inFittingField
Type: AvlNet.PathFittingField
Defines a stripe in which scan segments will be created
inScanWidth
Type: System.Int32
The width of each scan field (in pixels)
inImageInterpolation
Type: AvlNet.InterpolationMethod
Interpolation method used for extraction of image pixel values
outFittingMap
Type: AvlNet.PathFittingMap
Optimized data required for path fitting
diagScanSegments
Type: AvlNet.Segment2D
Segments along which the scans will be run
diagSamplingAreas
Type: AvlNet.Rectangle2D
Scan fields created for point detection

See also