Home | About | Journals | Submit | Contact Us | Français |

**|**Anat Res Int**|**v.2012; 2012**|**PMC3335586

Formats

Article sections

Authors

Related links

Anat Res Int. 2012; 2012: 604543.

Published online 2011 October 4. doi: 10.1155/2012/604543

PMCID: PMC3335586

*Kendra K. Schmid: Email: ude.cmnu@dimhcskk

Academic Editor: Ilkan Tatar

Received 2011 May 31; Accepted 2011 July 12.

Copyright © 2012 Kendra K. Schmid et al.

This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Shape analysis is useful for a wide variety of disciplines and has many applications. There are many approaches to shape analysis, one of which focuses on the analysis of shapes that are represented by the coordinates of predefined landmarks on the object. This paper discusses Tridimensional Regression, a technique that can be used for mapping images and shapes that are represented by sets of three-dimensional landmark coordinates, for comparing and mapping 3D anatomical structures. The degree of similarity between shapes can be quantified using the tridimensional coefficient of determination (*R*
^{2}). An experiment was conducted to evaluate the effectiveness of this technique to correctly match the image of a face with another image of the same face. These results were compared to the *R*
^{2} values obtained when only two dimensions are used and show that using three dimensions increases the ability to correctly match and discriminate between faces.

Tobler [1] proposed bidimensional regression as a tool for computing the degree of similarity between two planar configurations of points and to estimate mapping relations between two objects that are represented by a set of two-dimensional landmarks. Bidimensional regression is an extension of linear regression where both dependent and independent variables are represented by coordinate pairs, instead of scalar values. Specifically, Tobler [1] suggested that bidimensional regression may be useful for comparing signatures, geographical maps, or faces. The latter was done in the context of face recognition by Shi et al. [2] and Kare et al. [3].

Tobler's [1] method has been extended to *Tridimensional Regression* for situations when both dependent and independent variables are represented by three-dimensional coordinates [4]. The purpose of this paper is to provide a summary of that extension, to illustrate the use of tridimensional regression for comparing and mapping anatomical structures, and to compare the effectiveness of the two-dimensional and three-dimensional methods. Widespread use of three-dimensional imaging devices in many areas of research makes this research timely. This technique is broadly applicable to any situation where spatial configurations of three-dimensional points are compared. Specific instances where tridimensional regression may be of use are three-dimensional mapping and comparison of objects or structures that are represented by their three-dimensional coordinates. The *R*
^{2} values derived from regression allow the degree of similarity between two objects to be quantified.

In this section, a brief summary of bidimensional regression and its extension to three dimensions is provided. Details of the tridimensional regression models are provided.

Nakaya [5] defines a bidimensional regression model as

$$\left(\begin{array}{c}{u}_{i}\\ {v}_{i}\end{array}\right)=\left(\begin{array}{c}g\left({x}_{i},{y}_{i}\right)\\ h\left({x}_{i},{y}_{i}\right)\end{array}\right)+\left(\begin{array}{c}{\epsilon}_{i}\\ {\eta}_{i}\end{array}\right),$$

(1)

where (*u*
_{i}, *v*
_{i}) is the dependent variable, (*x*
_{i}, *y*
_{i}) represent the corresponding coordinates of the independent variable, *g* and *h* are transformation functions used to estimate mapping relations between independent and dependent variables, and (*ε*
_{i}, *η*
_{i}) is an error vector that is assumed to be normally and independently distributed. Both Tobler [1] and Nakaya [5] discuss obtaining estimates for parameters in *g* and *h* using the method of least-squares so that

$$\sum}_{i=1}^{n}\left[{\left({u}_{i}-\widehat{g}\left({x}_{i},{y}_{i}\right)\right)}^{2}+{\left({v}_{i}-\widehat{h}\left({x}_{i},{y}_{i}\right)\right)}^{2}\right],$$

(2)

where $\widehat{g}$ and $\widehat{h}$ are the transformation functions evaluated at the parameter estimates, is minimized. Here *n* is the number of landmark points used in the analysis. The normal equations are obtained in the usual manner [1], and by solving ${\widehat{\mathbf{\beta}}}_{j}$ in

$${\mathbf{X}}_{j}^{T}{\mathbf{X}}_{j}{\widehat{\mathit{\beta}}}_{j}={\mathbf{X}}_{j}^{T}\mathbf{Y},$$

(3)

where **X**
_{j} is the design matrix of transformation *j* and $\mathbf{Y}={\left[\begin{array}{cc}\mathbf{u}& \mathbf{v}\end{array}\right]}^{T}$ is a (2*n* × 1) vector for the dependent variable partitioned by the coordinates, will yield the least-squares parameter estimates [6]. The design matrix (**X**
_{j}) will depend on the transformation used and the number of parameters to estimate; hence, the dimension of ${\widehat{\mathbf{\beta}}}_{j}$ will also be determined by the type of transformation.

