Description Usage Arguments Details Value References
View source: R/perfectcircle.R
Target function of the total least squares criterion of Coope (1993)
1 | target_tls(theta, freehandCircleThinBorder)
|
theta |
A vector of length 2 containing log of the center coordinates. |
Denoting by c the center of the circle and by r>0 the radius we want to find the circle for which the Euclidean distance to $m$ data points $a_j$, $j=1,...,m$ using the following criterion:
\min_{c\in \mathbb{R^2}, r>0} ∑_{j=1}^m F_j(c,r)^2
, where
F_j(c,r) = ≤ft|r - ||c-a_j||_2\right|
. This is equation (1) and (2) of Coope (1993).
The total least squares
Coope, I.D. 1993. “Circle Fitting by Linear and Nonlinear Least Squares.” Journal of Optimization Theory and Applications 76 (2): 381–88. doi:10.1007/BF00939613.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.