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

AVS.AvsFilter_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 AvsFilter_ScanSingleEdge
(
	AvlNet.ScanMapState ioState,
	AvlNet.Image inImage,
	AvlNet.Path inScanPath,
	int inScanWidth,
	AvlNet.InterpolationMethod inImageInterpolation,
	AvlNet.EdgeScanParams inEdgeScanParams,
	AvlNet.Selection inEdgeSelection,
	out AvlNet.Edge1D? outEdge,
	NullableRef<AvlNet.Path> outAlignedScanPath
)

Parameters

Name Type Range Default Description
ioStateAvlNet.ScanMapState
inImageAvlNet.ImageInput image.
inScanPathAvlNet.PathPath along which the scan is performed.
inScanWidthint<1, INF>5Width of the scan field in pixels. Default value: 5.
inImageInterpolationAvlNet.InterpolationMethodBilinearInterpolation method used for extraction of image pixels. Default value: Bilinear.
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.SelectionIf many edge points are possible, defines which one is selected.
outEdgeAvlNet.Edge1D?Found edge.
outAlignedScanPathAvlNet.NullableRef<AvlNet.Path>Path along which the scan is performed; in the image coordinate system. Can be null to skip this parameter calculation.

Function Overrides

See also