Tobler [1] proposes four bidimensional regression models, three of which are intrinsically linear and one is curvilinear. Friedman and Kohler [7] argue that the curvilinear model may be too general for practical use and describe the linear transformations in more detail. Each of the other three transformations is linearized by reparameterization prior to solving the parameter estimates.

The three linear transformations yield the Euclidean, affine, and projective models where in each model the original coordinates are scaled, rotated, and translated. These transformations form a hierarchy with the Euclidean being the simplest (fewest parameters) and the projective the most complex (most parameters) of the models.

Details of bidimensional regression models can be found in [1, 5, 7, 8]. Briefly, the Euclidean model is a similarity transformation in that the overall shape remains unchanged. The coordinates are translated, rotated, and isotropically scaled [8], thus preserving the original shape and angles. The affine model allows for *X* and *Y* coordinates to be scaled independently, and the configuration could exhibit shear (*γ*) (e.g., a square may become a parallelogram; Figure 1). The projective transformation, which is the most complex, allows the size, shape, and orientation to change as a function of viewpoint [7]. An example of a projective transformation is shown in Figure 2.

In the Euclidean and affine transformations, the models are linearized by reparameterization, and then the normal equations can be derived in the usual manner. Once the parameters have been estimated [7], provide equations for calculating the scale and rotation values for the Euclidean transformation and the scale, shear, and rotation values for the affine transformation.

The equations for the projective transformation can be rewritten using homogeneous coordinates and put in matrix notation as shown in (16). Homogeneous coordinates can be used with any of the models to provide a uniform framework for all transformations. For rotation, scaling, and shear, the transformed coordinates can be expressed as the product of a transformation matrix and the original coordinates. For translation, however, the coordinates are derived by addition of the translation vector to the original coordinates. Use of homogeneous coordinates makes all the transformations multiplicative. This is accomplished by adding an additional coordinate (*t*), called the homogeneous coordinate.

The homogeneous coordinate is added purely for mathematical simplification and has no effect on the transformation of coordinates. For example, it is convenient to represent a sequence of transformations as the product of the corresponding transformation matrices. Thus, in the Euclidean and affine models, the translation parameters become multiplicative and one matrix could be used for all of the transformation parameters [10]. With the projective model, the conversion is used to linearize the model, and once the object is mapped using homogeneous coordinates, the original coordinates are restored by dividing by the homogeneous coordinate, *t*. However, when this is done, the restriction placed on *t* results in parameter estimates of ${\widehat{\beta}}_{31}=0$, ${\widehat{\beta}}_{32}=0,\hspace{0.17em}\hspace{0.17em}\text{and}\mathrm{\hspace{0.17em}\hspace{0.17em}}{\widehat{\beta}}_{33}=1$. Consequently, the projective transformation is reduced to the affine transformation and the results are identical. The conversion to homogeneous coordinates is adequate for determining the location of transformed points, but not for obtaining transformation parameter estimates. If left in terms of the original equations, the parameters of the projective transformation can be estimated using nonlinear regression. When extended to three dimensions, a similar approach is used.

The similarity of the two objects is assessed using the bidimensional correlation coefficient [1],

$${R}_{2D}=\sqrt{1-\frac{{\sum}_{i}\left\{{\left({u}_{i}-{\widehat{u}}_{i}\right)}^{2}+{\left({v}_{i}-{\widehat{v}}_{i}\right)}^{2}\right\}}{{\sum}_{i}\left\{{\left({u}_{i}-\stackrel{\u0305}{u}\right)}^{2}+{\left({v}_{i}-\stackrel{\u0305}{v}\right)}^{2}\right\}}}.$$

(4)

The bidimensional regression models proposed by Tobler [1] can be extended to instances where three-dimensional data are used for comparison. A specific instance may include anatomical structures that are represented by three-dimensional landmark coordinates, but tridimensional regression can be useful for determining the degree of similarity between any two objects that are represented by three-dimensional coordinates.

In this paper, the linear transformations discussed by Tobler [1] will be extended to three dimensions. Extensions to the Euclidean, affine, and projective transformations are described in detail where the dependent and independent variables are represented by their three-dimensional coordinates,

$$\left(\begin{array}{c}{u}_{i}\\ {v}_{i}\\ {w}_{i}\end{array}\right),\hspace{1em}\hspace{1em}\left(\begin{array}{c}{x}_{i}\\ {y}_{i}\\ {z}_{i}\end{array}\right),\mathrm{\hspace{0.17em}\hspace{0.17em}}\text{respectively}.$$

(5)

