FitCircleOptions
Describes how to calculate the best fit circle.
Elements
Name | Type | Description |
---|---|---|
rejectOutliers | int | Whether to use every given point or only a subset of the points to fit the circle. If this value is TRUE, the algorithm determines the best subset of points to use and ignores the outliers (the points outside the subset). If this value is FALSE, the algorithm uses every given point. |
minScore | double | Specifies the required quality of the fitted circle. Acceptable values range from 0 to 1,000. A score of 1,000 indicates a perfect fit. |
pixelRadius | double | The acceptable distance, in pixels, that a point determined to belong to the circle can be from the circumference of the circle. |
maxIterations | int | Specifies the number of refinement iterations you allow the function to perform on the initial subset of points. You must allow at least one iteration. |