You are here: Start » AVL.NET » Invoke.CreateCircleFittingMap

Invoke.CreateCircleFittingMap

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void CreateCircleFittingMap
(
	Avl.ImageFormat inImageFormat,
	Avl.CircleFittingField inFittingField,
	Optional<Avl.CoordinateSystem2D> inFittingFieldAlignment,
	int inScanCount,
	int inScanWidth,
	Avl.SamplingParams inSamplingParams,
	Avl.CircleFittingMap outFittingMap,
	Diagnostic<List<Avl.Segment2D>> diagScanSegments,
	Diagnostic<List<Avl.Rectangle2D>> diagSamplingAreas
)

Parameters

Name Type Range Default Description
inImageFormatAvl.ImageFormatDimensions, depth and pixel type of the images on which fitting will be performed.
inFittingFieldAvl.CircleFittingFieldDefines a ring in which scan segments will be created.
inFittingFieldAlignmentAtl.Optional<Avl.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 circle. Default value: 10.
inScanWidthint<1, INF>5The width of each scan field (in pixels). Default value: 5.
inSamplingParamsAvl.SamplingParams.interpolation BilinearParameters controlling the sampling process. Default value: .interpolation Bilinear.
outFittingMapAvl.CircleFittingMapOptimized data required for circle fitting.
diagScanSegmentsAvl.Diagnostic<System.Collections.Generic.List<Avl.Segment2D>>Segments along which the scans will be run.
diagSamplingAreasAvl.Diagnostic<System.Collections.Generic.List<Avl.Rectangle2D>>Scan fields created for point detection.

See also