The three-dimensional Euclidean transformation is similar to the two-dimensional case in that coordinates are simply translated, rotated, and isotropically scaled. The overall shape and the angles of the original object are preserved, and parallel lines in the original object are mapped to parallel lines in the transformed space. There is an additional translation parameter, and the rotation matrix differs depending on which axis(es) are used for the rotation. In general, the number of rotation parameters is *k*(*k* − 1)/2, where *k* is the number of dimensions. Therefore, there are three rotation parameters for the general three-dimensional Euclidean transformation. However, for instances when it is known that all three rotations are not necessary, the transformation can be reduced to one or two rotations. These special cases are discussed in detail in [4].

The format of the rotation matrix depends on the axis of rotation. The formats for each of the three rotations are shown below, where *γ* is the angle of rotation about the *x*-axis, *θ* is the angle of rotation about the *y*-axis, and *ϕ* is the angle of rotation about the *z*-axis:

$$\begin{array}{c}{\mathbf{R}}_{\mathbf{X}}=\left[\begin{array}{ccc}1& 0& 0\\ 0& \mathrm{cos}\gamma & -\mathrm{sin}\gamma \\ 0& \mathrm{sin}\gamma & \mathrm{cos}\gamma \end{array}\right],\\ {\mathbf{R}}_{\mathbf{Y}}=\left[\begin{array}{ccc}\mathrm{cos}\theta & 0& \mathrm{sin}\theta \\ 0& 1& 0\\ -\mathrm{sin}\theta & 0& \mathrm{cos}\theta \end{array}\right],\\ {\mathbf{R}}_{\mathbf{Z}}=\left[\begin{array}{ccc}\mathrm{cos}\varphi & -\mathrm{sin}\varphi & 0\\ \mathrm{sin}\varphi & \mathrm{cos}\varphi & 0\\ 0& 0& 1\end{array}\right].\end{array}$$

(6)

The general form of the three-dimensional Euclidean transformation is

$$\left[\begin{array}{c}{u}_{i}\\ {v}_{i}\\ {w}_{i}\end{array}\right]=\left[\begin{array}{c}{\alpha}_{1}\\ {\alpha}_{2}\\ {\alpha}_{3}\end{array}\right]+s\mathbf{R}\left[\begin{array}{c}{x}_{i}\\ {y}_{i}\\ {z}_{i}\end{array}\right],$$

(7)

where **R** is one of the rotation matrices.

As in the two-dimensional case, the transformation can be linearized by reparameterization, where the new transformation matrix (**R**′) is a combination of the scale and rotation parameters. The reparameterized transformations and their normal equations follow.

For rotation about the *x-*axis,

$$\begin{array}{c}{\mathbf{R}}_{\mathbf{X}}^{\prime}=\left[\begin{array}{ccc}1& 0& 0\\ 0& {\beta}_{1}& -{\beta}_{2}\\ 0& {\beta}_{2}& {\beta}_{1}\end{array}\right],\\ {u}_{i}={\alpha}_{1}+{x}_{i},\\ {v}_{i}={\alpha}_{2}+{\beta}_{1}{y}_{i}-{\beta}_{2}{z}_{i},\\ {w}_{i}={\alpha}_{3}+{\beta}_{2}{y}_{i}+{\beta}_{1}{z}_{i},\end{array}$$

(8)

and deriving the normal equations in the usual manner yields

$$\begin{array}{cc}\hfill & \left[\begin{array}{ccccc}\text{N}& 0& 0& 0& 0\\ 0& \text{N}& 0& {\displaystyle \sum}{y}_{i}& -{\displaystyle \sum}{z}_{i}\\ 0& 0& \text{N}& {\displaystyle \sum}{z}_{i}& {\displaystyle \sum}{y}_{i}\\ 0& {\displaystyle \sum}{y}_{i}& {\displaystyle \sum}{z}_{i}& {\displaystyle \sum}({y}_{i}^{2}+{z}_{i}^{2})& 0\\ 0& -{\displaystyle \sum}{z}_{i}& {\displaystyle \sum}{y}_{i}& 0& {\displaystyle \sum}({y}_{i}^{2}+{z}_{i}^{2})\end{array}\right]\left[\begin{array}{c}{\alpha}_{1}\\ {\alpha}_{2}\\ {\alpha}_{3}\\ {\beta}_{1}\\ {\beta}_{2}\end{array}\right]\hfill \\ \hfill & \hspace{1em}\hspace{1em}=\left[\begin{array}{c}{\displaystyle \sum}({u}_{i}-{x}_{i})\\ {\displaystyle \sum}{v}_{i}\\ {\displaystyle \sum}{w}_{i}\\ {\displaystyle \sum}({v}_{i}{y}_{i}+{w}_{i}{z}_{i})\\ {\displaystyle \sum}({w}_{i}{y}_{i}-{v}_{i}{z}_{i})\end{array}\right].\hfill \end{array}$$

