View source: R/curve_karcher_cov.R
curve_karcher_cov | R Documentation |
Calculate Karcher Covariance of a set of curves
curve_karcher_cov(v, len = NA)
v |
array of sizes |
len |
lengths of curves (default = |
K covariance matrix
Srivastava, A., Klassen, E., Joshi, S., Jermyn, I., (2011). Shape analysis of elastic curves in euclidean spaces. Pattern Analysis and Machine Intelligence, IEEE Transactions on 33 (7), 1415-1428.
out <- curve_karcher_mean(beta[, , 1, 1:2], maxit = 2)
# note: use more shapes, small for speed
K <- curve_karcher_cov(out$v)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.