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

Invoke.FitCircleToRidges

Performs a series of 1D ridge detections and finds a circle that best matches the detected points.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void FitCircleToRidges
(
	Avl.Image inImage,
	Avl.CircleFittingMap inFittingMap,
	Avl.RidgeScanParams inRidgeScanParams,
	Avl.Selection inRidgeSelection,
	Optional<Avl.LocalBlindness> inLocalBlindness,
	float inMaxIncompleteness,
	Avl.CircleFittingMethod inFittingMethod,
	Optional<Avl.MEstimator> inOutlierSuppression,
	Conditional<Avl.Circle2D> outCircle,
	Optional<List<Conditional<Avl.Ridge1D>>> outRidges,
	Optional<Conditional<Avl.Profile>> outDeviationProfile,
	Optional<List<Avl.Point2D>> outInliers,
	Optional<List<Avl.Profile>> outBrightnessProfiles,
	Optional<List<Avl.Profile>> outResponseProfiles
)

Parameters

Name Type Range Default Description
inImageAvl.ImageImage to fit the circle to.
inFittingMapAvl.CircleFittingMapInput fitting map.
inRidgeScanParamsAvl.RidgeScanParamsParameters controlling the ridge extraction process.
inRidgeSelectionAvl.Selectionavl::Selection::BestSelection mode of ridges. Default value: avl::Selection::Best.
inLocalBlindnessAtl.Optional<Avl.LocalBlindness>Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges. Default value: atl::NIL.
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of ridge points not found. Default value: 0.1f.
inFittingMethodAvl.CircleFittingMethodAlgebraicTaubinMethod used to fit a circle. Default value: AlgebraicTaubin.
inOutlierSuppressionAtl.Optional<Avl.MEstimator>Selects a method for ignoring incorrectly detected points. Default value: atl::NIL.
outCircleAtl.Conditional<Avl.Circle2D>Fitted circle or nothing if the fitting fails.
outRidgesAtl.Optional<System.Collections.Generic.List<Atl.Conditional<Avl.Ridge1D>>>Found ridges.
outDeviationProfileAtl.Optional<Atl.Conditional<Avl.Profile>>Profile of distances between the actual circle points and the corresponding reference circle points.
outInliersAtl.Optional<System.Collections.Generic.List<Avl.Point2D>>Points matching the fitting Circle.
outBrightnessProfilesAtl.Optional<System.Collections.Generic.List<Avl.Profile>>Extracted image profiles.
outResponseProfilesAtl.Optional<System.Collections.Generic.List<Avl.Profile>>Profiles of the ridge operator response.

See also