(9)

Similar details for rotation about the *y* and *z* axes can be found in [4].

When more than one rotation is used, the reparameterization to linearize the model is not obvious; therefore, the rotation matrices remain in terms of the rotation parameters and nonlinear regression is used. The advantage of using nonlinear regression is that the rotation and scale parameters are directly estimated instead of being solved in terms of *β*
_{i}; the disadvantage in using nonlinear regression is convergence may not be reached and starting values must be specified. The similarity of the two objects is assessed using the Pseudo*- R*
^{2} as defined by [11]. The Pseudo-*R*
^{2} is calculated in the same manner as *R*
^{2}, but, in general, is not guaranteed to be greater than zero. Again, the rotation matrix differs depending upon the axes of rotation. An example of a two-rotation Euclidean transformation is shown below.

For rotation about *x* and *y* axes,

$$\left[\begin{array}{c}{u}_{i}\\ {v}_{i}\\ {w}_{i}\end{array}\right]=\left[\begin{array}{c}{\alpha}_{1}\\ {\alpha}_{2}\\ {\alpha}_{3}\end{array}\right]+s\left[\begin{array}{ccc}\mathrm{cos}\theta & 0& \mathrm{sin}\theta \\ \mathrm{sin}\gamma \mathrm{sin}\theta & \mathrm{cos}\gamma & -\mathrm{sin}\gamma \mathrm{cos}\theta \\ -\mathrm{cos}\gamma \mathrm{sin}\theta & \mathrm{sin}\gamma & \mathrm{cos}\gamma \mathrm{cos}\theta \end{array}\right]\left[\begin{array}{c}{x}_{i}\\ {y}_{i}\\ {z}_{i}\end{array}\right].$$

(10)

In the general form of the three-dimensional Euclidean transformation, the order in which the transformations are applied will result in different parameter estimates. Permuting this order will result in different estimates of the rotation parameters, but the measure of similarity will remain the same regardless of the order of transformations. The following system of equations shows the rotations in the order of *x*-axis, *y*-axis, and then *z*-axis:

$$\begin{array}{cc}\hfill \left[\begin{array}{c}{u}_{i}\\ {v}_{i}\\ {w}_{i}\end{array}\right]& =\left[\begin{array}{c}{\alpha}_{1}\\ {\alpha}_{2}\\ {\alpha}_{3}\end{array}\right]+s\left[\begin{array}{ccc}\mathrm{cos}\theta \mathrm{cos}\varphi & -\mathrm{cos}\theta \mathrm{sin}\varphi & \mathrm{sin}\theta \\ \mathrm{sin}\gamma \mathrm{sin}\theta \mathrm{cos}\varphi +\mathrm{cos}\gamma \mathrm{sin}\varphi & -\mathrm{sin}\gamma \mathrm{sin}\theta \mathrm{sin}\varphi +\mathrm{cos}\gamma \mathrm{cos}\varphi & -\mathrm{sin}\gamma \mathrm{cos}\theta \\ -\mathrm{cos}\gamma \mathrm{sin}\theta \mathrm{cos}\varphi +\mathrm{sin}\gamma \mathrm{sin}\varphi & \mathrm{cos}\gamma \mathrm{sin}\theta \mathrm{sin}\varphi +\mathrm{sin}\gamma \mathrm{cos}\varphi & \mathrm{cos}\gamma \mathrm{cos}\theta \end{array}\right]\left[\begin{array}{c}{x}_{i}\\ {y}_{i}\\ {z}_{i}\end{array}\right].\hfill \end{array}$$

(11)

The extension of the affine transformation from two dimensions into three dimensions includes additional parameters for translation, scaling, rotation, and shear. Figure 3 shows an example of a three-dimensional affine transformation. The transformed coordinates in affine transformations are given by

$$\begin{array}{c}{u}_{i}={\alpha}_{1}+{\beta}_{11}{x}_{i}+{\beta}_{12}{y}_{i}+{\beta}_{13}{z}_{i},\\ {v}_{i}={\alpha}_{2}+{\beta}_{21}{x}_{i}+{\beta}_{22}{y}_{i}+{\beta}_{23}{z}_{i},\\ {w}_{i}={\alpha}_{3}+{\beta}_{31}{x}_{i}+{\beta}_{32}{y}_{i}+{\beta}_{33}{z}_{i},\\ \left[\begin{array}{c}{u}_{i}\\ {v}_{i}\\ {w}_{i}\end{array}\right]=\left[\begin{array}{c}{\alpha}_{1}\\ {\alpha}_{2}\\ {\alpha}_{3}\end{array}\right]+\left[\begin{array}{ccc}{\beta}_{11}& {\beta}_{12}& {\beta}_{13}\\ {\beta}_{21}& {\beta}_{22}& {\beta}_{23}\\ {\beta}_{31}& {\beta}_{32}& {\beta}_{33}\end{array}\right]\left[\begin{array}{c}{x}_{i}\\ {y}_{i}\\ {z}_{i}\end{array}\right].\\ \end{array}$$

