You are here: Start » AVL.NET » AVL.CreateSegmentFittingMap(AvlNet.ImageFormat, AvlNet.SegmentFittingField, int, int, AvlNet.InterpolationMethod, AvlNet.SegmentFittingMap, AvlNet.Segment2D[], AvlNet.Rectangle2D[])

AVL.CreateSegmentFittingMap(AvlNet.ImageFormat, AvlNet.SegmentFittingField, int, int, AvlNet.InterpolationMethod, AvlNet.SegmentFittingMap, AvlNet.Segment2D[], AvlNet.Rectangle2D[])

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,
	out AvlNet.SegmentFittingMap outFittingMap,
	out AvlNet.Segment2D[] diagScanSegments,
	out AvlNet.Rectangle2D[] diagSamplingAreas
)

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
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
diagScanSegments
Type: AvlNet.Segment2D
Segments along which the scans will be run
diagSamplingAreas
Type: AvlNet.Rectangle2D
Scan fields created for point detection

See also