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

Invoke.DetectEdges_AsRegion_Mask

Extracts a pixel-precise region of continuous edges. Faster, yet less accurate version.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void DetectEdges_AsRegion_Mask
(
	Fil.Image inImage,
	Optional<Fil.Region> inRoi,
	Fil.EdgeMaskFilter inEdgeMaskFilter,
	float inEdgeThreshold,
	float inEdgeHysteresis,
	float inMaxJoiningDistance,
	int inMinBlobArea,
	Fil.Region outEdgeRegion,
	Diagnostic<Fil.Image> diagGradientMagnitudeImage
)

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.
inEdgeMaskFilterFil.EdgeMaskFilterType of edge filter used for computing gradients.
inEdgeThresholdfloat<0.0f, INF>35.0fSufficient edge strength; edges of that strength will always be detected. Default value: 35.0f.
inEdgeHysteresisfloat<0.0f, INF>15.0fValue by which the edge threshold is decreased for edge points neighboring with sufficiently strong edges. Default value: 15.0f.
inMaxJoiningDistancefloat<0.0f, INF>0.0fMaximal distance between edges that can be joined. Default value: 0.0f.
inMinBlobAreaint<0, INF>1Minimal area of an edge blob. Default value: 1.
outEdgeRegionFil.RegionRegion of the found edges.
diagGradientMagnitudeImageFil.Diagnostic<Fil.Image>Visualization of the gradient magnitude.

See also