View source: R/curve_pair_align.R
curve_pair_align | R Documentation |
This function aligns to curves using Elastic Framework
curve_pair_align(beta1, beta2, mode = "O", rotation = TRUE, scale = TRUE)
beta1 |
curve 1, provided as a matrix of dimensions |
beta2 |
curve 2, provided as a matrix of dimensions |
mode |
Open ( |
rotation |
Include rotation (default = |
scale |
scale curves to unit length (default = |
a list containing
beta2n |
aligned curve 2 to 1 |
q2n |
aligned srvf 2 to 1 |
gam |
warping function |
q1 |
srvf of curve 1 |
beta1 |
centered curve 1 |
beta2 |
centered curve 2 |
R |
rotation matrix |
tau |
seed |
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_pair_align(beta[, , 1, 1], beta[, , 1, 5])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.