bootEllipse | R Documentation |

This function generates a half-decent fit to the source data. It is intended only for internal use, to bootstrap the higher-quality `fitConic`

function.

```
bootEllipse(x, y = NULL, ...)
```

`x` |
vector of x-values, or a Nx2 array of x and y values. In the latter case, the input |

`y` |
vector of y-values. |

`...` |
possible other arguments to be passed to future upgrades |

This can be used as a Q&D ellipse fitting algorithm, but is intended only for internal use by `fitConic`

, providing that function with an initial estimate for the ellipse's defining parameter set.

`parA ` |
6-element set with estimate of the "ABCDEF" coefficients for the general quadratic equation |

`centroid ` |
estimate of the ellipse's centroid |

Carl Witthoft, carl@witthoft.com

This is a revision of the function EllipseDirectFit in package conicfit by Jose Gama, with minor upgrades. Original MATLAB code by: Nikolai Chernov https://www.mathworks.com/matlabcentral/fileexchange/22684-ellipse-fit-direct-method A. W. Fitzgibbon, M. Pilu, R. B. Fisher, "Direct Least Squares Fitting of Ellipses", IEEE Trans. PAMI, Vol. 21, pages 476-480 (1999) Halir R, Flusser J (1998) Proceedings of the 6th International Conference in Central Europe on Computer Graphics and Visualization, Numerically stable direct least squares fitting of ellipses (WSCG, Plzen, Czech Republic), pp 125132.

`fitConic`

, `createConic `

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.