You are here: Start » FIL.NET » Invoke.CreateCircleFittingMap3D
Invoke.CreateCircleFittingMap3D
Precomputes a data object that is required for fast circle fitting on surfaces.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void CreateCircleFittingMap3D ( Fil.SurfaceFormat inSurfaceFormat, Fil.CircleFittingField inFittingField, Optional<Fil.CoordinateSystem2D> inFittingFieldAlignment, int inScanCount, Optional<float> inSamplingStep, int inScanWidth, Fil.InterpolationMethod inSurfaceInterpolation, Fil.CircleFittingMap outFittingMap, Diagnostic<List<Fil.Segment2D>> diagScanSegments, Diagnostic<List<Fil.Rectangle2D>> diagSamplingAreas )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurfaceFormat | Fil.SurfaceFormat | Dimensions, depth image pixel type, coordinate offsets and scales of a surface on which circle fitting will be performed. | ||
![]() | inFittingField | Fil.CircleFittingField | Defines a ring in which scan segments will be created. | ||
![]() | inFittingFieldAlignment | Ftl.Optional<Fil.CoordinateSystem2D> | Adjusts the fitting field to the position of the inspected object. Default value: ftl::NIL. | ||
![]() | inScanCount | int | <3, INF> | 10 | The number of points that will be searched to estimate the position of the circle. Default value: 10. |
![]() | inSamplingStep | Ftl.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. | ||
![]() | inScanWidth | int | <1, INF> | 5 | The width of each scan field in pixels of the surface depth image. Default value: 5. |
![]() | inSurfaceInterpolation | Fil.InterpolationMethod | fil::InterpolationMethod::NearestNeighbour | Interpolation method used for extraction of depth image pixel values. Default value: fil::InterpolationMethod::NearestNeighbour. | |
![]() | outFittingMap | Fil.CircleFittingMap | Optimized data required for circle fitting. | ||
![]() | diagScanSegments | Fil.Diagnostic<System.Collections.Generic.List<Fil.Segment2D>> | Segments along which the scans will be run. | ||
![]() | diagSamplingAreas | Fil.Diagnostic<System.Collections.Generic.List<Fil.Rectangle2D>> | Scan fields created for point detection. |