You are here: Start » AVL.NET » AVL.CreatePathFittingMap(AvlNet.ImageFormat, AvlNet.PathFittingField, AvlNet.CoordinateSystem2D?, float?, int, AvlNet.InterpolationMethod, AvlNet.PathFittingMap)

AVL.CreatePathFittingMap(AvlNet.ImageFormat, AvlNet.PathFittingField, AvlNet.CoordinateSystem2D?, float?, int, AvlNet.InterpolationMethod, AvlNet.PathFittingMap)

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,
	AvlNet.CoordinateSystem2D? inFittingFieldAlignment,
	float? inScanStep,
	int inScanWidth,
	AvlNet.InterpolationMethod inImageInterpolation,
	out AvlNet.PathFittingMap outFittingMap
)

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
inFittingFieldAlignment
Type: System.Nullable<AvlNet.CoordinateSystem2D>
Adjusts the fitting field to the position of the inspected object, or null.
inScanStep
Type: System.Nullable<System.Single>
Optional implicit conversion of the input path to an equidistant one, or null.
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

See also