You are here: Start » AVL.NET » Invoke.FitArcToStripe

Invoke.FitArcToStripe

Performs a series of 1D stripe detections and finds an arc that best matches the detected points.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void FitArcToStripe
(
	Avl.Image inImage,
	Avl.ArcFittingMap inFittingMap,
	Avl.StripeScanParams inStripeScanParams,
	Avl.Selection inStripeSelection,
	Optional<Avl.LocalBlindness> inLocalBlindness,
	float inMaxIncompleteness,
	Avl.CircleFittingMethod inFittingMethod,
	Optional<Avl.MEstimator> inOutlierSuppression,
	Conditional<Avl.Arc2D> outArc,
	Conditional<Avl.Arc2D> outInnerArc,
	Conditional<Avl.Arc2D> outOuterArc,
	Optional<List<Conditional<Avl.Stripe1D>>> outStripes,
	Optional<List<Avl.Point2D>> outStripePoints,
	Optional<Conditional<Avl.Profile>> outDeviationProfile,
	Optional<List<Avl.Profile>> outBrightnessProfiles,
	Optional<List<Avl.Profile>> outResponseProfiles
)

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image to fit arc to.
inFittingMapAvl.ArcFittingMapInput fitting map.
inStripeScanParamsAvl.StripeScanParamsParameters controlling the stripe extraction process.
inStripeSelectionAvl.Selectionavl::Selection::BestSelection mode of stripe. Default value: avl::Selection::Best.
inLocalBlindnessAtl.Optional<Avl.LocalBlindness>Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL.
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of stripe points not found. Default value: 0.1f.
inFittingMethodAvl.CircleFittingMethodAlgebraicTaubinMethod used to fit an arc. Default value: AlgebraicTaubin.
inOutlierSuppressionAtl.Optional<Avl.MEstimator>Selects a method for ignoring incorrectly detected points. Default value: atl::NIL.
outArcAtl.Conditional<Avl.Arc2D>Fitted arc in the middle of found stripe.
outInnerArcAtl.Conditional<Avl.Arc2D>Fitted inner arc.
outOuterArcAtl.Conditional<Avl.Arc2D>Fitted outer arc.
outStripesAtl.Optional<System.Collections.Generic.List<Atl.Conditional<Avl.Stripe1D>>>Found stripes.
outStripePointsAtl.Optional<System.Collections.Generic.List<Avl.Point2D>>Extracted points of middle arc of an image stripe.
outDeviationProfileAtl.Optional<Atl.Conditional<Avl.Profile>>Profile of distances between the actual arc points and the corresponding reference arc points.
outBrightnessProfilesAtl.Optional<System.Collections.Generic.List<Avl.Profile>>Extracted image profiles.
outResponseProfilesAtl.Optional<System.Collections.Generic.List<Avl.Profile>>Profiles of the edge (derivative) operator response.

See also