Learn R Programming

fdasrvf (version 1.9.4)

calc_shape_dist: Elastic Shape Distance

Description

Calculate elastic shape distance between two curves beta1 and beta2

Usage

calc_shape_dist(beta1, beta2, mode = "O")

Arguments

beta1

array describing curve1 (n,T)

beta2

array describing curve

mode

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

Value

d geodesic distance

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
# NOT RUN {
data("mpeg7")
d = calc_shape_dist(beta[,,1,1],beta[,,1,4])
# }

Run the code above in your browser using DataLab