You are here: Start » FIL.NET » Invoke.CreatePathFittingMap3D

Invoke.CreatePathFittingMap3D

Precomputes a data object that is required for fast path fitting on surfaces.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void CreatePathFittingMap3D
(
	Fil.SurfaceFormat inSurfaceFormat,
	Fil.PathFittingField inFittingField,
	Optional<Fil.CoordinateSystem2D> inFittingFieldAlignment,
	Optional<float> inScanStep,
	Optional<float> inSamplingStep,
	int inScanWidth,
	Fil.InterpolationMethod inSurfaceInterpolation,
	Fil.PathFittingMap outFittingMap,
	Diagnostic<List<Fil.Segment2D>> diagScanSegments,
	Diagnostic<List<Fil.Rectangle2D>> diagSamplingAreas
)

Parameters

Name Type Range Default Description
inSurfaceFormatFil.SurfaceFormatDimensions, depth image pixel type, coordinate offsets and scales of a surface on which path fitting will be performed.
inFittingFieldFil.PathFittingFieldDefines a stripe in which scan segments will be created.
inFittingFieldAlignmentFtl.Optional<Fil.CoordinateSystem2D>Adjusts the fitting field to the position of the inspected object. Default value: ftl::NIL.
inScanStepFtl.Optional<float><0.0f, INF>Optional implicit conversion of the input path to an equidistant one. Default value: ftl::NIL.
inSamplingStepFtl.Optional<float>Desired distance between consecutive sampling points on the scan segments; if Nil, the bigger of surface X and Y scales is chosen. Default value: ftl::NIL.
inScanWidthint<1, INF>5The width of each scan field in pixels of the surface depth image. Default value: 5.
inSurfaceInterpolationFil.InterpolationMethodfil::InterpolationMethod::NearestNeighbourInterpolation method used for extraction of depth image pixel values. Default value: fil::InterpolationMethod::NearestNeighbour.
outFittingMapFil.PathFittingMapOptimized data required for path fitting.
diagScanSegmentsFil.Diagnostic<System.Collections.Generic.List<Fil.Segment2D>>Segments along which the scans will be run.
diagSamplingAreasFil.Diagnostic<System.Collections.Generic.List<Fil.Rectangle2D>>Scan fields created for point detection.

See also