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

AVS.FitSegmentToStripe Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void FitSegmentToStripe
(
	AvlNet.Image inImage,
	AvlNet.SegmentFittingMap inFittingMap,
	AvlNet.StripeScanParams inStripeScanParams,
	AvlNet.Selection inStripeSelection,
	AvlNet.LocalBlindness? inLocalBlindness,
	float inMaxIncompleteness,
	AvlNet.LineMEstimator? inOutlierSuppression,
	out AvlNet.Segment2D? outSegment,
	out AvlNet.Segment2D? outLeftSegment,
	out AvlNet.Segment2D? outRightSegment
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageImage to fit segment to.
inFittingMapAvlNet.SegmentFittingMapInput fitting map.
inStripeScanParamsAvlNet.StripeScanParamsParameters controlling the stripe extraction process.
inStripeSelectionAvlNet.Selectionavl::Selection::BestSelection mode of stripe. Default value: avl::Selection::Best.
inLocalBlindnessAvlNet.LocalBlindness?Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL.
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of stripe points not found. Default value: 0.1f.
inOutlierSuppressionAvlNet.LineMEstimator?Selects a method for ignoring incorrectly detected points. Default value: atl::NIL.
outSegmentAvlNet.Segment2D?Fitted segment in the middle of found stripe.
outLeftSegmentAvlNet.Segment2D?Fitted left segment.
outRightSegmentAvlNet.Segment2D?Fitted right segment.

Function Overrides

See also