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

AVS.CreateScanMap Method

Precomputes a data object that is required for fast 1D edge detection.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CreateScanMap
(
	AvlNet.ImageFormat inImageFormat,
	AvlNet.Path inScanPath,
	AvlNet.CoordinateSystem2D? inScanPathAlignment,
	int inScanWidth,
	AvlNet.SamplingParams inSamplingParams,
	AvlNet.ScanMap outScanMap,
	AvlNet.Path outAlignedScanPath,
	IList<AvlNet.Path> diagSamplingPoints,
	out float diagSamplingStep
)

Parameters

Name Type Range Default Description
inImageFormatAvlNet.ImageFormatDimensions, depth and pixel type of the image on which edge detection will be performed.
inScanPathAvlNet.PathPath along which the scan is performed.
inScanPathAlignmentAvlNet.CoordinateSystem2D?Adjusts the scan path to the position of the inspected object. Default value: atl::NIL.
inScanWidthint<1, INF>5Width of the scan field in pixels. Default value: 5.
inSamplingParamsAvlNet.SamplingParams.interpolation BilinearParameters controlling the sampling process. Default value: .interpolation Bilinear.
outScanMapAvlNet.ScanMapOptimized data object required for 1D edge detection.
outAlignedScanPathAvlNet.PathTransformed input path.
diagSamplingPointsSystem.Collections.Generic.IList<AvlNet.Path>Array of paths each one containing the sampling points that contributes to a single value of the extracted profile.
diagSamplingStepfloatUsed distance between consecutive sampling points on the scan path.

Function Overrides

See also