You are here: Start » AVL.NET » AVS.FitPathToEdges_Direct Method

AVS.FitPathToEdges_Direct Method

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_Direct
(
	AvlNet.Image inImage,
	AvlNet.PathFittingField inFittingField,
	int inScanWidth,
	AvlNet.SamplingParams inSamplingParams,
	AvlNet.EdgeScanParams inEdgeScanParams,
	AvlNet.Selection inEdgeSelection,
	float inMaxIncompleteness,
	INullable<AvlNet.Path> outPath
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageImage to fit the path to.
inFittingFieldAvlNet.PathFittingFieldPath fitting field.
inScanWidthint<1, INF>5The width of each scan field (in pixels). Default value: 5.
inSamplingParamsAvlNet.SamplingParamsParameters controlling the sampling process.
inEdgeScanParamsAvlNet.EdgeScanParamsEdgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f MinMagnitude: 5.0f EdgeTransition: BrightToDark )Parameters controlling the edge extraction process. Default value: EdgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f MinMagnitude: 5.0f EdgeTransition: BrightToDark ).
inEdgeSelectionAvlNet.SelectionSelection mode of edges.
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of edge points not found. Default value: 0.1f.
outPathAvlNet.INullable<AvlNet.Path>Fitted path or nothing if the fitting failed. This parameter cannot be null.

Function Overrides

See also