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

AVS.FitArcToStripe Method

Performs a series of 1D stripe detections and finds an arc that best matches the detected points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void FitArcToStripe
(
	AvlNet.Image inImage,
	AvlNet.ArcFittingMap inFittingMap,
	AvlNet.StripeScanParams inStripeScanParams,
	AvlNet.Selection inStripeSelection,
	float inMaxIncompleteness,
	AvlNet.CircleFittingMethod inFittingMethod,
	out AvlNet.Arc2D? outArc,
	out AvlNet.Arc2D? outInnerArc,
	out AvlNet.Arc2D? outOuterArc
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image to fit arc to.
inFittingMapAvlNet.ArcFittingMapInput fitting map.
inStripeScanParamsAvlNet.StripeScanParamsParameters controlling the stripe extraction process.
inStripeSelectionAvlNet.Selectionavl::Selection::BestSelection mode of stripe. Default value: avl::Selection::Best.
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of stripe points not found. Default value: 0.1f.
inFittingMethodAvlNet.CircleFittingMethodAlgebraicTaubinMethod used to fit an arc. Default value: AlgebraicTaubin.
outArcAvlNet.Arc2D?Fitted arc in the middle of found stripe.
outInnerArcAvlNet.Arc2D?Fitted inner arc.
outOuterArcAvlNet.Arc2D?Fitted outer arc.

Function Overrides

See also