AAMToolbox viewing statistical model

From BanghamLab
Revision as of 11:24, 9 March 2012 by AndrewBangham (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Back to Tutorial pages

Viewing shape and appearance models in 2D

Walking through contributions of principle components.

Model Viewer

Mean shape

The dots on the right represent the mean positions of the landmarks averaged over all the images in the model. These points mean more to us once they are joined by lines (see above screenshot). Capturing that higher meaning requires more analysis or, as in this case, human interaction (when we created the template).

Note that the point models had been normalised to the same scale, same rotation and same translational position.
The Model generator control panel

Variations along the principle component axis

To visualise sliding (walking) along an axis imagine a straight line fitted to a set of data points. Then read-out the x,y coordinates as we move back and forth along the line. Correlation between x and y (the straight line) means that the outputs are correlated. In this model we are doing a similar thing as we slide along the axis (fitted line) we read-out values in the model coordinate system that are then transformed (by the model) back into the viewing coordinates.

The Model generator control panel
Left, minus one standard deviation along PC1.
Middle, mean shape.
Right, plus one standard deviation along PC1.
<wikiflv width="300" height="300" logo="false" loop="true" background="white">CartoonPC1.flv|CartoonPC1.png</wikiflv>
Sliding (walking) along the principle component axis.

Variations along axis with the next largest variation

+1 and -1 standard deviation from the mean
Left, minus one standard deviation along PC2.
Middle, mean shape.
Right, plus one standard deviation along PC2.
<wikiflv width="300" height="300" logo="false" loop="true" background="white">CartoonPC2.flv|CartoonPC2.png</wikiflv>
Sliding (walking) along the axis accounting for the second most amount of variation.