calc_shape_dist: Elastic Shape Distance

View source: R/calc_shape_dist.R

calc_shape_distR Documentation

Elastic Shape Distance

Description

Calculate elastic shape distance between two curves beta1 and beta2

Usage

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

Arguments

beta1

array describing curve1 (n,T)

beta2

array describing curve

mode

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

scale

Include scale (default =F)

Value

Returns a list containing

d

geodesic distance

dx

phase 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

out <- calc_shape_dist(beta[, , 1, 1], beta[, , 1, 4])

fdasrvf documentation built on Nov. 19, 2023, 1:09 a.m.