You are here: Start » AVL.NET » Function Reference » Computer Vision » 2D Edge Detection » AVL.DetectEdges

AVL.DetectEdges

Extracts a binary image of pixel-precise continuous edges.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void DetectEdges
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.Region> inRoi,
	AvlNet.EdgeFilter inEdgeFilter,
	float inStdDevX,
	float? inStdDevY,
	float inEdgeThreshold,
	float inEdgeHysteresis,
	float inMaxJoiningDistance,
	int inMinBlobArea,
	AvlNet.Image outEdgesImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageImage from which edges will be extracted.
inRoiAvlNet.NullableRef<AvlNet.Region>Region of the image from which edges will be extracted. Default value: atl::NIL.
inEdgeFilterAvlNet.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.
inStdDevYfloat?<0.0f, INF>Amount of vertical smoothing used by the edge filter (Auto = inStdDevX). Default value: atl::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.
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.
outEdgesImageAvlNet.ImageImage of found edges.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

Function Overrides

See also