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

Invoke.FitCircleToEdges

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 FitCircleToEdges
(
	Fil.Image inImage,
	Fil.CircleFittingMap inFittingMap,
	Fil.EdgeScanParams inEdgeScanParams,
	Fil.Selection inEdgeSelection,
	Optional<Fil.LocalBlindness> inLocalBlindness,
	float inMaxIncompleteness,
	Fil.CircleFittingMethod inFittingMethod,
	Optional<Fil.MEstimator> inOutlierSuppression,
	Conditional<Fil.Circle2D> outCircle,
	Optional<List<Conditional<Fil.Edge1D>>> outEdges,
	Optional<Conditional<Fil.Profile>> outDeviationProfile,
	Optional<List<Fil.Point2D>> outInliers,
	Optional<List<Fil.Profile>> outBrightnessProfiles,
	Optional<List<Fil.Profile>> outResponseProfiles
)

Parameters

Name Type Range Default Description
inImageFil.ImageImage to fit the circle to.
inFittingMapFil.CircleFittingMapInput fitting map.
inEdgeScanParamsFil.EdgeScanParamsParameters controlling the edge extraction process.
inEdgeSelectionFil.Selectionfil::SelectionBestSelection mode of edges. Default value: fil::SelectionBest.
inLocalBlindnessFtl.Optional<Fil.LocalBlindness>Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: ftl::NIL.
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of edge 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.Circle2D>Fitted circle or nothing if the fitting fails.
outEdgesFtl.Optional<System.Collections.Generic.List<Ftl.Conditional<Fil.Edge1D>>>Found edges.
outDeviationProfileFtl.Optional<Ftl.Conditional<Fil.Profile>>Profile of distances between the actual circle points and the corresponding reference circle points.
outInliersFtl.Optional<System.Collections.Generic.List<Fil.Point2D>>Points matching the fitting Circle.
outBrightnessProfilesFtl.Optional<System.Collections.Generic.List<Fil.Profile>>Extracted image profiles.
outResponseProfilesFtl.Optional<System.Collections.Generic.List<Fil.Profile>>Profiles of the edge (derivative) operator response.

See also