You are here: Start » AVL.NET » AVL.FitPathToEdges(AvlNet.Image, AvlNet.PathFittingMap, AvlNet.EdgeScanParams, AvlNet.Selection, AvlNet.LocalBlindness, int?, float?, float, AvlNet.Path)
AVL.FitPathToEdges(AvlNet.Image, AvlNet.PathFittingMap, AvlNet.EdgeScanParams, AvlNet.Selection, AvlNet.LocalBlindness, int?, float?, float, AvlNet.Path)
Performs a series of 1D edge detections and creates a path from the detected points.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void FitPathToEdges( AvlNet.Image inImage, AvlNet.PathFittingMap inFittingMap, AvlNet.EdgeScanParams inEdgeScanParams, AvlNet.Selection inEdgeSelection, AvlNet.LocalBlindness inLocalBlindness, int? inMaxInterpolationLength, float? inMaxDeviationDelta, float inMaxIncompleteness, out AvlNet.Path outPath )
Parameters
- inImage
- Type: AvlNet.Image
Image to fit the path to - inFittingMap
- Type: AvlNet.PathFittingMap
Input fitting map - inEdgeScanParams
- Type: AvlNet.EdgeScanParams
Parameters controlling the edge extraction process - inEdgeSelection
- Type: AvlNet.Selection
Selection mode of edges - inLocalBlindness
- Type: AvlNet.LocalBlindness
Defines conditions in which weaker edges can be detected in the vicinity of stronger edges, or null. - inMaxInterpolationLength
- Type: System.Nullable<System.Int32>
Maximal number of consecutive points not found, or null. - inMaxDeviationDelta
- Type: System.Nullable<System.Single>
Maximal difference between deviations of consecutive path points, or null. - inMaxIncompleteness
- Type: System.Single
Maximal fraction of edge points not found - outPath
- Type: AvlNet.Path
Fitted path or nothing if the fitting failed
