You are here: Start » AVL.NET » AVL.FitSegmentToRidges3D Method
AVL.FitSegmentToRidges3D Method
Performs a series of 1D ridge detections and finds a segment that best matches the detected points.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void FitSegmentToRidges3D( AvlNet.Surface inSurface, AvlNet.SegmentFittingMap inFittingMap, AvlNet.RidgeScanParams3D inRidgeScanParams, AvlNet.Selection inRidgeSelection, float inMaxIncompleteness, out AvlNet.Segment3D? outSegment, out System.Nullable<AvlNet.SurfaceRidge1D>[] outRidges, out AvlNet.Profile outDeviationProfile )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inSurface | AvlNet.Surface | Surface to fit the segment to. | ||
![]() | inFittingMap | AvlNet.SegmentFittingMap | Input fitting map. | ||
![]() | inRidgeScanParams | AvlNet.RidgeScanParams3D | Parameters controlling the ridge extraction process. | ||
![]() | inRidgeSelection | AvlNet.Selection | avl::SelectionBest | Selection mode of ridges. Default value: avl::SelectionBest. | |
![]() | inMaxIncompleteness | float | <0.0f, 0.999f> | 0.1f | Maximal fraction of ridge points not found. Default value: 0.1f. |
![]() | outSegment | AvlNet.Segment3D? | Fitted segment or nothing if the fitting fails. | ||
![]() | outRidges | AvlNet.SurfaceRidge1D? | Found ridges | ||
![]() | 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.
Errors
| Error type | Description |
|---|---|
| DomainError | Ridge operator parameters are too low in surface ridges detector in FitSegmentToRidges3D. |
See also
- FitSegmentToRidges3D(AvlNet.Surface, AvlNet.SegmentFittingMap, AvlNet.RidgeScanParams3D, AvlNet.Selection, float, AvlNet.Segment3D?)
- FitSegmentToRidges3D(AvlNet.Surface, AvlNet.SegmentFittingMap, AvlNet.RidgeScanParams3D, AvlNet.Selection, float, AvlNet.Segment3D?, AvlNet.Profile[], AvlNet.Profile[])
- FitSegmentToRidges3D(AvlNet.Surface, AvlNet.SegmentFittingMap, AvlNet.RidgeScanParams3D, AvlNet.Selection, AvlNet.LocalBlindness?, int?, float, AvlNet.MEstimator?, AvlNet.Segment3D?)
- FitSegmentToRidges3D(AvlNet.Surface, AvlNet.SegmentFittingMap, AvlNet.RidgeScanParams3D, AvlNet.Selection, float, AvlNet.Segment3D?, System.Nullable<AvlNet.SurfaceRidge1D>[], AvlNet.Profile, AvlNet.Profile[], AvlNet.Profile[])
- FitSegmentToRidges3D(AvlNet.Surface, AvlNet.SegmentFittingMap, AvlNet.RidgeScanParams3D, AvlNet.Selection, AvlNet.LocalBlindness?, int?, float, AvlNet.MEstimator?, AvlNet.Segment3D?, System.Nullable<AvlNet.SurfaceRidge1D>[], AvlNet.Profile)
- FitSegmentToRidges3D(AvlNet.Surface, AvlNet.SegmentFittingMap, AvlNet.RidgeScanParams3D, AvlNet.Selection, AvlNet.LocalBlindness?, int?, float, AvlNet.MEstimator?, AvlNet.Segment3D?, AvlNet.Profile[], AvlNet.Profile[])
- FitSegmentToRidges3D(AvlNet.Surface, AvlNet.SegmentFittingMap, AvlNet.RidgeScanParams3D, AvlNet.Selection, AvlNet.LocalBlindness?, int?, float, AvlNet.MEstimator?, AvlNet.Segment3D?, System.Nullable<AvlNet.SurfaceRidge1D>[], AvlNet.Profile, AvlNet.Profile[], AvlNet.Profile[])
- Class Reference
- AVL Class


