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

FIS.CreatePathFittingMap3D Method

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

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void CreatePathFittingMap3D
(
	FilNet.SurfaceFormat inSurfaceFormat,
	FilNet.PathFittingField inFittingField,
	FilNet.CoordinateSystem2D? inFittingFieldAlignment,
	float? inScanStep,
	float? inSamplingStep,
	int inScanWidth,
	FilNet.InterpolationMethod inSurfaceInterpolation,
	FilNet.PathFittingMap outFittingMap,
	IList<FilNet.Segment2D> diagScanSegments,
	IList<FilNet.Rectangle2D> diagSamplingAreas
)

Parameters

Name Type Range Default Description
inSurfaceFormatFilNet.SurfaceFormatDimensions, depth image pixel type, coordinate offsets and scales of a surface on which path fitting will be performed.
inFittingFieldFilNet.PathFittingFieldDefines a stripe in which scan segments will be created.
inFittingFieldAlignmentFilNet.CoordinateSystem2D?Adjusts the fitting field to the position of the inspected object. Default value: ftl::NIL.
inScanStepfloat?<0.0f, INF>Optional implicit conversion of the input path to an equidistant one. Default value: ftl::NIL.
inSamplingStepfloat?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.
inSurfaceInterpolationFilNet.InterpolationMethodfil::InterpolationMethod::NearestNeighbourInterpolation method used for extraction of depth image pixel values. Default value: fil::InterpolationMethod::NearestNeighbour.
outFittingMapFilNet.PathFittingMapOptimized data required for path fitting.
diagScanSegmentsSystem.Collections.Generic.IList<FilNet.Segment2D>Segments along which the scans will be run.
diagSamplingAreasSystem.Collections.Generic.IList<FilNet.Rectangle2D>Scan fields created for point detection.

Function Overrides

See also