AAMToolbox Documentation: Difference between revisions

From BanghamLab
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
Viewing these pages. Some versions of ''Firefox'' and ''Explorer'' do not create satisfactory prints even though you can view the pages with no problems. ''Chrome'' does appear to produce good printouts.
Viewing these pages. Some versions of ''Firefox'' and ''Explorer'' do not create satisfactory prints even though you can view the pages with no problems. ''Chrome'' does appear to produce good printouts.
=Three ways to use ''AAMToolbox ''=
=Three ways to use ''AAMToolbox ''=
1) [[AAMToolbox Documentation#1 Creating shape models in 2D| '''Analysing shapes.''']] i.e. the arrangement of points around a shape<br><br>
1) [[AAMToolbox Documentation#1 Creating shape models in 2D| '''Comparing shapes from samples of different groups''']] for example, comparing faces from different cartoon characters<br><br>
2) [[AAMToolbox Documentation#2 Analysing both shape and appearance in 2D|'''Analysing shape and appearance.''']] In addition to the points around a shape, analyse the appearance (grey scale or colour) within the shape.<br><br>  
2) [[AAMToolbox Documentation#2 Creating shape models in 2D| '''Analysing shapes.''']] i.e. the arrangement of points around a shape<br><br>
3) [[AAMToolbox Documentation#3 Creating shape models in 3D|'''Analysing 3D shapes''']]  
3) [[AAMToolbox Documentation#3 Analysing both shape and appearance in 2D|'''Analysing shape and appearance.''']] In addition to the points around a shape, analyse the appearance (grey scale or colour) within the shape.<br><br>  
4) [[AAMToolbox Documentation#4 Creating shape models in 3D|'''Analysing 3D shapes''']]  


='''1''' Analysing 2D shapes using the Graphical User Interface=
='''1''' Analysing 2D shapes using the Graphical User Interface=
Line 15: Line 16:
  cd PRJ_CartoonFaces
  cd PRJ_CartoonFaces
Open AAMToolbox and do the same as the following.
Open AAMToolbox and do the same as the following.
===1 A===
===1===
The process of analysing a set of images, in this case a time sequence, is:-
{| border="0" cellpadding="5" cellspacing="3"
{| border="0" cellpadding="5" cellspacing="3"
|- valign="top"
|- valign="top"
|width="700pt"|[[AAMToolbox template|Tutorial on point model template.]]<br><br>An image ....<br><br>...prompts).<br><br>
|width="700pt"|
|width="300pt"|<wikiflv width="300" height="300" logo="false"  loop="true" background="white">GPT_tut_uniform_20110527-0003.flv|GPT_tut_uniform_20110527-0003_Last.png</wikiflv>
#Create a point model template. Points are placed around the object of interest, i.e. around a face or leaf. The set of points constitute the '''point model'''.  Every image will be marked up in the same way.
#*[[AAMToolbox template|Tutorial on point model template.]]
#Move the points to the corresponding positions in each image in turn. The positions must correspond to the same material points in each image, i.e. the tip of the leaf, or corner of an eye.
#*[[AAMToolbox point model editor|Tutorial on point model editor.]]
#Generate the shape model using principal component analysis (PCA)
#*[[AAMToolbox statistical model generator|Tutorial on statistical model generator.]]
#View the result by varying each important component in turn. We call this ''walking'' the shape model. This movie shows a walk.
#*[[AAMToolbox viewing statistical model|Tutorial on viewing statistical model.]]
|width="300pt"|<wikiflv width="300" height="300" logo="false"  loop="true" background="white">ShapeVectorWalkShowShape-21-Jun-2011-14-28-24 VD.flv|ShapeVectorWalkShowShape-21-Jun-2011-14-28-24 VD_First.png</wikiflv>
|}
|}
===1 B===
===1 B===

Revision as of 09:32, 1 February 2012

Go back to software

Tutorials on the Shape modelling toolbox

The models shown in these tutorials illustrate features of the AAMToolbox software. They are not designed to understand the shape and appearance modelling which is better done from the published literature for example.
Viewing these pages. Some versions of Firefox and Explorer do not create satisfactory prints even though you can view the pages with no problems. Chrome does appear to produce good printouts.

Three ways to use AAMToolbox

1) Comparing shapes from samples of different groups for example, comparing faces from different cartoon characters

2) Analysing shapes. i.e. the arrangement of points around a shape

3) Analysing shape and appearance. In addition to the points around a shape, analyse the appearance (grey scale or colour) within the shape.

4) Analysing 3D shapes

1 Analysing 2D shapes using the Graphical User Interface

How to use the tutorial. First download and install the AAMToolbox. A zip file containing the project (PRJ_CartoonFaces) is available here. Download and unzip into a directory. Then, from Matlab, change directory into the project

cd PRJ_CartoonFaces

Open AAMToolbox and do the same as the following.

1

The process of analysing a set of images, in this case a time sequence, is:-

  1. Create a point model template. Points are placed around the object of interest, i.e. around a face or leaf. The set of points constitute the point model. Every image will be marked up in the same way.
  2. Move the points to the corresponding positions in each image in turn. The positions must correspond to the same material points in each image, i.e. the tip of the leaf, or corner of an eye.
  3. Generate the shape model using principal component analysis (PCA)
  4. View the result by varying each important component in turn. We call this walking the shape model. This movie shows a walk.
<wikiflv width="300" height="300" logo="false" loop="true" background="white">ShapeVectorWalkShowShape-21-Jun-2011-14-28-24 VD.flv|ShapeVectorWalkShowShape-21-Jun-2011-14-28-24 VD_First.png</wikiflv>

1 B