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
inSurfaceFormatAvl.SurfaceFormatDimensions, depth image pixel type, coordinate offsets and scales of a surface 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.
inSamplingStepAtl.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.
inScanWidthint<1, INF>5Width of the scan field in pixels of the surface depth image. Default value: 5.
inSurfaceInterpolationAvl.InterpolationMethodBilinearInterpolation method used for extraction of depth image pixel values. Default value: Bilinear.
outScanMapAvl.ScanMapOptimized data object required for 1D edge detection in 3D.
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 contributed to a single value of the extracted profile; in the image coordinate system.
diagSamplingStepAvl.Diagnostic<float>Used distance between consecutive sampling points on the scan path.

See also