Back to Adaptive Vision Studio website

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

FitSegmentToPoints


Approximates points with a segment using selected outliers suppression method.

Name Type Description
inPoints Point2DArray
inOutlierSuppression MEstimator*
outSegment Segment2D

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 Basic Complexity Level.