bookstein2d | R Documentation |
Carries out Bookstein's baseline registration and calculates a mean shape
bookstein2d(A,l1=1,l2=2)
A |
a k x 2 x n real array, or k x n complex matrix, where k is the number of landmarks, n is the number of observations |
l1 |
l1: an integer : l1 is sent to (-1/2,0) in the registration |
l2 |
l2: an integer : l2 is sent to (1/2,0) in the registration |
A list with components:
k |
number of landmarks |
n |
sample size |
mshape |
Bookstein mean shape with baseline l1, l2 |
bshpv |
the k x n x 2 array of Bookstein shape variables, including the baseline |
Ian Dryden
Dryden, I.L. and Mardia, K.V. (2016). Statistical Shape Analysis, with applications in R (Second Edition). Wiley, Chichester. Chapter 2.
Bookstein, F. L. (1986) Size and shape spaces for landmark data in two dimensions (with discussion). Statistical Science, 1:181-242.
data(gorf.dat) data(gorm.dat) bookf<-bookstein2d(gorf.dat) bookm<-bookstein2d(gorm.dat) plotshapes(bookf$mshape,bookm$mshape,joinline=c(1,6,7,8,2,3,4,5,1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.