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

AVS.FitPathToStripe Method

Performs a series of 1D stripe detections and creates a path from the detected points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void FitPathToStripe
(
	AvlNet.Image inImage,
	AvlNet.PathFittingMap inFittingMap,
	AvlNet.StripeScanParams inStripeScanParams,
	AvlNet.Selection inStripeSelection,
	float inMaxIncompleteness,
	INullable<AvlNet.Path> outPath,
	INullable<AvlNet.Path> outLeftPath,
	INullable<AvlNet.Path> outRightPath,
	IList<NullableRef<AvlNet.Stripe1D>> outStripes
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageImage to fit the path to.
inFittingMapAvlNet.PathFittingMapInput 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.
outPathAvlNet.INullable<AvlNet.Path>Fitted path in the middle of found stripe. This parameter cannot be null.
outLeftPathAvlNet.INullable<AvlNet.Path>Fitted left path. This parameter cannot be null.
outRightPathAvlNet.INullable<AvlNet.Path>Fitted right path. This parameter cannot be null.
outStripesSystem.Collections.Generic.IList<AvlNet.NullableRef<AvlNet.Stripe1D>>Found stripes.

Function Overrides

See also