You are here: Start » AVL.NET » AVL.FitPathToRidges3D Method

AVL.FitPathToRidges3D Method

Performs a series of 1D ridge detections and creates a path from the detected points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void FitPathToRidges3D(
	AvlNet.Surface inSurface,
	AvlNet.PathFittingMap inFittingMap,
	AvlNet.RidgeScanParams3D inRidgeScanParams,
	AvlNet.Selection inRidgeSelection,
	float inMaxIncompleteness,
	out AvlNet.Point3D[] outPath,
	out System.Nullable<AvlNet.SurfaceRidge1D>[] outRidges,
	out AvlNet.Profile outDeviationProfile
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceSurface to fit the path to.
inFittingMapAvlNet.PathFittingMapInput fitting map.
inRidgeScanParamsAvlNet.RidgeScanParams3DParameters controlling the ridge extraction process.
inRidgeSelectionAvlNet.Selectionavl::SelectionBestSelection mode of ridges. Default value: avl::SelectionBest.
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of ridge points not found. Default value: 0.1f.
outPathAvlNet.Point3DFitted path or nothing if the fitting failed.
outRidgesAvlNet.SurfaceRidge1D?Found ridges
outDeviationProfileAvlNet.ProfileProfile of distances between the actual path points and the corresponding reference path 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 FitPathToRidges3D.

See also