Karcher Mean of Curves

Share:

Description

Calculates Karcher mean of a collection of curves using the elastic square-root velocity (srvf) framework.

Usage

1
curve_karcher_mean(beta, mode = "O", maxit = 20)

Arguments

beta

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

mode

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

maxit

maximum number of iterations

Value

Returns a list containing

mu

mean srvf

betamean

mean curve

v

shooting vectors

q

array of srvfs

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
data("mpeg7")
out = curve_karcher_mean(beta[,,1,1:2],maxit=2) # note: use more shapes, small for speed

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.