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

AVS.CreateSegmentFittingMap Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CreateSegmentFittingMap
(
	AvlNet.ImageFormat inImageFormat,
	AvlNet.SegmentFittingField inFittingField,
	int inScanCount,
	int inScanWidth,
	AvlNet.InterpolationMethod inImageInterpolation,
	AvlNet.SegmentFittingMap outFittingMap
)

Parameters

Name Type Range Default Description
inImageFormatAvlNet.ImageFormatDimensions, depth and pixel type of the images on which fitting will be performed.
inFittingFieldAvlNet.SegmentFittingFieldDefines a rectangle in which scan segments will be created.
inScanCountint<3, INF>10The number of points that will be searched to estimate the position of the segment. Default value: 10.
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.SegmentFittingMapOptimized data required for segment fitting.

Function Overrides

See also