Learn R Programming

fitConic (version 1.2.1)

Fit Data to Any Conic Section

Description

Fit data to an ellipse, hyperbola, or parabola. Bootstrapping is available when needed. The conic curve can be rotated through an arbitrary angle and the fit will still succeed. Helper functions are provided to convert generator coefficients from one style to another, generate test data sets, rotate conic section parameters, and so on. References include Nikolai Chernov (2014) "Fitting ellipses, circles, and lines by least squares" ; A. W. Fitzgibbon, M. Pilu, R. B. Fisher (1999) "Direct Least Squares Fitting of Ellipses" IEEE Trans. PAMI, Vol. 21, pages 476-48; N. Chernov, Q. Huang, and H. Ma (2014) "Fitting quadratic curves to data points", British Journal of Mathematics & Computer Science, 4, 33-60; N. Chernov and H. Ma (2011) "Least squares fitting of quadratic curves and surfaces", Computer Vision, Editor S. R. Yoshida, Nova Science Publishers, pp. 285-302.

Copy Link

Version

Install

install.packages('fitConic')

Monthly Downloads

266

Version

1.2.1

License

LGPL-3

Maintainer

Carl Witthoft

Last Published

August 28th, 2023

Functions in fitConic (1.2.1)

Residuals.ellipse

Calculate Residual Error For Current Coefficients
doWeights

Function to Apply Weights to Data
fitConic-package

tools:::Rd_package_title("fitConic")
AtoG

A Set Of Functions To Convert Among Various Conic-Section-Defining Parameter Sets.
bootHyperbola

A Function to Attempt a Crude Fit of Data to a Hyperbola
createConic

Create A Conic Section Dataset Based on Parameter Set
JmatrixLMA

Calculate a Jacobian Matrix
bootEllipse

Simple, Medium-Quality Ellipse Fitting Function
Residuals.hyperbola

Calculate Residual Error For Current Coefficients
fhyp

Internal Functions to Perform Bootstrap Fitting Operations
fitConic

Fit Data to A Conic Section Curve
fitParabola

Fit Data to Parabola
rotateA

Rotate Conic Section Equation Parameters Or A Dataset, With Respect To X-Y Axes.