You are here: Start » AVL.NET » Invoke.FitPathToEdges

Invoke.FitPathToEdges

Performs a series of 1D edge detections and creates a path from the detected points.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void FitPathToEdges
(
	Avl.Image inImage,
	Avl.PathFittingMap inFittingMap,
	Avl.EdgeScanParams inEdgeScanParams,
	Avl.Selection inEdgeSelection,
	Optional<Avl.LocalBlindness> inLocalBlindness,
	Optional<int> inMaxInterpolationLength,
	Optional<float> inMaxDeviationDelta,
	float inMaxIncompleteness,
	Conditional<Avl.Path> outPath,
	Optional<List<Conditional<Avl.Edge1D>>> outEdges,
	Optional<Conditional<Avl.Profile>> outDeviationProfile,
	Optional<List<Avl.Profile>> outBrightnessProfiles,
	Optional<List<Avl.Profile>> outResponseProfiles
)

Parameters

Name Type Range Default Description
inImageAvl.ImageImage to fit the path to.
inFittingMapAvl.PathFittingMapInput fitting map.
inEdgeScanParamsAvl.EdgeScanParamsParameters controlling the edge extraction process.
inEdgeSelectionAvl.Selectionavl::Selection::BestSelection mode of edges. Default value: avl::Selection::Best.
inLocalBlindnessAtl.Optional<Avl.LocalBlindness>Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL.
inMaxInterpolationLengthAtl.Optional<int><0, INF>Maximal number of consecutive points not found. Default value: atl::NIL.
inMaxDeviationDeltaAtl.Optional<float><0.0f, INF>Maximal difference between deviations of consecutive path points. Default value: atl::NIL.
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of edge points not found. Default value: 0.1f.
outPathAtl.Conditional<Avl.Path>Fitted path or nothing if the fitting failed.
outEdgesAtl.Optional<System.Collections.Generic.List<Atl.Conditional<Avl.Edge1D>>>Found edges.
outDeviationProfileAtl.Optional<Atl.Conditional<Avl.Profile>>Profile of distances between the actual path points and the corresponding reference path points.
outBrightnessProfilesAtl.Optional<System.Collections.Generic.List<Avl.Profile>>Extracted image profiles.
outResponseProfilesAtl.Optional<System.Collections.Generic.List<Avl.Profile>>Profiles of the edge (derivative) operator response.

See also