You are here: Start » AVL.NET » AVS.AvsFilter_FitPathToRidges3D Method

AVS.AvsFilter_FitPathToRidges3D Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void AvsFilter_FitPathToRidges3D
(
	AvlNet.PathFitting3DState ioState,
	AvlNet.Surface inSurface,
	AvlNet.PathFittingField inFittingField,
	int inScanWidth,
	AvlNet.InterpolationMethod inSurfaceInterpolation,
	AvlNet.RidgeScanParams3D inRidgeScanParams,
	AvlNet.Selection inRidgeSelection,
	float inMaxIncompleteness,
	INullable<List<AvlNet.Point3D>> outPath,
	NullableRef<List<AvlNet.SurfaceRidge1D?>> outRidges,
	NullableRef<NullableRef<AvlNet.Profile>> outDeviationProfile,
	NullableRef<AvlNet.PathFittingField> outAlignedFittingField,
	IList<AvlNet.Segment2D> diagScanSegments,
	IList<AvlNet.Rectangle2D> diagSamplingAreas,
	IList<AvlNet.Profile> diagHeightProfiles,
	IList<AvlNet.Profile> diagResponseProfiles
)

Parameters

Name Type Range Default Description
ioStateAvlNet.PathFitting3DState
inSurfaceAvlNet.SurfaceSurface to fit the path to.
inFittingFieldAvlNet.PathFittingFieldPath fitting field.
inScanWidthint<1, INF>5The width of each scan field (in pixels). Default value: 5.
inSurfaceInterpolationAvlNet.InterpolationMethodBilinearInterpolation method used for extraction of surface points. Default value: Bilinear.
inRidgeScanParamsAvlNet.RidgeScanParams3DRidgeScanParams3D ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f RidgeWidth: 5.0f RidgeMargin: 2.0f RidgeOperator: Minimum MinMagnitude: 5.0f RidgePolarity: Low )Parameters controlling the ridge extraction process. Default value: RidgeScanParams3D ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f RidgeWidth: 5.0f RidgeMargin: 2.0f RidgeOperator: Minimum MinMagnitude: 5.0f RidgePolarity: Low ).
inRidgeSelectionAvlNet.SelectionSelection mode of ridges.
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of ridge points not found. Default value: 0.1f.
outPathAvlNet.INullable<System.Collections.Generic.List<AvlNet.Point3D>>Fitted path or nothing if the fitting failed. This parameter cannot be null.
outRidgesAvlNet.NullableRef<System.Collections.Generic.List<AvlNet.SurfaceRidge1D?>>Found ridges. Can be null to skip this parameter calculation.
outDeviationProfileAvlNet.NullableRef<AvlNet.NullableRef<AvlNet.Profile>>Profile of distances between the actual path points and the corresponding reference path points. Can be null to skip this parameter calculation.
outAlignedFittingFieldAvlNet.NullableRef<AvlNet.PathFittingField>Fitting field used; in the image coordinate system. Can be null to skip this parameter calculation.
diagScanSegmentsSystem.Collections.Generic.IList<AvlNet.Segment2D>Segments along which the scans were run.
diagSamplingAreasSystem.Collections.Generic.IList<AvlNet.Rectangle2D>Areas from which the input image is sampled.
diagHeightProfilesSystem.Collections.Generic.IList<AvlNet.Profile>Extracted surface height profiles.
diagResponseProfilesSystem.Collections.Generic.IList<AvlNet.Profile>Profiles of the ridge operator response.

Function Overrides

See also