You are here: Start » AVL.NET » AVL.CreateSegmentFittingMap(AvlNet.ImageFormat, AvlNet.SegmentFittingField, AvlNet.CoordinateSystem2D?, int, int, AvlNet.InterpolationMethod, AvlNet.SegmentFittingMap)

AVL.CreateSegmentFittingMap(AvlNet.ImageFormat, AvlNet.SegmentFittingField, AvlNet.CoordinateSystem2D?, int, int, AvlNet.InterpolationMethod, AvlNet.SegmentFittingMap)

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

Parameters

inImageFormat
Type: AvlNet.ImageFormat
Dimensions, depth and pixel type of the images on which fitting will be performed
inFittingField
Type: AvlNet.SegmentFittingField
Defines a rectangle 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.
inScanCount
Type: System.Int32
The number of points that will be searched to estimate the position of the segment
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.SegmentFittingMap
Optimized data required for segment fitting

See also