You are here: Start » FIL.NET » Invoke.CreateScanMap
Invoke.CreateScanMap
Precomputes a data object that is required for fast 1D edge detection.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void CreateScanMap ( Fil.ImageFormat inImageFormat, Fil.Path inScanPath, Optional<Fil.CoordinateSystem2D> inScanPathAlignment, int inScanWidth, Fil.SamplingParams inSamplingParams, Fil.ScanMap outScanMap, Optional<Fil.Path> outAlignedScanPath, Diagnostic<List<Fil.Path>> diagSamplingPoints, Diagnostic<float> diagSamplingStep )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImageFormat | Fil.ImageFormat | Dimensions, depth and pixel type of the image on which edge detection will be performed. | ||
![]() | inScanPath | Fil.Path | Path along which the scan is performed. | ||
![]() | inScanPathAlignment | Ftl.Optional<Fil.CoordinateSystem2D> | Adjusts the scan path to the position of the inspected object. Default value: ftl::NIL. | ||
![]() | inScanWidth | int | <1, INF> | 5 | Width of the scan field in pixels. Default value: 5. |
![]() | inSamplingParams | Fil.SamplingParams | .interpolation Bilinear | Parameters controlling the sampling process. Default value: .interpolation Bilinear. | |
![]() | outScanMap | Fil.ScanMap | Optimized data object required for 1D edge detection. | ||
![]() | outAlignedScanPath | Ftl.Optional<Fil.Path> | Transformed input path. | ||
![]() | diagSamplingPoints | Fil.Diagnostic<System.Collections.Generic.List<Fil.Path>> | Array of paths each one containing the sampling points that contributes to a single value of the extracted profile. | ||
![]() | diagSamplingStep | Fil.Diagnostic<float> | Used distance between consecutive sampling points on the scan path. |