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

AVL.FitSegmentToStripe(AvlNet.Image, AvlNet.SegmentFittingMap, AvlNet.StripeScanParams, AvlNet.Selection, float, AvlNet.Segment2D?, AvlNet.Segment2D?, AvlNet.Segment2D?, AvlNet.Point2D[], AvlNet.Point2D[], AvlNet.Point2D[], AvlNet.Profile, float[], AvlNet.Profile[], AvlNet.Profile[])

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,
	float inMaxIncompleteness,
	out AvlNet.Segment2D? outSegment,
	out AvlNet.Segment2D? outLeftSegment,
	out AvlNet.Segment2D? outRightSegment,
	out AvlNet.Point2D[] outStripePoints,
	out AvlNet.Point2D[] outLeftStripePoints,
	out AvlNet.Point2D[] outRightStripePoints,
	out AvlNet.Profile outDeviationProfile,
	out float[] outStripeMagnitudes,
	out AvlNet.Profile[] diagBrightnessProfiles,
	out AvlNet.Profile[] diagResponseProfiles
)

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
inMaxIncompleteness
Type: System.Single
Maximal fraction of stripe points not found
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
outStripePoints
Type: AvlNet.Point2D
outLeftStripePoints
Type: AvlNet.Point2D
outRightStripePoints
Type: AvlNet.Point2D
outDeviationProfile
Type: AvlNet.Profile
outStripeMagnitudes
Type: System.Single
diagBrightnessProfiles
Type: AvlNet.Profile
Extracted image profiles
diagResponseProfiles
Type: AvlNet.Profile
Profiles of the edge (derivative) operator response

Remarks

See full override for more details.

See also