You are here: Start » FIL.NET » Function Reference » Computer Vision » Shape Fitting 3D » FIL.CreateCircleFittingMap3D

FIL.CreateCircleFittingMap3D

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

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void CreateCircleFittingMap3D
(
	FilNet.SurfaceFormat inSurfaceFormat,
	FilNet.CircleFittingField inFittingField,
	FilNet.CoordinateSystem2D? inFittingFieldAlignment,
	int inScanCount,
	float? inSamplingStep,
	int inScanWidth,
	FilNet.InterpolationMethod inSurfaceInterpolation,
	FilNet.CircleFittingMap outFittingMap
)

Parameters

Name Type Range Default Description
inSurfaceFormatFilNet.SurfaceFormatDimensions, depth image pixel type, coordinate offsets and scales of a surface on which circle fitting will be performed.
inFittingFieldFilNet.CircleFittingFieldDefines a ring in which scan segments will be created.
inFittingFieldAlignmentFilNet.CoordinateSystem2D?Adjusts the fitting field to the position of the inspected object. Default value: ftl::NIL.
inScanCountint<3, INF>10The number of points that will be searched to estimate the position of the circle. Default value: 10.
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.CircleFittingMapOptimized data required for circle fitting.

Function Overrides

See also