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

Invoke.FitPathToEdges

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

Namespace:Fil
Assembly:FilNet.dll

Syntax

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

Parameters

Name Type Range Default Description
inImageFil.ImageImage to fit the path to.
inFittingMapFil.PathFittingMapInput fitting map.
inEdgeScanParamsFil.EdgeScanParamsParameters controlling the edge extraction process.
inEdgeSelectionFil.Selectionfil::Selection::BestSelection mode of edges. Default value: fil::Selection::Best.
inLocalBlindnessFtl.Optional<Fil.LocalBlindness>Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: ftl::NIL.
inMaxInterpolationLengthFtl.Optional<int><0, INF>Maximal number of consecutive points not found. Default value: ftl::NIL.
inMaxDeviationDeltaFtl.Optional<float><0.0f, INF>Maximal difference between deviations of consecutive path points. Default value: ftl::NIL.
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of edge points not found. Default value: 0.1f.
outPathFtl.Conditional<Fil.Path>Fitted path or nothing if the fitting failed.
outEdgesFtl.Optional<System.Collections.Generic.List<Ftl.Conditional<Fil.Edge1D>>>Found edges.
outDeviationProfileFtl.Optional<Ftl.Conditional<Fil.Profile>>Profile of distances between the actual path points and the corresponding reference path points.
outBrightnessProfilesFtl.Optional<System.Collections.Generic.List<Fil.Profile>>Extracted image profiles.
outResponseProfilesFtl.Optional<System.Collections.Generic.List<Fil.Profile>>Profiles of the edge (derivative) operator response.

See also