powered by
Calculate elastic shape distance between two curves beta1 and beta2
calc_shape_dist(beta1, beta2, mode = "O", scale = F)
Returns a list containing
geodesic distance
phase distance
array describing curve1 (n,T)
array describing curve
Open ("O") or Closed ("C") curves
Include scale (default =F)
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 <- calc_shape_dist(beta[, , 1, 1], beta[, , 1, 4])
Run the code above in your browser using DataLab