You are here: Start » AVL.NET » Invoke.CreateScanMap

Invoke.CreateScanMap

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void CreateScanMap
(
	Avl.ImageFormat inImageFormat,
	Avl.Path inScanPath,
	Optional<Avl.CoordinateSystem2D> inScanPathAlignment,
	int inScanWidth,
	Avl.SamplingParams inSamplingParams,
	Avl.ScanMap outScanMap,
	Optional<Avl.Path> outAlignedScanPath,
	Diagnostic<List<Avl.Path>> diagSamplingPoints,
	Diagnostic<float> diagSamplingStep
)

Parameters

Name Type Range Default Description
inImageFormatAvl.ImageFormatDimensions, depth and pixel type of the image on which edge detection will be performed.
inScanPathAvl.PathPath along which the scan is performed.
inScanPathAlignmentAtl.Optional<Avl.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.
inSamplingParamsAvl.SamplingParams.interpolation BilinearParameters controlling the sampling process. Default value: .interpolation Bilinear.
outScanMapAvl.ScanMapOptimized data object required for 1D edge detection.
outAlignedScanPathAtl.Optional<Avl.Path>Transformed input path.
diagSamplingPointsAvl.Diagnostic<System.Collections.Generic.List<Avl.Path>>Array of paths each one containing the sampling points that contributes to a single value of the extracted profile.
diagSamplingStepAvl.Diagnostic<float>Used distance between consecutive sampling points on the scan path.

See also