Back to Adaptive Vision Studio website

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

FitCircleToPoints


Approximates points with a circle using selected outliers suppression method.

Name Type Description
inPoints Point2DArray
inRange Range* Determines which array points take part in fitting process
inFittingMethod CircleFittingMethod
inOutlierSuppression MEstimator*
outCircle Circle2D? Fitted circle or nothing if method failed to converge

Description

The operation computes a circle which approximates the input points best. Several methods are available, AlgebraicKasa being the fastest one. It is also the most inaccurate when the input points are sampled along small arc only.

Examples

The resulting outCircle drawn with the input points, inFittingMethod = AlgebraicKasa and inOutlierSuppression = Auto.

Complexity Level

This filter is available on Basic Complexity Level.

See Also

  • FitArcToPoints – Approximates points with an arc using the selected outliers suppression method.
  • FitLineToPoints – Approximates points with a line using the Least Squares method.