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

Invoke.FitPathToStripe_Direct

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void FitPathToStripe_Direct
(
	Avl.Image inImage,
	Avl.PathFittingField inFittingField,
	Optional<Avl.CoordinateSystem2D> inFittingFieldAlignment,
	Optional<float> inScanStep,
	int inScanWidth,
	Avl.SamplingParams inSamplingParams,
	Avl.StripeScanParams inStripeScanParams,
	Avl.Selection inStripeSelection,
	Optional<Avl.LocalBlindness> inLocalBlindness,
	Optional<int> inMaxInterpolationLength,
	Optional<float> inMaxDeviationDelta,
	float inMaxIncompleteness,
	Conditional<Avl.Path> outPath,
	Conditional<Avl.Path> outLeftPath,
	Conditional<Avl.Path> outRightPath,
	List<Conditional<Avl.Stripe1D>> outStripes,
	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.
inStripeScanParamsAvl.StripeScanParamsStripeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f MinMagnitude: 5.0f MaxInnerEdgeMagnitude: Nil StripePolarity: Dark MinStripeWidth: 0.0f MaxStripeWidth: Nil )Parameters controlling the stripe extraction process. Default value: StripeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f MinMagnitude: 5.0f MaxInnerEdgeMagnitude: Nil StripePolarity: Dark MinStripeWidth: 0.0f MaxStripeWidth: Nil ).
inStripeSelectionAvl.SelectionSelection mode of stripe.
inLocalBlindnessAtl.Optional<Avl.LocalBlindness>Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. 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 stripe points not found. Default value: 0.1f.
outPathAtl.Conditional<Avl.Path>Fitted path in the middle of found stripe.
outLeftPathAtl.Conditional<Avl.Path>Fitted left path.
outRightPathAtl.Conditional<Avl.Path>Fitted right path.
outStripesSystem.Collections.Generic.List<Atl.Conditional<Avl.Stripe1D>>Found stripes.
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 edge (derivative) 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