You are here: Start » FIL.NET » Invoke.FitSegmentToRidges3D

Invoke.FitSegmentToRidges3D

Performs a series of 1D ridge detections and finds a segment that best matches the detected points.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void FitSegmentToRidges3D
(
	Fil.Surface inSurface,
	Fil.SegmentFittingMap inFittingMap,
	Fil.RidgeScanParams3D inRidgeScanParams,
	Fil.Selection inRidgeSelection,
	Optional<Fil.LocalBlindness> inLocalBlindness,
	Optional<int> inMaxProfileGapWidth,
	float inMaxIncompleteness,
	Optional<Fil.MEstimator> inOutlierSuppression,
	Conditional<Fil.Segment3D> outSegment,
	Optional<List<Conditional<Fil.SurfaceRidge1D>>> outRidges,
	Optional<Conditional<Fil.Profile>> outDeviationProfile,
	Optional<List<Fil.Point3D>> outInliers,
	Optional<List<Fil.Profile>> outHeightProfiles,
	Optional<List<Fil.Profile>> outResponseProfiles
)

Parameters

Name Type Range Default Description
inSurfaceFil.SurfaceSurface to fit the segment to.
inFittingMapFil.SegmentFittingMapInput fitting map.
inRidgeScanParamsFil.RidgeScanParams3DParameters controlling the ridge extraction process.
inRidgeSelectionFil.Selectionfil::SelectionBestSelection mode of ridges. Default value: fil::SelectionBest.
inLocalBlindnessFtl.Optional<Fil.LocalBlindness>Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges. Default value: ftl::NIL.
inMaxProfileGapWidthFtl.Optional<int><0, INF>1Maximal number of consecutive not existing profile points. Default value: 1.
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of ridge points not found. Default value: 0.1f.
inOutlierSuppressionFtl.Optional<Fil.MEstimator>Selects a method for ignoring incorrectly detected points. Default value: ftl::NIL.
outSegmentFtl.Conditional<Fil.Segment3D>Fitted segment or nothing if the fitting fails.
outRidgesFtl.Optional<System.Collections.Generic.List<Ftl.Conditional<Fil.SurfaceRidge1D>>>Found ridges.
outDeviationProfileFtl.Optional<Ftl.Conditional<Fil.Profile>>Profile of distances between the actual segment points and the corresponding reference segment points.
outInliersFtl.Optional<System.Collections.Generic.List<Fil.Point3D>>Points matching the fitting segment.
outHeightProfilesFtl.Optional<System.Collections.Generic.List<Fil.Profile>>Extracted surface height profiles.
outResponseProfilesFtl.Optional<System.Collections.Generic.List<Fil.Profile>>Profiles of the ridge operator response.

See also