ssriemdist: Riemannian size-and-shape distance

View source: R/shapes.R

ssriemdistR Documentation

Riemannian size-and-shape distance

Description

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

Usage

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.

Value

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

Author(s)

Ian Dryden

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")

shapes documentation built on Feb. 16, 2023, 8:16 p.m.