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

Invoke.FitSegmentToStripe3D

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void FitSegmentToStripe3D
(
	Avl.Surface inSurface,
	Avl.SegmentFittingMap inFittingMap,
	Avl.StripeScanParams3D inStripeScanParams,
	Avl.Selection inStripeSelection,
	Optional<Avl.LocalBlindness> inLocalBlindness,
	Optional<int> inMaxProfileGapWidth,
	float inMaxIncompleteness,
	Optional<Avl.MEstimator> inOutlierSuppression,
	Conditional<Avl.Segment3D> outSegment,
	Conditional<Avl.Segment3D> outLeftSegment,
	Conditional<Avl.Segment3D> outRightSegment,
	Optional<List<Conditional<Avl.SurfaceStripe1D>>> outStripes,
	Optional<List<Avl.Point3D>> outStripePoints,
	Optional<Conditional<Avl.Profile>> outDeviationProfile,
	Optional<List<Avl.Profile>> outHeightProfiles,
	Optional<List<Avl.Profile>> outResponseProfiles
)

Parameters

Name Type Range Default Description
inSurfaceAvl.SurfaceSurface to fit segment to.
inFittingMapAvl.SegmentFittingMapInput fitting map.
inStripeScanParamsAvl.StripeScanParams3DParameters controlling the stripe extraction process.
inStripeSelectionAvl.Selectionavl::Selection::BestSelection mode of stripe. Default value: avl::Selection::Best.
inLocalBlindnessAtl.Optional<Avl.LocalBlindness>Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL.
inMaxProfileGapWidthAtl.Optional<int><0, INF>1Maximal number of consecutive not existing profile points. Default value: 1.
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of stripe points not found. Default value: 0.1f.
inOutlierSuppressionAtl.Optional<Avl.MEstimator>Selects a method for ignoring incorrectly detected points. Default value: atl::NIL.
outSegmentAtl.Conditional<Avl.Segment3D>Fitted segment or nothing if the fitting fails.
outLeftSegmentAtl.Conditional<Avl.Segment3D>Fitted left segment.
outRightSegmentAtl.Conditional<Avl.Segment3D>Fitted right segment.
outStripesAtl.Optional<System.Collections.Generic.List<Atl.Conditional<Avl.SurfaceStripe1D>>>Found stripes.
outStripePointsAtl.Optional<System.Collections.Generic.List<Avl.Point3D>>Extracted points of middle segment of a surface stripe.
outDeviationProfileAtl.Optional<Atl.Conditional<Avl.Profile>>Profile of distances between the actual segment points and the corresponding reference segment points.
outHeightProfilesAtl.Optional<System.Collections.Generic.List<Avl.Profile>>Extracted surface height profiles.
outResponseProfilesAtl.Optional<System.Collections.Generic.List<Avl.Profile>>Profiles of the edge (derivative) operator response.

See also