You are here: Start » AVL.NET » AVL.FitSegmentToStripe(AvlNet.Image, AvlNet.SegmentFittingMap, AvlNet.StripeScanParams, AvlNet.Selection, AvlNet.LocalBlindness, float, AvlNet.MEstimator?, AvlNet.Segment2D?, AvlNet.Segment2D?, AvlNet.Segment2D?, AvlNet.Stripe1D?[])

AVL.FitSegmentToStripe(AvlNet.Image, AvlNet.SegmentFittingMap, AvlNet.StripeScanParams, AvlNet.Selection, AvlNet.LocalBlindness, float, AvlNet.MEstimator?, AvlNet.Segment2D?, AvlNet.Segment2D?, AvlNet.Segment2D?, AvlNet.Stripe1D?[])

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.MEstimator? inOutlierSuppression,
	out AvlNet.Segment2D? outSegment,
	out AvlNet.Segment2D? outLeftSegment,
	out AvlNet.Segment2D? outRightSegment,
	out AvlNet.Stripe1D?[] outStripes
)

Parameters

inImage
Type: AvlNet.Image
Image to fit segment to
inFittingMap
Type: AvlNet.SegmentFittingMap
Input fitting map
inStripeScanParams
Type: AvlNet.StripeScanParams
Parameters controlling the stripe extraction process
inStripeSelection
Type: AvlNet.Selection
Selection mode of stripe
inLocalBlindness
Type: AvlNet.LocalBlindness
Defines conditions in which weaker edges can be detected in the vicinity of stronger edges, or null.
inMaxIncompleteness
Type: System.Single
Maximal fraction of stripe points not found
inOutlierSuppression
Type: System.Nullable<AvlNet.MEstimator>
Selects a method for ignoring incorrectly detected points, or null.
outSegment
Type: System.Nullable<AvlNet.Segment2D>
Fitted segment in the middle of found stripe
outLeftSegment
Type: System.Nullable<AvlNet.Segment2D>
Fitted left segment
outRightSegment
Type: System.Nullable<AvlNet.Segment2D>
Fitted right segment
outStripes
Type: System.Nullable<AvlNet.Stripe1D>
Found stripes

See also