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
inImageFormatFil.ImageFormatDimensions, depth and pixel type of the image on which edge detection will be performed.
inScanPathFil.PathPath along which the scan is performed.
inScanPathAlignmentFtl.Optional<Fil.CoordinateSystem2D>Adjusts the scan path to the position of the inspected object. Default value: ftl::NIL.
inScanWidthint<1, INF>5Width of the scan field in pixels. Default value: 5.
inSamplingParamsFil.SamplingParams.interpolation BilinearParameters controlling the sampling process. Default value: .interpolation Bilinear.
outScanMapFil.ScanMapOptimized data object required for 1D edge detection.
outAlignedScanPathFtl.Optional<Fil.Path>Transformed input path.
diagSamplingPointsFil.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.
diagSamplingStepFil.Diagnostic<float>Used distance between consecutive sampling points on the scan path.

See also