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

Invoke.FitSegmentToRidges

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 FitSegmentToRidges
(
	Fil.Image inImage,
	Fil.SegmentFittingMap inFittingMap,
	Fil.RidgeScanParams inRidgeScanParams,
	Fil.Selection inRidgeSelection,
	Optional<Fil.LocalBlindness> inLocalBlindness,
	float inMaxIncompleteness,
	Optional<Fil.LineMEstimator> inOutlierSuppression,
	Conditional<Fil.Segment2D> outSegment,
	Optional<List<Conditional<Fil.Ridge1D>>> outRidges,
	Optional<Conditional<Fil.Profile>> outDeviationProfile,
	Optional<List<Fil.Point2D>> outInliers,
	Optional<List<Fil.Profile>> outBrightnessProfiles,
	Optional<List<Fil.Profile>> outResponseProfiles
)

Parameters

Name Type Range Default Description
inImageFil.ImageImage to fit segment to.
inFittingMapFil.SegmentFittingMapInput fitting map.
inRidgeScanParamsFil.RidgeScanParamsParameters controlling the ridge extraction process.
inRidgeSelectionFil.Selectionfil::Selection::BestSelection mode of ridges. Default value: fil::Selection::Best.
inLocalBlindnessFtl.Optional<Fil.LocalBlindness>Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges. Default value: ftl::NIL.
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of ridge points not found. Default value: 0.1f.
inOutlierSuppressionFtl.Optional<Fil.LineMEstimator>Selects a method for ignoring incorrectly detected points. Default value: ftl::NIL.
outSegmentFtl.Conditional<Fil.Segment2D>Fitted segment or nothing if the fitting fails.
outRidgesFtl.Optional<System.Collections.Generic.List<Ftl.Conditional<Fil.Ridge1D>>>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.Point2D>>Points matching the fitting segment.
outBrightnessProfilesFtl.Optional<System.Collections.Generic.List<Fil.Profile>>Extracted image profiles.
outResponseProfilesFtl.Optional<System.Collections.Generic.List<Fil.Profile>>Profiles of the ridge operator response.

See also