You are here: Start » AVL.NET » AVS.FitArcToRidges Method
AVS.FitArcToRidges Method
Performs a series of 1D ridge detections and finds an arc that best matches the detected points.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void FitArcToRidges ( AvlNet.Image inImage, AvlNet.ArcFittingMap inFittingMap, AvlNet.RidgeScanParams inRidgeScanParams, AvlNet.Selection inRidgeSelection, float inMaxIncompleteness, AvlNet.CircleFittingMethod inFittingMethod, out AvlNet.Arc2D? outArc )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image to fit arc to. | |||
inFittingMap | AvlNet.ArcFittingMap | Input fitting map. | |||
inRidgeScanParams | AvlNet.RidgeScanParams | Parameters controlling the ridge extraction process. | |||
inRidgeSelection | AvlNet.Selection | avl::Selection::Best | Selection mode of ridges. Default value: avl::Selection::Best. | ||
inMaxIncompleteness | float | <0.0f, 0.999f> | 0.1f | Maximal fraction of ridge points not found. Default value: 0.1f. | |
inFittingMethod | AvlNet.CircleFittingMethod | AlgebraicTaubin | Method used to fit an arc. Default value: AlgebraicTaubin. | ||
outArc | AvlNet.Arc2D? | Fitted arc or nothing if the fitting fails. |
Function Overrides
- FitArcToRidges(Image, ArcFittingMap, RidgeScanParams, Selection, Nullable<LocalBlindness>, Single, CircleFittingMethod, Nullable<MEstimator>, Nullable<Arc2D>)
- FitArcToRidges(Image, ArcFittingMap, RidgeScanParams, Selection, Nullable<LocalBlindness>, Single, CircleFittingMethod, Nullable<MEstimator>, Nullable<Arc2D>, IList<Nullable<Ridge1D>>, INullable<Profile>, IList<Point2D>, IList<Profile>, IList<Profile>)
- FitArcToRidges(Image, ArcFittingMap, RidgeScanParams, Selection, Nullable<LocalBlindness>, Single, CircleFittingMethod, Nullable<MEstimator>, Nullable<Arc2D>, NullableRef<List<Nullable<Ridge1D>>>, NullableRef<NullableRef<Profile>>, NullableRef<List<Point2D>>, NullableRef<SafeList<Profile>>, NullableRef<SafeList<Profile>>)