
Last chance! 50% off unlimited learning
Sale ends in
This function aligns two SRVF functions using Dynamic Programming. If the
curves beta1 and beta2 are describing multidimensional functional data, then
rotation == FALSE
and mode == 'O'
reparam_curve(
beta1,
beta2,
lambda = 0,
method = "DP",
w = 0.01,
rotated = TRUE,
isclosed = FALSE,
mode = "O"
)
return a List containing
warping function
rotation matrix
seed point
curve 1, provided as a matrix of dimensions
curve 1, provided as a matrix of dimensions
controls amount of warping (default = 0
)
controls which optimization method. Options are
Dynamic Programming ("DP"
). (default = "DP"
)
controls LRBFGS (default = 0.01
)
boolean if rotation is desired
boolean if curve is closed
Open ("O"
) or Closed ("C"
) curves
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.
gam <- reparam_curve(beta[, , 1, 1], beta[, , 1, 5])$gam
Run the code above in your browser using DataLab