You are here: Start » FIL.NET » Invoke.FitSegmentToStripe
Performs a series of 1D stripe detections and finds a segment that best matches the detected points.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void FitSegmentToStripe ( Fil.Image inImage, Fil.SegmentFittingMap inFittingMap, Fil.StripeScanParams inStripeScanParams, Fil.Selection inStripeSelection, Optional<Fil.LocalBlindness> inLocalBlindness, float inMaxIncompleteness, Optional<Fil.LineMEstimator> inOutlierSuppression, Conditional<Fil.Segment2D> outSegment, Conditional<Fil.Segment2D> outLeftSegment, Conditional<Fil.Segment2D> outRightSegment, Optional<List<Conditional<Fil.Stripe1D>>> outStripes, Optional<List<Fil.Point2D>> outStripePoints, Optional<Conditional<Fil.Profile>> outDeviationProfile, Optional<List<Fil.Profile>> outBrightnessProfiles, Optional<List<Fil.Profile>> outResponseProfiles )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Fil.Image | Image to fit segment to. | ||
![]() | inFittingMap | Fil.SegmentFittingMap | Input fitting map. | ||
![]() | inStripeScanParams | Fil.StripeScanParams | Parameters controlling the stripe extraction process. | ||
![]() | inStripeSelection | Fil.Selection | fil::Selection::Best | Selection mode of stripe. Default value: fil::Selection::Best. | |
![]() | inLocalBlindness | Ftl.Optional<Fil.LocalBlindness> | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: ftl::NIL. | ||
![]() | inMaxIncompleteness | float | <0.0f, 0.999f> | 0.1f | Maximal fraction of stripe points not found. Default value: 0.1f. |
![]() | inOutlierSuppression | Ftl.Optional<Fil.LineMEstimator> | Selects a method for ignoring incorrectly detected points. Default value: ftl::NIL. | ||
![]() | outSegment | Ftl.Conditional<Fil.Segment2D> | Fitted segment in the middle of found stripe. | ||
![]() | outLeftSegment | Ftl.Conditional<Fil.Segment2D> | Fitted left segment. | ||
![]() | outRightSegment | Ftl.Conditional<Fil.Segment2D> | Fitted right segment. | ||
![]() | outStripes | Ftl.Optional<System.Collections.Generic.List<Ftl.Conditional<Fil.Stripe1D>>> | Found stripes. | ||
![]() | outStripePoints | Ftl.Optional<System.Collections.Generic.List<Fil.Point2D>> | Extracted points of middle segment of an image stripe. | ||
![]() | outDeviationProfile | Ftl.Optional<Ftl.Conditional<Fil.Profile>> | Profile of distances between the actual segment points and the corresponding reference segment points. | ||
![]() | outBrightnessProfiles | Ftl.Optional<System.Collections.Generic.List<Fil.Profile>> | Extracted image profiles. | ||
![]() | outResponseProfiles | Ftl.Optional<System.Collections.Generic.List<Fil.Profile>> | Profiles of the edge (derivative) operator response. |