bookstein2d              package:shapes              R Documentation

_B_o_o_k_s_t_e_i_n'_s _b_a_s_e_l_i_n_e _r_e_g_i_s_t_r_a_t_i_o_n _f_o_r _2_D _d_a_t_a

_D_e_s_c_r_i_p_t_i_o_n:

     Carries out Bookstein's baseline registration and calculates a
     mean shape.

_U_s_a_g_e:

     bookstein2d(A,l1=1,l2=2)

_A_r_g_u_m_e_n_t_s:

       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: an integer : l1 is sent to (-1/2,0) in the registration

      l2: an integer : l2 is sent to (1/2,0) in the registration

_V_a_l_u_e:

     A list with components  

       k: no 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

_A_u_t_h_o_r(_s):

     Ian Dryden

_R_e_f_e_r_e_n_c_e_s:

     Dryden, I.L. and Mardia, K.V. (1998)  Statistical Shape Analysis.
     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.

_E_x_a_m_p_l_e_s:

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

