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

AVS.ScanSingleEdge Method

Locates the strongest transition between dark and bright pixels along a given path.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ScanSingleEdge
(
	AvlNet.Image inImage,
	AvlNet.ScanMap inScanMap,
	AvlNet.EdgeScanParams inEdgeScanParams,
	AvlNet.Selection inEdgeSelection,
	out AvlNet.Edge1D? outEdge
)

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 ).
inEdgeSelectionAvlNet.Selectionavl::Selection::BestSelection mode of the resulting edge. Default value: avl::Selection::Best.
outEdgeAvlNet.Edge1D?Found edge.

Function Overrides

See also