Learn R Programming

fdasrvf (version 2.0.0)

curve_pair_align: Pairwise align two curves

Description

This function aligns to curves using Elastic Framework

Usage

curve_pair_align(beta1, beta2)

Value

a list containing

beta2n

aligned curve 2 to 1

q2n

aligned srvf 2 to 1

gam

warping function

q1

srvf of curve 1

Arguments

beta1

array describing curve 1 (n,T)

beta2

array describing curve 2 (n,T)

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

Run this code
out <- curve_pair_align(beta[, , 1, 1], beta[, , 1, 5])

Run the code above in your browser using DataLab