FitEllipseOptions
Describes how to calculate the best fit ellipse.
Elements
Name | Type | Description |
---|---|---|
rejectOutliers | int | Whether to use every given point or only a subset of the points to fit the ellipse. 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 ellipse. 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 ellipse can be from the circumference of the ellipse. |
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. |