Back to Adaptive Vision Studio website
You are here: Start » Filter Reference » Geometry 2D Fitting » FitLineToPoints_RANSAC
Approximates points with a line using a RANSAC algorithm.
Name | Type | Range | Description | |
---|---|---|---|---|
inPoints | Point2DArray | |||
inMaxOutlierCount | Integer* | 0 - | Determines how many outlier points can be present to end the search | |
inMaxInlierDistance | Real | 0.0 - | Distance from the output line for a point to be considered an inlier | |
inIterationCount | Integer* | 1 - | Number of iterations; Auto means that all point pairs will be used | |
outLine | Line2D? |
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty point array on input in FitLineToPoints_RANSAC. |
Complexity Level
This filter is available on Expert Complexity Level.
Filter Group
This filter is member of FitLineToPoints filter group.