You are here: Start » AVL.NET » AVS.CreatePathFittingMap Method

AVS.CreatePathFittingMap Method

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,
	AvlNet.PathFittingMap outFittingMap,
	IList<AvlNet.Segment2D> diagScanSegments,
	IList<AvlNet.Rectangle2D> diagSamplingAreas
)

Parameters

Name Type Range Default Description
inImageFormatAvlNet.ImageFormatDimensions, depth and pixel type of the images on which fitting will be performed.
inFittingFieldAvlNet.PathFittingFieldDefines a stripe in which scan segments will be created.
inScanWidthint<1, INF>5The width of each scan field (in pixels). Default value: 5.
inImageInterpolationAvlNet.InterpolationMethodavl::InterpolationMethod::NearestNeighbourInterpolation method used for extraction of image pixel values. Default value: avl::InterpolationMethod::NearestNeighbour.
outFittingMapAvlNet.PathFittingMapOptimized data required for path fitting.
diagScanSegmentsSystem.Collections.Generic.IList<AvlNet.Segment2D>Segments along which the scans will be run.
diagSamplingAreasSystem.Collections.Generic.IList<AvlNet.Rectangle2D>Scan fields created for point detection.

Function Overrides

See also