You are here: Start » FIL.NET » Invoke.FitCircleToRidges
Performs a series of 1D ridge detections and finds a circle that best matches the detected points.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void FitCircleToRidges ( Fil.Image inImage, Fil.CircleFittingMap inFittingMap, Fil.RidgeScanParams inRidgeScanParams, Fil.Selection inRidgeSelection, Optional<Fil.LocalBlindness> inLocalBlindness, float inMaxIncompleteness, Fil.CircleFittingMethod inFittingMethod, Optional<Fil.MEstimator> inOutlierSuppression, Conditional<Fil.Circle2D> outCircle, Optional<List<Conditional<Fil.Ridge1D>>> outRidges, 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 | |
---|---|---|---|---|---|
![]() | inImage | Fil.Image | Image to fit the circle to. | ||
![]() | inFittingMap | Fil.CircleFittingMap | Input fitting map. | ||
![]() | inRidgeScanParams | Fil.RidgeScanParams | Parameters controlling the ridge extraction process. | ||
![]() | inRidgeSelection | Fil.Selection | fil::Selection::Best | Selection mode of ridges. Default value: fil::Selection::Best. | |
![]() | inLocalBlindness | Ftl.Optional<Fil.LocalBlindness> | Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges. Default value: ftl::NIL. | ||
![]() | inMaxIncompleteness | float | <0.0f, 0.999f> | 0.1f | Maximal fraction of ridge points not found. Default value: 0.1f. |
![]() | inFittingMethod | Fil.CircleFittingMethod | AlgebraicTaubin | Method used to fit a circle. Default value: AlgebraicTaubin. | |
![]() | inOutlierSuppression | Ftl.Optional<Fil.MEstimator> | Selects a method for ignoring incorrectly detected points. Default value: ftl::NIL. | ||
![]() | outCircle | Ftl.Conditional<Fil.Circle2D> | Fitted circle or nothing if the fitting fails. | ||
![]() | outRidges | Ftl.Optional<System.Collections.Generic.List<Ftl.Conditional<Fil.Ridge1D>>> | Found ridges. | ||
![]() | outDeviationProfile | Ftl.Optional<Ftl.Conditional<Fil.Profile>> | Profile of distances between the actual circle points and the corresponding reference circle points. | ||
![]() | outInliers | Ftl.Optional<System.Collections.Generic.List<Fil.Point2D>> | Points matching the fitting Circle. | ||
![]() | outBrightnessProfiles | Ftl.Optional<System.Collections.Generic.List<Fil.Profile>> | Extracted image profiles. | ||
![]() | outResponseProfiles | Ftl.Optional<System.Collections.Generic.List<Fil.Profile>> | Profiles of the ridge operator response. |