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

AVS.CreateArcFittingMap Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CreateArcFittingMap
(
	AvlNet.ImageFormat inImageFormat,
	AvlNet.ArcFittingField inFittingField,
	AvlNet.CoordinateSystem2D? inFittingFieldAlignment,
	int inScanCount,
	int inScanWidth,
	AvlNet.SamplingParams inSamplingParams,
	AvlNet.ArcFittingMap outFittingMap
)

Parameters

Name Type Range Default Description
inImageFormatAvlNet.ImageFormatDimensions, depth and pixel type of the images on which fitting will be performed.
inFittingFieldAvlNet.ArcFittingFieldDefines a ring section in which scan segments will be created.
inFittingFieldAlignmentAvlNet.CoordinateSystem2D?Adjusts the fitting field to the position of the inspected object. Default value: atl::NIL.
inScanCountint<3, INF>10The number of points that will be searched to estimate the position of the arc. Default value: 10.
inScanWidthint<1, INF>5The width of each scan field (in pixels). Default value: 5.
inSamplingParamsAvlNet.SamplingParams.interpolation BilinearParameters controlling the sampling process. Default value: .interpolation Bilinear.
outFittingMapAvlNet.ArcFittingMapOptimized data required for arc fitting.

Function Overrides

See also