You are here: Start » FIL.NET » FIS.FitSegmentToStripe Method

FIS.FitSegmentToStripe Method

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

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inImageFilNet.ImageImage to fit segment to.
inFittingMapFilNet.SegmentFittingMapInput fitting map.
inStripeScanParamsFilNet.StripeScanParamsParameters controlling the stripe extraction process.
inStripeSelectionFilNet.Selectionfil::Selection::BestSelection mode of stripe. Default value: fil::Selection::Best.
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of stripe points not found. Default value: 0.1f.
outSegmentFilNet.Segment2D?Fitted segment in the middle of found stripe.
outLeftSegmentFilNet.Segment2D?Fitted left segment.
outRightSegmentFilNet.Segment2D?Fitted right segment.

Function Overrides

See also