(12)

Deriving the normal equations in the usual manner yields

$$\begin{array}{cc}\hfill & \mathrm{\hspace{0.17em}\hspace{0.17em}}\begin{array}{c}\left[\begin{array}{cc}{\mathbf{I}}_{3}\otimes \text{N}& {\mathbf{I}}_{3}\otimes \left(\begin{array}{ccc}{\displaystyle \sum}{x}_{i}& {\displaystyle \sum}{y}_{i}& {\displaystyle \sum}{z}_{i}\end{array}\right)\\ {\mathbf{I}}_{3}\otimes \left(\begin{array}{c}{\displaystyle \sum}{x}_{i}\\ {\displaystyle \sum}{y}_{i}\\ {\displaystyle \sum}{z}_{i}\end{array}\right)& {\mathbf{I}}_{3}\otimes \left(\begin{array}{ccc}{\displaystyle \sum}{x}_{i}^{2}& {\displaystyle \sum}{x}_{i}{y}_{i}& {\displaystyle \sum}{x}_{i}{z}_{i}\\ {\displaystyle \sum}{x}_{i}{y}_{i}& {\displaystyle \sum}{y}_{i}^{2}& {\displaystyle \sum}{y}_{i}{z}_{i}\\ {\displaystyle \sum}{x}_{i}{z}_{i}& {\displaystyle \sum}{y}_{i}{z}_{i}& {\displaystyle \sum}{z}_{i}^{2}\end{array}\right)\end{array}\right]\left[\begin{array}{c}{\alpha}_{1}\\ {\alpha}_{2}\\ {\alpha}_{3}\\ {\beta}_{11}\\ {\beta}_{12}\\ {\beta}_{13}\\ {\beta}_{21}\\ {\beta}_{22}\\ {\beta}_{23}\\ {\beta}_{31}\\ {\beta}_{32}\\ {\beta}_{33}\end{array}\right]\end{array}\hfill \\ \hfill & \hspace{1em}\hspace{1em}=\left[\begin{array}{c}{\displaystyle \sum}{u}_{i}\\ {\displaystyle \sum}{v}_{i}\\ {\displaystyle \sum}{w}_{i}\\ {\displaystyle \sum}{u}_{i}{x}_{i}\\ {\displaystyle \sum}{u}_{i}{y}_{i}\\ {\displaystyle \sum}{u}_{i}{z}_{i}\\ {\displaystyle \sum}{v}_{i}{x}_{i}\\ {\displaystyle \sum}{v}_{i}{y}_{i}\\ {\displaystyle \sum}{v}_{i}{z}_{i}\\ {\displaystyle \sum}{w}_{i}{x}_{i}\\ {\displaystyle \sum}{w}_{i}{y}_{i}\\ {\displaystyle \sum}{w}_{i}{z}_{i}\end{array}\right],\hfill \end{array}$$

(13)

where **I**
_{3} is a 3 × 3 identity matrix and is the direct product of the two matrices.

The extension of the projective transformation from two to three dimensions involves the conversion to homogeneous coordinates (16). Additional parameters are added corresponding to the coordinate of the third dimension. In a projective transformation, the size, shape, and orientation can all change as a function of viewpoint. While this is a nonlinear transformation, by using homogeneous coordinates, the model can be linearized in order to obtain the normal equations and estimate the parameters. The equations to obtain the transformed coordinates are

$$\begin{array}{c}{u}_{i}=\frac{{\beta}_{11}{x}_{i}+{\beta}_{12}{y}_{i}+{\beta}_{13}{z}_{i}+{\beta}_{14}}{{\beta}_{41}{x}_{i}+{\beta}_{42}{y}_{i}+{\beta}_{43}{z}_{i}+{\beta}_{44}},\\ {v}_{i}=\frac{{\beta}_{21}{x}_{i}+{\beta}_{22}{y}_{i}+{\beta}_{23}{z}_{i}+{\beta}_{24}}{{\beta}_{41}{x}_{i}+{\beta}_{42}{y}_{i}+{\beta}_{43}{z}_{i}+{\beta}_{44}},\\ {w}_{i}=\frac{{\beta}_{31}{x}_{i}+{\beta}_{32}{y}_{i}+{\beta}_{33}{z}_{i}+{\beta}_{34}}{{\beta}_{41}{x}_{i}+{\beta}_{42}{y}_{i}+{\beta}_{43}{z}_{i}+{\beta}_{44}},\\ \left[\begin{array}{c}{u}_{i}t\\ {v}_{i}t\\ {w}_{i}t\\ t\end{array}\right]=\left[\begin{array}{cccc}{\beta}_{11}& {\beta}_{12}& {\beta}_{13}& {\beta}_{14}\\ {\beta}_{21}& {\beta}_{22}& {\beta}_{23}& {\beta}_{24}\\ {\beta}_{31}& {\beta}_{32}& {\beta}_{33}& {\beta}_{34}\\ {\beta}_{41}& {\beta}_{42}& {\beta}_{43}& {\beta}_{44}\end{array}\right]\left[\begin{array}{c}{x}_{i}\\ {y}_{i}\\ {z}_{i}\\ 1\end{array}\right].\end{array}$$

