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 | |
---|---|---|---|---|---|
![]() | inImageFormat | Avl.ImageFormat | Dimensions, depth and pixel type of the image on which edge detection will be performed. | ||
![]() | inScanPath | Avl.Path | Path along which the scan is performed. | ||
![]() | inScanPathAlignment | Atl.Optional<Avl.CoordinateSystem2D> | Adjusts the scan path to the position of the inspected object. Default value: atl::NIL. | ||
![]() | inScanWidth | int | <1, INF> | 5 | Width of the scan field in pixels. Default value: 5. |
![]() | inSamplingParams | Avl.SamplingParams | .interpolation Bilinear | Parameters controlling the sampling process. Default value: .interpolation Bilinear. | |
![]() | outScanMap | Avl.ScanMap | Optimized data object required for 1D edge detection. | ||
![]() | outAlignedScanPath | Atl.Optional<Avl.Path> | Transformed input path. | ||
![]() | diagSamplingPoints | Avl.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. | ||
![]() | diagSamplingStep | Avl.Diagnostic<float> | Used distance between consecutive sampling points on the scan path. |