You are here: Start » AVL.NET » AVL.FitCircleToStripe3D

AVL.FitCircleToStripe3D

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void FitCircleToStripe3D
(
	AvlNet.Surface inSurface,
	AvlNet.CircleFittingMap inFittingMap,
	AvlNet.StripeScanParams3D inStripeScanParams,
	AvlNet.Selection inStripeSelection,
	AvlNet.LocalBlindness? inLocalBlindness,
	int? inMaxProfileGapWidth,
	float inMaxIncompleteness,
	AvlNet.CircleFittingMethod inFittingMethod,
	AvlNet.MEstimator? inOutlierSuppression,
	out AvlNet.Circle3D? outCircle,
	out AvlNet.Circle3D? outInnerCircle,
	out AvlNet.Circle3D? outOuterCircle,
	out AvlNet.SurfaceStripe1D?[] outStripes,
	out AvlNet.Point3D[] outStripePoints,
	out AvlNet.Profile outDeviationProfile,
	out AvlNet.Profile[] diagHeightProfiles,
	out AvlNet.Profile[] diagResponseProfiles
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceSurface to fit the circle to.
inFittingMapAvlNet.CircleFittingMapInput fitting map.
inStripeScanParamsAvlNet.StripeScanParams3DParameters controlling the stripe extraction process.
inStripeSelectionAvlNet.Selectionavl::Selection::BestSelection mode of stripe. Default value: avl::Selection::Best.
inLocalBlindnessAvlNet.LocalBlindness?Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL, or null.
inMaxProfileGapWidthint?<0, INF>Maximal number of consecutive not existing profile points. Default value: atl::NIL, or null.
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of stripe points not found. Default value: 0.1f.
inFittingMethodAvlNet.CircleFittingMethodAlgebraicTaubinMethod used to fit a circle. Default value: AlgebraicTaubin.
inOutlierSuppressionAvlNet.MEstimator?Selects a method for ignoring incorrectly detected points. Default value: atl::NIL, or null.
outCircleAvlNet.Circle3D?Fitted circle in the middle of found stripe or nothing if the fitting fails.
outInnerCircleAvlNet.Circle3D?Fitted inner circle.
outOuterCircleAvlNet.Circle3D?Fitted outer circle.
outStripesAvlNet.SurfaceStripe1D?[]Found stripes
outStripePointsAvlNet.Point3D[]Extracted points of middle circle of a surface stripe
outDeviationProfileAvlNet.ProfileProfile of distances between the actual circle points and the corresponding reference circle points
diagHeightProfilesAvlNet.Profile[]Extracted surface height profiles.
diagResponseProfilesAvlNet.Profile[]Profiles of the edge (derivative) operator response.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

See also