Back to Aurora Vision Studio website
	
                
                    
		
	You are here: Start » Filter Reference » Geometry 2D » Geometry 2D Fitting » FitSegmentToPoints (FitSegmentToPoints M)
| 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 | |
|---|---|---|---|
![]()  | 
				inPoints | Point2DArray | |
![]()  | 
				inRange | Range* | Determines which array points take part in fitting process | 
![]()  | 
				inOutlierSuppression | MEstimator* | |
![]()  | 
				outSegment | Segment2D | |
![]()  | 
				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 visible as M.

 Advanced