(14)

Let

$$\begin{array}{c}{u}_{i}^{\prime}={u}_{i}t,\\ {v}_{i}^{\prime}={v}_{i}t,\\ {w}_{i}^{\prime}={w}_{i}t,\end{array}$$

(15)

then

$$\left[\begin{array}{c}{u}_{i}^{\prime}\\ {v}_{i}^{\prime}\\ {w}_{i}^{\prime}\\ t\end{array}\right]=\left[\begin{array}{cccc}{\beta}_{11}& {\beta}_{12}& {\beta}_{13}& {\beta}_{14}\\ {\beta}_{21}& {\beta}_{22}& {\beta}_{23}& {\beta}_{24}\\ {\beta}_{31}& {\beta}_{32}& {\beta}_{33}& {\beta}_{34}\\ {\beta}_{41}& {\beta}_{42}& {\beta}_{43}& {\beta}_{44}\end{array}\right]\left[\begin{array}{c}{x}_{i}\\ {y}_{i}\\ {z}_{i}\\ 1\end{array}\right],$$

(16)

and deriving the normal equations in the usual manner yields

$$\left({\mathbf{I}}_{4}\otimes \left[\begin{array}{cccc}{\displaystyle \sum}{x}^{2}& {\displaystyle \sum}xy& {\displaystyle \sum}xz& {\displaystyle \sum}x\\ {\displaystyle \sum}xy& {\displaystyle \sum}{y}^{2}& {\displaystyle \sum}yz& {\displaystyle \sum}y\\ {\displaystyle \sum}xz& {\displaystyle \sum}yz& {\displaystyle \sum}{z}^{2}& {\displaystyle \sum}z\\ {\displaystyle \sum}x& {\displaystyle \sum}y& {\displaystyle \sum}z& N\end{array}\right]\right)\left(\begin{array}{c}{\beta}_{11}\\ {\beta}_{12}\\ {\beta}_{13}\\ {\beta}_{14}\\ {\beta}_{21}\\ {\beta}_{22}\\ {\beta}_{23}\\ {\beta}_{24}\\ {\beta}_{31}\\ {\beta}_{32}\\ {\beta}_{33}\\ {\beta}_{34}\\ {\beta}_{41}\\ {\beta}_{42}\\ {\beta}_{43}\\ {\beta}_{44}\end{array}\right)=\left(\begin{array}{c}{\displaystyle \sum}ux\\ {\displaystyle \sum}uy\\ {\displaystyle \sum}uz\\ {\displaystyle \sum}u\\ {\displaystyle \sum}vx\\ {\displaystyle \sum}vy\\ {\displaystyle \sum}vz\\ {\displaystyle \sum}v\\ {\displaystyle \sum}wx\\ {\displaystyle \sum}wy\\ {\displaystyle \sum}wz\\ {\displaystyle \sum}w\\ {\displaystyle \sum}tx\\ {\displaystyle \sum}ty\\ {\displaystyle \sum}tz\\ {\displaystyle \sum}t\mathrm{\hspace{0.17em}\hspace{0.17em}}\mathrm{\hspace{0.17em}\hspace{0.17em}}\end{array}\right),$$

(17)

where **I**
_{4} is a 4 × 4 identity matrix and is the direct product of the two matrices.

As described in [4], this linearization results in parameter estimates that reduce the transformation to affine. The linearization is adequate to determine the transformed points, but not for the optimization to determine the transformation parameters or for measuring the degree of similarity between the two objects. Therefore, the transformation is left in terms of the original equations and nonlinear regression is used to obtain parameter estimates.

Nonlinear regression is an extension of linear regression where the expected responses are nonlinear functions of the parameters [13]. Finding least-squares estimates for linear models is straightforward as they have a closed-form solution. For nonlinear models, the least-squares estimates must be found using an iterative procedure. In this paper, the Gauss-Newton algorithm is used. This iterative procedure utilizes a Taylor series expansion to find the least-squares estimates [13].

