You are here: Start » AVL.NET » AVL.FitSegmentToStripe3D
Performs a series of 1D edge detections and finds a segment that best matches the detected points.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void FitSegmentToStripe3D ( AvlNet.Surface inSurface, AvlNet.SegmentFittingMap inFittingMap, AvlNet.StripeScanParams3D inStripeScanParams, AvlNet.Selection inStripeSelection, float inMaxIncompleteness, out AvlNet.Segment3D? outSegment, out AvlNet.Segment3D? outLeftSegment, out AvlNet.Segment3D? outRightSegment, out AvlNet.SurfaceStripe1D?[] outStripes, out AvlNet.Point3D[] outStripePoints, out AvlNet.Profile outDeviationProfile )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurface | AvlNet.Surface | Surface to fit segment to. | ||
![]() | inFittingMap | AvlNet.SegmentFittingMap | Input fitting map. | ||
![]() | inStripeScanParams | AvlNet.StripeScanParams3D | Parameters controlling the stripe extraction process. | ||
![]() | inStripeSelection | AvlNet.Selection | avl::Selection::Best | Selection mode of stripe. Default value: avl::Selection::Best. | |
![]() | inMaxIncompleteness | float | <0.0f, 0.999f> | 0.1f | Maximal fraction of stripe points not found. Default value: 0.1f. |
![]() | outSegment | AvlNet.Segment3D? | Fitted segment or nothing if the fitting fails. | ||
![]() | outLeftSegment | AvlNet.Segment3D? | Fitted left segment. | ||
![]() | outRightSegment | AvlNet.Segment3D? | Fitted right segment. | ||
![]() | outStripes | AvlNet.SurfaceStripe1D?[] | Found stripes | ||
![]() | outStripePoints | AvlNet.Point3D[] | Extracted points of middle segment of a surface stripe | ||
![]() | outDeviationProfile | AvlNet.Profile | Profile of distances between the actual segment points and the corresponding reference segment points |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
See also
- FitSegmentToStripe3D(AvlNet.Surface, AvlNet.SegmentFittingMap, AvlNet.StripeScanParams3D, AvlNet.Selection, float, AvlNet.Segment3D?, AvlNet.Segment3D?, AvlNet.Segment3D?)
- FitSegmentToStripe3D(AvlNet.Surface, AvlNet.SegmentFittingMap, AvlNet.StripeScanParams3D, AvlNet.Selection, float, AvlNet.Segment3D?, AvlNet.Segment3D?, AvlNet.Segment3D?, AvlNet.Profile[], AvlNet.Profile[])
- FitSegmentToStripe3D(AvlNet.Surface, AvlNet.SegmentFittingMap, AvlNet.StripeScanParams3D, AvlNet.Selection, AvlNet.LocalBlindness?, int?, float, AvlNet.MEstimator?, AvlNet.Segment3D?, AvlNet.Segment3D?, AvlNet.Segment3D?)
- FitSegmentToStripe3D(AvlNet.Surface, AvlNet.SegmentFittingMap, AvlNet.StripeScanParams3D, AvlNet.Selection, float, AvlNet.Segment3D?, AvlNet.Segment3D?, AvlNet.Segment3D?, AvlNet.SurfaceStripe1D?[], AvlNet.Point3D[], AvlNet.Profile, AvlNet.Profile[], AvlNet.Profile[])
- FitSegmentToStripe3D(AvlNet.Surface, AvlNet.SegmentFittingMap, AvlNet.StripeScanParams3D, AvlNet.Selection, AvlNet.LocalBlindness?, int?, float, AvlNet.MEstimator?, AvlNet.Segment3D?, AvlNet.Segment3D?, AvlNet.Segment3D?, AvlNet.Profile[], AvlNet.Profile[])
- FitSegmentToStripe3D(AvlNet.Surface, AvlNet.SegmentFittingMap, AvlNet.StripeScanParams3D, AvlNet.Selection, AvlNet.LocalBlindness?, int?, float, AvlNet.MEstimator?, AvlNet.Segment3D?, AvlNet.Segment3D?, AvlNet.Segment3D?, AvlNet.SurfaceStripe1D?[], AvlNet.Point3D[], AvlNet.Profile)
- FitSegmentToStripe3D(AvlNet.Surface, AvlNet.SegmentFittingMap, AvlNet.StripeScanParams3D, AvlNet.Selection, AvlNet.LocalBlindness?, int?, float, AvlNet.MEstimator?, AvlNet.Segment3D?, AvlNet.Segment3D?, AvlNet.Segment3D?, AvlNet.SurfaceStripe1D?[], AvlNet.Point3D[], AvlNet.Profile, AvlNet.Profile[], AvlNet.Profile[])
- Class Reference
- AVL Class