You are here: Start » FIL.NET » FIS.CreateSurfaceScanMap Method

FIS.CreateSurfaceScanMap Method

Precomputes a data object that is required for fast 1D edge detection in 3D.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void CreateSurfaceScanMap
(
	FilNet.SurfaceFormat inSurfaceFormat,
	FilNet.Path inScanPath,
	FilNet.CoordinateSystem2D? inScanPathAlignment,
	float? inSamplingStep,
	int inScanWidth,
	FilNet.InterpolationMethod inSurfaceInterpolation,
	FilNet.ScanMap outScanMap,
	NullableRef<FilNet.Path> outAlignedScanPath,
	IList<FilNet.Path> diagSamplingPoints,
	out float diagSamplingStep
)

Parameters

Name Type Range Default Description
inSurfaceFormatFilNet.SurfaceFormatDimensions, depth image pixel type, coordinate offsets and scales of a surface on which edge detection will be performed.
inScanPathFilNet.PathPath along which the scan is performed.
inScanPathAlignmentFilNet.CoordinateSystem2D?Adjusts the scan path to the position of the inspected object. Default value: ftl::NIL.
inSamplingStepfloat?<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: ftl::NIL.
inScanWidthint<1, INF>5Width of the scan field in pixels of the surface depth image. Default value: 5.
inSurfaceInterpolationFilNet.InterpolationMethodBilinearInterpolation method used for extraction of depth image pixel values. Default value: Bilinear.
outScanMapFilNet.ScanMapOptimized data object required for 1D edge detection in 3D.
outAlignedScanPathFilNet.NullableRef<FilNet.Path>Transformed input path. Can be null to skip this parameter calculation.
diagSamplingPointsSystem.Collections.Generic.IList<FilNet.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.
diagSamplingStepfloatUsed distance between consecutive sampling points on the scan path.

Function Overrides

See also