Back to Aurora Vision Studio website

You are here: Start » Filter Reference » Geometry 2D » Geometry 2D Fitting » FitSegmentToPoints

FitSegmentToPoints


Module: FoundationBasic

Approximates points with a segment using selected outliers suppression method.

Applications

Finding a locally optimal segment. Good enough when the number of outliers is small.
Name Type Description
Input value inPoints Point2DArray
Input value inRange Range* Determines which array points take part in fitting process
Input value inOutlierSuppression MEstimator*
Output value outSegment Segment2D
Output value outInliers Point2DArray

Description

The orientation of the resulting outSegment is always between 0 and 180 degrees.

Examples

Description of usage of this filter can be found in examples and tutorial: Pins.

The resulting outSegment drawn with the input points, inOutlierSuppression = Auto.

Complexity Level

This filter is available on Advanced Complexity Level.

Filter Group

This filter is member of FitSegmentToPoints filter group.