You are here: Start » AVL.NET » Invoke.CreateSurfaceScanMap
Invoke.CreateSurfaceScanMap
Precomputes a data object that is required for fast 1D edge detection in 3D.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void CreateSurfaceScanMap ( Avl.SurfaceFormat inSurfaceFormat, Avl.Path inScanPath, Optional<Avl.CoordinateSystem2D> inScanPathAlignment, Optional<float> inSamplingStep, int inScanWidth, Avl.InterpolationMethod inSurfaceInterpolation, Avl.ScanMap outScanMap, Optional<Avl.Path> outAlignedScanPath, Diagnostic<List<Avl.Path>> diagSamplingPoints, Diagnostic<float> diagSamplingStep )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inSurfaceFormat | Avl.SurfaceFormat | Dimensions, depth image pixel type, coordinate offsets and scales of a surface 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. | ||
![]()  | inSamplingStep | Atl.Optional<float> | <0.0f, INF> | Desired distance between consecutive sampling points on the scan path; if Nil, the bigger of surface X and Y scales is chosen. Default value: atl::NIL. | |
![]()  | inScanWidth | int | <1, INF> | 5 | Width of the scan field in pixels of the surface depth image. Default value: 5. | 
![]()  | inSurfaceInterpolation | Avl.InterpolationMethod | Bilinear | Interpolation method used for extraction of depth image pixel values. Default value: Bilinear. | |
![]()  | outScanMap | Avl.ScanMap | Optimized data object required for 1D edge detection in 3D. | ||
![]()  | 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 contributed to a single value of the extracted profile; in the image coordinate system. | ||
![]()  | diagSamplingStep | Avl.Diagnostic<float> | Used distance between consecutive sampling points on the scan path. | 



