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

AVS.AvsFilter_FitPathToEdges3D Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void AvsFilter_FitPathToEdges3D
(
	AvlNet.PathFitting3DState ioState,
	AvlNet.Surface inSurface,
	AvlNet.PathFittingField inFittingField,
	int inScanWidth,
	AvlNet.InterpolationMethod inSurfaceInterpolation,
	AvlNet.EdgeScanParams3D inEdgeScanParams,
	AvlNet.Selection inEdgeSelection,
	float inMaxIncompleteness,
	INullable<List<AvlNet.Point3D>> outPath,
	NullableRef<List<AvlNet.SurfaceEdge1D?>> outEdges,
	NullableRef<NullableRef<AvlNet.Profile>> outDeviationProfile,
	NullableRef<AvlNet.PathFittingField> outAlignedFittingField
)

Parameters

Name Type Range Default Description
ioStateAvlNet.PathFitting3DState
inSurfaceAvlNet.SurfaceSurface to fit 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.
inEdgeScanParamsAvlNet.EdgeScanParams3DEdgeScanParams3D ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 1.0f MinMagnitude: 5.0f EdgeTransition: LowToHigh )Parameters controlling the edge extraction process. Default value: EdgeScanParams3D ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 1.0f MinMagnitude: 5.0f EdgeTransition: LowToHigh ).
inEdgeSelectionAvlNet.SelectionSelection mode of edges.
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of edge 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.
outEdgesAvlNet.NullableRef<System.Collections.Generic.List<AvlNet.SurfaceEdge1D?>>Found edges. 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.

Function Overrides

See also