curve_karcher_cov: Curve Karcher Covariance

Description Usage Arguments Value References Examples

View source: R/curve_karcher_cov.R

Description

Calculate Karcher Covariance of a set of curves

Usage

1
curve_karcher_cov(betamean, beta, mode = "O")

Arguments

betamean

array (n,T) of mean curve

beta

array (n,T,N) for N number of curves

mode

Open ("O") or Closed ("C") curves

Value

K covariance matrix

References

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.

Examples

1
2
3
data("mpeg7")
out = curve_srvf_align(beta[,,1,1:2],maxit=2) # note: use more shapes, small for speed
K = curve_karcher_cov(out$betamean, beta[,,1,1:2])

fdasrvf documentation built on May 30, 2017, 4:24 a.m.

Search within the fdasrvf package
Search all R packages, documentation and source code