You are here: Start » AVL.NET » Invoke.FitPathToRidges_Direct

Invoke.FitPathToRidges_Direct

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void FitPathToRidges_Direct
(
	Avl.Image inImage,
	Avl.PathFittingField inFittingField,
	Optional<Avl.CoordinateSystem2D> inFittingFieldAlignment,
	Optional<float> inScanStep,
	int inScanWidth,
	Avl.SamplingParams inSamplingParams,
	Avl.RidgeScanParams inRidgeScanParams,
	Avl.Selection inRidgeSelection,
	Optional<Avl.LocalBlindness> inLocalBlindness,
	Optional<int> inMaxInterpolationLength,
	Optional<float> inMaxDeviationDelta,
	float inMaxIncompleteness,
	Conditional<Avl.Path> outPath,
	Optional<List<Conditional<Avl.Ridge1D>>> outRidges,
	Optional<Conditional<Avl.Profile>> outDeviationProfile,
	Optional<Avl.PathFittingField> outAlignedFittingField,
	Optional<List<Avl.Profile>> outBrightnessProfiles,
	Optional<List<Avl.Profile>> outResponseProfiles,
	Diagnostic<List<Avl.Segment2D>> diagScanSegments,
	Diagnostic<List<Avl.Rectangle2D>> diagSamplingAreas
)

Parameters

Name Type Range Default Description
inImageAvl.ImageImage to fit the path to.
inFittingFieldAvl.PathFittingFieldPath fitting field.
inFittingFieldAlignmentAtl.Optional<Avl.CoordinateSystem2D>Adjusts the fitting field to the position of the inspected object. Default value: atl::NIL.
inScanStepAtl.Optional<float><0.0f, INF>5.0fOptional implicit conversion of the input path to an equidistant one. Default value: 5.0f.
inScanWidthint<1, INF>5The width of each scan field (in pixels). Default value: 5.
inSamplingParamsAvl.SamplingParamsParameters controlling the sampling process.
inRidgeScanParamsAvl.RidgeScanParamsRidgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f RidgeWidth: 5 RidgeMargin: 2 MinMagnitude: 5.0f RidgePolarity: Dark )Parameters controlling the ridge extraction process. Default value: RidgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f RidgeWidth: 5 RidgeMargin: 2 MinMagnitude: 5.0f RidgePolarity: Dark ).
inRidgeSelectionAvl.SelectionSelection mode of ridges.
inLocalBlindnessAtl.Optional<Avl.LocalBlindness>Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges. Default value: atl::NIL.
inMaxInterpolationLengthAtl.Optional<int><0, INF>1Maximal number of consecutive points not found. Default value: 1.
inMaxDeviationDeltaAtl.Optional<float><0.0f, INF>Maximal difference between deviations of consecutive path points. Default value: atl::NIL.
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of ridge points not found. Default value: 0.1f.
outPathAtl.Conditional<Avl.Path>Fitted path or nothing if the fitting failed.
outRidgesAtl.Optional<System.Collections.Generic.List<Atl.Conditional<Avl.Ridge1D>>>Found ridges.
outDeviationProfileAtl.Optional<Atl.Conditional<Avl.Profile>>Profile of distances between the actual path points and the corresponding reference path points.
outAlignedFittingFieldAtl.Optional<Avl.PathFittingField>Fitting field used; in the image coordinate system.
outBrightnessProfilesAtl.Optional<System.Collections.Generic.List<Avl.Profile>>Extracted image profiles.
outResponseProfilesAtl.Optional<System.Collections.Generic.List<Avl.Profile>>Profiles of the ridge operator response.
diagScanSegmentsAvl.Diagnostic<System.Collections.Generic.List<Avl.Segment2D>>Segments along which the scans were run.
diagSamplingAreasAvl.Diagnostic<System.Collections.Generic.List<Avl.Rectangle2D>>Areas from which the input image is sampled.

See also