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 | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Image to fit segment to. | |||
inFittingMap | AvlNet.SegmentFittingMap | Input fitting map. | |||
inStripeScanParams | AvlNet.StripeScanParams | Parameters controlling the stripe extraction process. | |||
inStripeSelection | AvlNet.Selection | avl::Selection::Best | Selection mode of stripe. Default value: avl::Selection::Best. | ||
inLocalBlindness | AvlNet.LocalBlindness? | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL. | |||
inMaxIncompleteness | float | <0.0f, 0.999f> | 0.1f | Maximal fraction of stripe points not found. Default value: 0.1f. | |
inOutlierSuppression | AvlNet.LineMEstimator? | Selects a method for ignoring incorrectly detected points. Default value: atl::NIL. | |||
outSegment | AvlNet.Segment2D? | Fitted segment in the middle of found stripe. | |||
outLeftSegment | AvlNet.Segment2D? | Fitted left segment. | |||
outRightSegment | AvlNet.Segment2D? | Fitted right segment. |
Function Overrides
- FitSegmentToStripe(Image, SegmentFittingMap, StripeScanParams, Selection, Single, Nullable<Segment2D>, Nullable<Segment2D>, Nullable<Segment2D>)
- FitSegmentToStripe(Image, SegmentFittingMap, StripeScanParams, Selection, Nullable<LocalBlindness>, Single, Nullable<LineMEstimator>, Nullable<Segment2D>, Nullable<Segment2D>, Nullable<Segment2D>, IList<NullableRef<Stripe1D>>, IList<Point2D>, INullable<Profile>, IList<Profile>, IList<Profile>)
- FitSegmentToStripe(Image, SegmentFittingMap, StripeScanParams, Selection, Nullable<LocalBlindness>, Single, Nullable<LineMEstimator>, Nullable<Segment2D>, Nullable<Segment2D>, Nullable<Segment2D>, NullableRef<List<NullableRef<Stripe1D>>>, NullableRef<List<Point2D>>, NullableRef<NullableRef<Profile>>, NullableRef<SafeList<Profile>>, NullableRef<SafeList<Profile>>)