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

Invoke.DetectEdges_AsPaths

Extracts subpixel-precise paths that represent continuous edges.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void DetectEdges_AsPaths
(
	Fil.Image inImage,
	Optional<Fil.Region> inRoi,
	Fil.EdgeFilter inEdgeFilter,
	float inStdDevX,
	Optional<float> inStdDevY,
	float inEdgeThreshold,
	float inEdgeHysteresis,
	Optional<float> inMaxJoiningDistance,
	float inMaxJoiningAngle,
	float inJoiningDistanceBalance,
	Optional<float> inJoiningEndingLength,
	float inMinEdgeLength,
	List<Fil.Path> outEdges,
	Diagnostic<Fil.Image> diagGradientMagnitudeImage,
	Diagnostic<Fil.Region> diagEdgeRegion
)

Parameters

Name Type Range Default Description
inImageFil.ImageImage from which edges will be extracted.
inRoiFtl.Optional<Fil.Region>Region of the image from which edges will be extracted. Default value: ftl::NIL.
inEdgeFilterFil.EdgeFilterType of edge filter used for computing gradients.
inStdDevXfloat<0.0f, INF>2.0fAmount of horizontal smoothing used by the edge filter. Default value: 2.0f.
inStdDevYFtl.Optional<float><0.0f, INF>Amount of vertical smoothing used by the edge filter (Auto = inStdDevX). Default value: ftl::NIL.
inEdgeThresholdfloat<0.0f, INF>15.0fSufficient edge strength; edges of that strength will always be detected. Default value: 15.0f.
inEdgeHysteresisfloat<0.0f, INF>5.0fValue by which the edge threshold is decreased for edge points neighboring with sufficiently strong edges. Default value: 5.0f.
inMaxJoiningDistanceFtl.Optional<float><0.0f, INF>Maximal distance between edges that can be joined. Default value: ftl::NIL.
inMaxJoiningAnglefloat<0.0f, 180.0f>30.0fMaximal allowed angle between edges being joined. Default value: 30.0f.
inJoiningDistanceBalancefloat<0.0f, 1.0f>0.0fDetermines how important distance between edges is according to their angle difference. Default value: 0.0f.
inJoiningEndingLengthFtl.Optional<float><1.0f, INF>Determines the length of the edge end used for edge angle computing. Default value: ftl::NIL.
inMinEdgeLengthfloat<0.0f, INF>0.0fMinimal length of an edge. Default value: 0.0f.
outEdgesSystem.Collections.Generic.List<Fil.Path>Paths representing found edges.
diagGradientMagnitudeImageFil.Diagnostic<Fil.Image>Visualization of the gradient magnitude.
diagEdgeRegionFil.Diagnostic<Fil.Region>Region representing found edges.

See also