You are here: Start » AVL.NET » AVS.FitArcToStripe Method
AVS.FitArcToStripe Method
Performs a series of 1D stripe detections and finds an arc that best matches the detected points.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void FitArcToStripe ( AvlNet.Image inImage, AvlNet.ArcFittingMap inFittingMap, AvlNet.StripeScanParams inStripeScanParams, AvlNet.Selection inStripeSelection, AvlNet.LocalBlindness? inLocalBlindness, float inMaxIncompleteness, AvlNet.CircleFittingMethod inFittingMethod, AvlNet.MEstimator? inOutlierSuppression, out AvlNet.Arc2D? outArc, out AvlNet.Arc2D? outInnerArc, out AvlNet.Arc2D? outOuterArc, NullableRef<List<NullableRef<AvlNet.Stripe1D>>> outStripes, NullableRef<List<AvlNet.Point2D>> outStripePoints, NullableRef<NullableRef<AvlNet.Profile>> outDeviationProfile, NullableRef<SafeList<AvlNet.Profile>> outBrightnessProfiles, NullableRef<SafeList<AvlNet.Profile>> outResponseProfiles )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image to fit arc to. | |||
inFittingMap | AvlNet.ArcFittingMap | 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. | |
inFittingMethod | AvlNet.CircleFittingMethod | AlgebraicTaubin | Method used to fit an arc. Default value: AlgebraicTaubin. | ||
inOutlierSuppression | AvlNet.MEstimator? | Selects a method for ignoring incorrectly detected points. Default value: atl::NIL. | |||
outArc | AvlNet.Arc2D? | Fitted arc in the middle of found stripe. | |||
outInnerArc | AvlNet.Arc2D? | Fitted inner arc. | |||
outOuterArc | AvlNet.Arc2D? | Fitted outer arc. | |||
outStripes | AvlNet.NullableRef<System.Collections.Generic.List<AvlNet.NullableRef<AvlNet.Stripe1D>>> | Found stripes. Can be null to skip this parameter calculation. | |||
outStripePoints | AvlNet.NullableRef<System.Collections.Generic.List<AvlNet.Point2D>> | Extracted points of middle arc of an image stripe. Can be null to skip this parameter calculation. | |||
outDeviationProfile | AvlNet.NullableRef<AvlNet.NullableRef<AvlNet.Profile>> | Profile of distances between the actual arc points and the corresponding reference arc points. Can be null to skip this parameter calculation. | |||
outBrightnessProfiles | AvlNet.NullableRef<AvlNet.SafeList<AvlNet.Profile>> | Extracted image profiles. Can be null to skip this parameter calculation. | |||
outResponseProfiles | AvlNet.NullableRef<AvlNet.SafeList<AvlNet.Profile>> | Profiles of the edge (derivative) operator response. Can be null to skip this parameter calculation. |
Function Overrides
- FitArcToStripe(Image, ArcFittingMap, StripeScanParams, Selection, Single, CircleFittingMethod, Nullable<Arc2D>, Nullable<Arc2D>, Nullable<Arc2D>)
- FitArcToStripe(Image, ArcFittingMap, StripeScanParams, Selection, Nullable<LocalBlindness>, Single, CircleFittingMethod, Nullable<MEstimator>, Nullable<Arc2D>, Nullable<Arc2D>, Nullable<Arc2D>)
- FitArcToStripe(Image, ArcFittingMap, StripeScanParams, Selection, Nullable<LocalBlindness>, Single, CircleFittingMethod, Nullable<MEstimator>, Nullable<Arc2D>, Nullable<Arc2D>, Nullable<Arc2D>, IList<NullableRef<Stripe1D>>, IList<Point2D>, INullable<Profile>, IList<Profile>, IList<Profile>)