You are here: Start » AVL.NET » AVL.FitArcToRidges(AvlNet.Image, AvlNet.ArcFittingMap, AvlNet.RidgeScanParams, AvlNet.Selection, float, AvlNet.CircleFittingMethod, AvlNet.Arc2D?)
AVL.FitArcToRidges(AvlNet.Image, AvlNet.ArcFittingMap, AvlNet.RidgeScanParams, AvlNet.Selection, float, AvlNet.CircleFittingMethod, AvlNet.Arc2D?)
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
- inImage
- Type: AvlNet.Image
Input image to fit arc to - inFittingMap
- Type: AvlNet.ArcFittingMap
Input fitting map - inRidgeScanParams
- Type: AvlNet.RidgeScanParams
Parameters controlling the ridge extraction process - inRidgeSelection
- Type: AvlNet.Selection
Selection mode of ridges - inMaxIncompleteness
- Type: System.Single
Maximal fraction of ridge points not found - inFittingMethod
- Type: AvlNet.CircleFittingMethod
Method used to fit an arc - outArc
- Type: System.Nullable<AvlNet.Arc2D>
Fitted arc or nothing if the fitting fails
