The first step in modelling an object is to model of the shape of the object. This is the task of the statistical shape model. It aims at modelling shape of objects given a training set. This training set is composed of hand labelled images. The hand labelling is an efficient way of including human knowledge into a learning mechanism. Figure 3.1 shows an example of hand labelled image. The shape is described by a vector that contains the coordinates of each points of the shape.
The first step of the statistical shape model is to align the shapes found in the training set. This is done by an approach called Procrustes analysis [21]. This algorithm is iterative and reduces the sum of the distances between each shape to the mean shape. Thus in the training set, all the shape have the same center of gravity, scale and direction.
The variabilities between the shape are then estimated by applying a principle component analysis (PCA) to the vectors representing the aligned shapes. The mean of these vectors is computed :
In order to decrease the dimensionality of the data, the largest eigenvalues are chosen so that it explains most of the variation of the dataset. A threshold
is previously chosen (usually
or
).
is then computed by taking the minimum integer where the equation :
If we define
, each vector
in the training set can be approximate by :
describes the shape
. The approximation of the shape
can be reconstructed only with
, given that we know the model (that is,
and
). By varying
of an amount
, the shape
varies as the variance observed in the training set. Constraining the model to small variations allows the model to generate, only shapes that are similar to the training shapes. This can be done either by restricting the elements
of
to vary between the bounds
or by constraining
to be in a hyper-ellipsoid:
Figure 3.2a shows the first mode of variation of the model built on images of annotated faces.
![]() |