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

Invoke.FitLineToPoints_M

Approximates points with a line using selected M-estimator for outlier suppression.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void FitLineToPoints_M
(
	List<Fil.Point2D> inPoints,
	Optional<Fil.Range> inRange,
	Fil.MEstimator inOutlierSuppression,
	float inClippingFactor,
	int inIterationCount,
	Optional<Fil.Line2D> inInitialLine,
	out Fil.Line2D outLine,
	Optional<List<Fil.Point2D>> outInliers
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.List<Fil.Point2D>
inRangeFtl.Optional<Fil.Range>Determines which array points take part in fitting process. Default value: ftl::NIL.
inOutlierSuppressionFil.MEstimator
inClippingFactorfloat<0.675f, 6.0f>2.5fMultitude of standard deviation within which points are considered inliers. Default value: 2.5f.
inIterationCountint<0, INF>5Number of iterations of outlier suppressing algorithm. Default value: 5.
inInitialLineFtl.Optional<Fil.Line2D>Initial approximation (if available). Default value: ftl::NIL.
outLineFil.Line2D
outInliersFtl.Optional<System.Collections.Generic.List<Fil.Point2D>>Points matching the computed line.

See also