AAMToolbox statistical model generator: Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
=Statistical shape generator (PCA)= | =Statistical shape generator (PCA)= | ||
==Generate a new PCA model from the AAMToolbox control panel== | ==Generate a new PCA model from the AAMToolbox control panel== | ||
From the AAMToolbox workflow control panel elect '''Stats Model Generator''': <br><br> | |||
[[File: | [[File:Model_generator_AAMToolbox.png|822px|The Model generator control panel]]<br><br> | ||
==Steps to build a shape model using principle component analysis (PCA)== | ==Steps to build a shape model using principle component analysis (PCA)== | ||
#'''Select the image point models''' you want to include. Usually all of them. | #'''Select the image point models''' you want to include. Usually all of them. | ||
[[File:PM_selection_Model_generator_AAMToolbox.png|300px|The Model generator control panel]]<br><br> | |||
#*You will invited to give a name to the model you are about to compute | #*You will invited to give a name to the model you are about to compute | ||
#Click '''Generate Model''' | #Click '''Generate Model''' | ||
Line 11: | Line 13: | ||
#The next step is to view results from the model, AAMToolbox: '''View Stats Mode''' | #The next step is to view results from the model, AAMToolbox: '''View Stats Mode''' | ||
==Options== | ==Options== | ||
[[File:Stats_Model_Options_AAMToolbox.png| | [[File:Stats_Model_Options_AAMToolbox.png|300px|The Model generator control panel]]<br><br> | ||
===Procrustes=== | ===Procrustes=== | ||
The first step in PCA is to align all the point models. In this case we assume that the images should be normalised to the''' same scale, same rotation and same translational''' position. This might not always be the case. If we want to model leaf growth then the point model should '''not''' be scaled. Alternatively, if we want to capture the pose of a face portrait the point models should not be rotationally aligned. | The first step in PCA is to align all the point models. In this case we assume that the images should be normalised to the''' same scale, same rotation and same translational''' position. This might not always be the case. If we want to model leaf growth then the point model should '''not''' be scaled. Alternatively, if we want to capture the pose of a face portrait the point models should not be rotationally aligned. |
Revision as of 10:24, 13 February 2012
Statistical shape generator (PCA)
Generate a new PCA model from the AAMToolbox control panel
From the AAMToolbox workflow control panel elect Stats Model Generator:
Steps to build a shape model using principle component analysis (PCA)
- Select the image point models you want to include. Usually all of them.
- You will invited to give a name to the model you are about to compute
- Click Generate Model
- Close the box to save the model and return to the AAMToolbox
- The next step is to view results from the model, AAMToolbox: View Stats Mode
Options
Procrustes
The first step in PCA is to align all the point models. In this case we assume that the images should be normalised to the same scale, same rotation and same translational position. This might not always be the case. If we want to model leaf growth then the point model should not be scaled. Alternatively, if we want to capture the pose of a face portrait the point models should not be rotationally aligned.
Model Selection
In this case the statistical Shape model will be generated from the point models alone. In other cases, we might want to include the image colours, pixel by pixel, in the PCA in which case we model Shape and Appearance.
Options
Verbose is useful for large Shape and Appearance models because it allows us to monitor progress. The other options control the way points are divided into sets.
Point set. The AAMToolbox supports the concept of point model 'sets'. In other words, selections of points can be grouped together into a set. Set_1 is always all the points. The points that are currently selected are shown as stars. Here, all the points are selected. The options are discussed in the Tutorial on 'sets'.