You are here: Start » AVL.NET » AVS.ScanExactlyNEdges Method

AVS.ScanExactlyNEdges Method

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,
	INullable<List<AvlNet.Edge1D>> outEdges,
	INullable<List<AvlNet.Gap1D>> outGaps
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inScanMapAvlNet.ScanMapData precomputed with CreateScanMap.
inEdgeScanParamsAvlNet.EdgeScanParamsEdgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f MinMagnitude: 5.0f EdgeTransition: BrightToDark )Parameters controlling the edge extraction process. Default value: EdgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f MinMagnitude: 5.0f EdgeTransition: BrightToDark ).
inEdgeCountint<0, INF>1Number of edges to be found. Default value: 1.
inEdgeSelectionAvlNet.Selectionavl::Selection::BestSelection mode of the resulting edges. Default value: avl::Selection::Best.
inMinDistancefloat<0.0f, INF>0.0fMinimal distance between consecutive edges. Default value: 0.0f.
inMaxDistancefloat?<0.0f, INF>Maximal distance between consecutive edges. Default value: atl::NIL.
inLocalBlindnessAvlNet.LocalBlindness?Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL.
outEdgesAvlNet.INullable<System.Collections.Generic.List<AvlNet.Edge1D>>Found edges. This parameter cannot be null.
outGapsAvlNet.INullable<System.Collections.Generic.List<AvlNet.Gap1D>>Gaps between consecutive edges. This parameter cannot be null.

Function Overrides

See also