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

AVS.ScanSingleEdge_Direct Method

Locates the strongest transition between dark and bright pixels along a given path (without a scan map).

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ScanSingleEdge_Direct
(
	AvlNet.Image inImage,
	AvlNet.Path inScanPath,
	int inScanWidth,
	AvlNet.SamplingParams inSamplingParams,
	AvlNet.EdgeScanParams inEdgeScanParams,
	AvlNet.Selection inEdgeSelection,
	out AvlNet.Edge1D? outEdge
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inScanPathAvlNet.PathPath along which the scan is performed.
inScanWidthint<1, INF>5Width of the scan field in pixels. Default value: 5.
inSamplingParamsAvlNet.SamplingParamsSamplingParams ( Interpolation: Bilinear SamplingStep: 1.0f SampleCount: Nil )Parameters controlling the sampling process. Default value: SamplingParams ( Interpolation: Bilinear SamplingStep: 1.0f SampleCount: Nil ).
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.SelectionSelection mode of the resulting edge.
outEdgeAvlNet.Edge1D?Found edge.

Function Overrides

See also