For all transformations, parameter estimates can be found in the usual manner, ${\widehat{\mathbf{\beta}}}_{j}={({\mathbf{X}}_{j}^{T}{\mathbf{X}}_{j})}^{-1}{\mathbf{X}}_{j}^{T}\mathbf{Y}$, and subsequently used to solve for rotation, scale, and sheer parameters. The similarity of the two objects can be assessed using the tridimensional correlation coefficient, *R*
_{3D}, given by

$${R}_{3D}=\sqrt{1-\frac{{\sum}_{i}\left\{{\left({u}_{i}-{\widehat{u}}_{i}\right)}^{2}+{\left({v}_{i}-{\widehat{v}}_{i}\right)}^{2}+{\left({w}_{i}-{\widehat{w}}_{i}\right)}^{2}\right\}}{{\sum}_{i}\left\{{\left({u}_{i}-\stackrel{\u0305}{u}\right)}^{2}+{\left({v}_{i}-\stackrel{\u0305}{v}\right)}^{2}+{\left({w}_{i}-\stackrel{\u0305}{w}\right)}^{2}\right\}}},$$

(18)

which is an extension to the bidimensional correlation coefficient [1].

An experiment was conducted to evaluate the effectiveness of tridimensional regression and its improvement over bidimensional regression. Three-dimensional landmark data obtained from human faces were used for this purpose. The landmarks were obtained by placing reflective markers on the faces of subjects and tracking the coordinates as the subjects moved through a series of poses using automated software. The landmarks were adapted from [14]. They are shown in Figure 4 and described in Table 1.

The landmarks were obtained for three subjects at two different sittings and five poses per sitting. The objective was to compare *R*
^{2} values within a subject to the *R*
^{2} values between subjects using both tridimensional regression and bidimensional regression. One would expect the degree of similarity to be higher, thus a higher *R*
^{2} value, for two samples from the same person than for samples from two different people. All pairwise *R*
^{2} values were calculated for bidimensional and tridimensional regressions. Poses of the same individual within a sitting were not compared since the markers were not removed between poses and using these poses would result in inflated *R*
^{2} values.

For each transformation, both in two and three dimensions, the distributions of *R*
^{2} values for within and between subjects were obtained by fitting a theoretical distribution over the histograms of observed values. Overlaying these theoretical distributions allowed for the estimation of a threshold value (*τ*) as a cutoff for determining if two images were from the same subject. *R*
^{2} values greater than *τ* lead to the decision that the two images are of the same subject (match) while *R*
^{2} values less than *τ* indicate that the images are of two different subjects (nonmatch). The threshold value was determined to be where the two distributions cross, as to simultaneously minimize the false-positive and false-negative error rates. A false positive is when images of two different subjects are incorrectly determined to be from the same subject (an *R*
^{2} value greater than *τ* for different subjects); a false-negative occurs when two images from the same subject are incorrectly determined to be from different subjects (an *R*
^{2} value less than *τ* for the same subject). In addition to calculating the observed error rates, the expected error rates were found by evaluating the cumulative distribution functions of the *R*
^{2} values at *τ*. Table 2 summarizes the observed and expected error rates, and Figures Figures5,5, ,6,6, and and77 show the within-subject (dotted line) and between subject (solid line) distributions for each transformation.

Within and between person *R*
^{2} for bidimensional (*l*) and tridimensional (*r*) Euclidean transformation.

Within and between person *R*
^{2} for bidimensional (*l*) and tridimensional (*r*) affine transformation.

Within and between person *R*
^{2} for bidimensional (*l*) and tridimensional (*r*) projective transformation.

Table 2 shows that both the observed and expected error rates for tridimensional regression are much smaller than those for bidimensional regression using any of the three transformations. Bidimensional regression resulted in both error rates being very high, false-positives often over fifty percent. Tridimensional regression shows a substantial decrease in both false-positive and false-negative error rates which indicates that the three-dimensional method is better at correctly matching a subject to him or herself.

In this application, the Euclidean and affine transformations were comparable to one another with the affine performing slightly better. The projective transformation had the largest observed false-positive rate. This result is not surprising as the flexibility of the projective transformation allows it to map objects into many other shapes. This flexibility results in the ability to match even two very dissimilar objects quite well with certain transformation parameters. Consequently, the *R*
^{2} values are very high for all matches. This shifts the between-person distribution closer to the within person-distribution which results in a larger false-positive error rate.

Additionally, a sixth pose was taken on each of the subjects in each setting. This pose was not used to build the within- and between-subject distributions, or to determine the threshold. These six sets of points (two for each subject) were compared to all other poses not taken in the same setting of the same subject (30 comparisons per pose, 6 possible correct matches). The highest *R*
^{2} for all six was a correct match. In addition, a minimum of the top 4 matches were correct matches, illustrating that tridimensional regression can be very good at identifying correct matches and discriminating between different objects.

