You are here: Start » AVL.NET » AVL.ScanExactlyNEdges(AvlNet.Image, AvlNet.ScanMap, AvlNet.EdgeScanParams, int, AvlNet.Selection, float, float?, AvlNet.LocalBlindness, AvlNet.Edge1D[], AvlNet.Gap1D[])

AVL.ScanExactlyNEdges(AvlNet.Image, AvlNet.ScanMap, AvlNet.EdgeScanParams, int, AvlNet.Selection, float, float?, AvlNet.LocalBlindness, AvlNet.Edge1D[], AvlNet.Gap1D[])

Locates a specified number of the strongest transitions between dark and bright pixels along a given path.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void ScanExactlyNEdges(
	AvlNet.Image inImage,
	AvlNet.ScanMap inScanMap,
	AvlNet.EdgeScanParams inEdgeScanParams,
	int inEdgeCount,
	AvlNet.Selection inEdgeSelection,
	float inMinDistance,
	float? inMaxDistance,
	AvlNet.LocalBlindness inLocalBlindness,
	out AvlNet.Edge1D[] outEdges,
	out AvlNet.Gap1D[] outGaps
)

Parameters

inImage
Type: AvlNet.Image
Input image
inScanMap
Type: AvlNet.ScanMap
Data precomputed with CreateScanMap
inEdgeScanParams
Type: AvlNet.EdgeScanParams
Parameters controlling the edge extraction process
inEdgeCount
Type: System.Int32
Number of edges to be found
inEdgeSelection
Type: AvlNet.Selection
Selection mode of the resulting edges
inMinDistance
Type: System.Single
Minimal distance between consecutive edges
inMaxDistance
Type: System.Nullable<System.Single>
Maximal distance between consecutive edges, or null.
inLocalBlindness
Type: AvlNet.LocalBlindness
Defines conditions in which weaker edges can be detected in the vicinity of stronger edges, or null.
outEdges
Type: AvlNet.Edge1D
Found edges
outGaps
Type: AvlNet.Gap1D
Gaps between consecutive edges

See also