Back to Tutorial pages
Template Editor
Start a new project from the AAMToolbox control panel
Tutorial on starting a new project
Notice that one of the images copied into the project has been co-opted as an icon representing the project.
Once the template has been added, a second icon will be automatically created that represents the template itself.
Select an image on which to base the template
Select the Template Editor from the AAMToolbox control panel. Then, from the Template Editor menu select New Template. This will open the directory of Cropped images and allow you to select one on which to base the template.
Idea: From the Templates menu, Templates (and associated images) can be copied from other, existing, projects.
|
The new template will be based on this image.
|
Create a new Template using the Template Editor
- Add points, select 'Add Point' and click on a feature that can be recognised in every image. For example, the junction between face and neck, or face and ear lobe, the ends.
- Having added the points, define those that you are most reliable as 'primary'. They will turn green. The remaining points are called secondary points and should be spread evenly between primary points.
- Secondary points can be spread evenly along a cubic spline that joints the primary landmarks by selecting 'Smooth Landmarks'.
- Lines joining points can aid understanding, but they do not contribute to the final shape model.
When the template is correct 'Quit (and Save)' using the button, bottom right.
|
- The point model is a set of points (red and green dots) that are used to build the shape model
- These are subdivided into primary (red) and secondary (green) landmarks
- Edges (red lines) are added to make the point model more understandable to humans
|
Choose a template using the AAMToolbox control panel
Having created a template it should be selected using the AAMToolbox main interface, 'Choose Template'.
Once the template has been added, a second icon will be automatically created that represents the template itself. Here it is the red smiling face.