You are here: Start » FIL.NET » Invoke.FitCircleToStripe3D

Invoke.FitCircleToStripe3D

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

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void FitCircleToStripe3D
(
	Fil.Surface inSurface,
	Fil.CircleFittingMap inFittingMap,
	Fil.StripeScanParams3D inStripeScanParams,
	Fil.Selection inStripeSelection,
	Optional<Fil.LocalBlindness> inLocalBlindness,
	Optional<int> inMaxProfileGapWidth,
	float inMaxIncompleteness,
	Fil.CircleFittingMethod inFittingMethod,
	Optional<Fil.MEstimator> inOutlierSuppression,
	Conditional<Fil.Circle3D> outCircle,
	Conditional<Fil.Circle3D> outInnerCircle,
	Conditional<Fil.Circle3D> outOuterCircle,
	Optional<List<Conditional<Fil.SurfaceStripe1D>>> outStripes,
	Optional<List<Fil.Point3D>> outStripePoints,
	Optional<Conditional<Fil.Profile>> outDeviationProfile,
	Optional<List<Fil.Profile>> outHeightProfiles,
	Optional<List<Fil.Profile>> outResponseProfiles
)

Parameters

Name Type Range Default Description
inSurfaceFil.SurfaceSurface to fit the circle to.
inFittingMapFil.CircleFittingMapInput fitting map.
inStripeScanParamsFil.StripeScanParams3DParameters controlling the stripe extraction process.
inStripeSelectionFil.Selectionfil::Selection::BestSelection mode of stripe. Default value: fil::Selection::Best.
inLocalBlindnessFtl.Optional<Fil.LocalBlindness>Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: ftl::NIL.
inMaxProfileGapWidthFtl.Optional<int><0, INF>1Maximal number of consecutive not existing profile points. Default value: 1.
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of stripe points not found. Default value: 0.1f.
inFittingMethodFil.CircleFittingMethodAlgebraicTaubinMethod used to fit a circle. Default value: AlgebraicTaubin.
inOutlierSuppressionFtl.Optional<Fil.MEstimator>Selects a method for ignoring incorrectly detected points. Default value: ftl::NIL.
outCircleFtl.Conditional<Fil.Circle3D>Fitted circle in the middle of found stripe or nothing if the fitting fails.
outInnerCircleFtl.Conditional<Fil.Circle3D>Fitted inner circle.
outOuterCircleFtl.Conditional<Fil.Circle3D>Fitted outer circle.
outStripesFtl.Optional<System.Collections.Generic.List<Ftl.Conditional<Fil.SurfaceStripe1D>>>Found stripes.
outStripePointsFtl.Optional<System.Collections.Generic.List<Fil.Point3D>>Extracted points of middle circle of a surface stripe.
outDeviationProfileFtl.Optional<Ftl.Conditional<Fil.Profile>>Profile of distances between the actual circle points and the corresponding reference circle points.
outHeightProfilesFtl.Optional<System.Collections.Generic.List<Fil.Profile>>Extracted surface height profiles.
outResponseProfilesFtl.Optional<System.Collections.Generic.List<Fil.Profile>>Profiles of the edge (derivative) operator response.

See also