Bidimensional regression [1] is a useful tool for comparing two geometric configurations that are each represented by a set of coordinate pairs. The scale, rotation, and translation relating the two configurations can be estimated by first estimating the parameters of the transformation model. As an application of the technique, [2, 3] used bidimensional regression analysis for relating faces in landmark-based face recognition.

In this paper, the bidimensional technique has been extended to three dimensions. Such an extension may prove useful in the analysis of three-dimensional landmark data. The underlying foundations for tridimensional regression have been developed with different transformations: Euclidean, affine, and projective. Its use is demonstrated through an application to compare human faces using three-dimensional landmarks. Results show that tridimensional regression improves the ability to correctly match objects that are represented by landmark data. Both the Euclidean and affine transformations work well to reduce the error rates. The projective transformation also shows improved error rates, but its flexibility may make it too general for some practical applications. Choice of transformation should be given careful consideration given the goals of the application. While there is improvement over Bidimensional regression, the observed and expected error rates are likely higher in this experiment due to the small number of subjects involved and comparing several poses of the same subject. A larger-scale study is needed to better estimate the expected error rates.

This work can be extended in several different directions. The focus here was in developing the theory of tridimensional regression and conducting an initial investigation for shape matching with a feasibility experiment. An investigation with a larger amount of three-dimensional landmark data is needed to more fully understand its effectiveness. In addition to a larger-scale study, it is also of interest to develop weighted tridimensional regression techniques which would allow some landmarks to be weighted more or less heavily than others. Weighting landmarks allows for less weight to be placed on landmarks that are highly variable. Some landmarks could be more variable because they are less reliably extracted or simply due to more natural variability. Weighting has been shown to improve the matching ability in bidimensional regression [15], specifically in a face matching application [16], and is expected to improve the matching ability and precision in mapping for tridimensional regression as well.

The authors wish to thank Dr. Jordan Green of the University of Nebraska-Lincoln for his help in obtaining the three-dimensional landmark data used for this research.

1. Tobler WR. Bidimensional regression. *Geographical Analysis*. 1994;26(3):187–212.

2. Shi J, Samal A, Marx D. Face recognition using landmark-based bidimensional regression. In: Proceedings of the 5th IEEE International Conference on Data Mining, (ICDM 2005); November 2005; pp. 765–768.

3. Kare S, Samal A, Marx D. Using bidimensional regression to assess face similarity. *Machine Vision and Applications*. 2010;21(3):261–274.

4. Schmid KK, Marx DB, Samal A. Tridimensional regression. In: Proceedings of the Kansas State University Conference on Applied Statistics in Agriculture; 2007; pp. 1–9.

5. Nakaya T. Statistical inferences in bidimensional regression models. *Geographical Analysis*. 1997;29(2):169–186.

6. Draper NR, Smith H. *Applied Regression Analysis*. 3rd edition. New York, NY, USA: John Wiley & Sons; 1998.

7. Friedman A, Kohler B. Bidimensional regression: assessing the configural similarity and accuracy of cognitive maps and other two-dimensional data sets. *Psychological Methods*. 2003;8(4):468–491. [PubMed]

8. Dryden IL, Mardia KB. *Statistical Shape Analysis*. New York, NY, USA: John Wiley & Sons; 1998.

9. Kramer. Projective transformation. 2005. http://doc.cinderella.de/tiki-index.php?page=Projective+Transformation/

10. Foley JD, van Dam A, Feiner SK, Hughes JF. *Computer Graphics: Principles and Practice in C*. 2nd edition. Boston, Mass, USA: Addison-Wesley; 1995.

11. Schabenberger O, Pierce FJ. *Contemporary Statistical Models for the Plant and Soil Sciences*. New York, NY, USA: Taylor & Francis Group; 2002.

12. Shene C-K. Geometric transformations. http://www.cs.mtu.edu/~shene/COURSES/cs3621/NOTES/geometry/geo-tran.html.

13. Bates DM, Watts DG. *Nonlinear Regression Analysis and its Applications*. New York, NY, USA: John Wiley & Sons; 1988.

14. Farkas LG. *Anthropometry of the Head and Face*. 2nd edition. New York, NY, USA: Raven Press; 1994.

15. Schmid KK, Marx DB, Samal A. Weighted bidimensional regression. *Geographical Analysis*. 2011;43(1):1–13.

16. Schmid KK, Marx DB, Samal A. Weighted bidimensional regression with a face matching application. In: Proceedings of the 2009 Joint Statistical Meetings; 2009; pp. 1203–1212.

Articles from Anatomy Research International are provided here courtesy of **Hindawi**

PubMed Central Canada is a service of the Canadian Institutes of Health Research (CIHR) working in partnership with the National Research Council's national science library in cooperation with the National Center for Biotechnology Information at the U.S. National Library of Medicine(NCBI/NLM). It includes content provided to the PubMed Central International archive by participating publishers. |