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

Invoke.DetectEdges_AsRegion_Mask

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

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

Parameters

Name Type Range Default Description
inImageAvl.ImageImage from which edges will be extracted.
inRoiAtl.Optional<Avl.Region>Region of the image from which edges will be extracted. Default value: atl::NIL.
inEdgeMaskFilterAvl.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.
outEdgeRegionAvl.RegionRegion of the found edges.
diagGradientMagnitudeImageAvl.Diagnostic<Avl.Image>Visualization of the gradient magnitude.

See also