ssriemdist function

Riemannian size-and-shape distance

Riemannian size-and-shape distance

Calculates the Riemannian size-and-shape distance d_S between two configurations

ssriemdist(x, y, reflect=FALSE)

Arguments

  • x: k x m matrix (or complex k-vector for 2D data) where k = number of landmarks and m = no of dimensions
  • y: k x m matrix (or complex k-vector for 2D data)
  • reflect: Logical. If reflect = TRUE then reflection invariance is included.

Returns

The Riemannian size-and-shape distance d_S between the two configurations. (for the Riemannian shape distance use riemdist)

References

Le, H.-L. (1995). Mean size-and-shapes and mean shapes: a geometric point of view. Advances in Applied Probability, 27:44-55.

See Also

procOPA,procGPA,riemdist

Examples

data(gorf.dat) data(gorm.dat) gorf<-procGPA(gorf.dat,scale=FALSE) gorm<-procGPA(gorm.dat,scale=FALSE) ds<-ssriemdist(gorf$mshape,gorm$mshape) cat("Riemannian size-and-shape distance between mean size-and-shapes is ",ds," \n")

Author(s)

Ian Dryden