Download presentation
Presentation is loading. Please wait.
Published byDarcy O’Connor’ Modified over 9 years ago
1
1 ECE 738 Paper presentation Paper: Active Appearance Models Author: T.F.Cootes, G.J. Edwards and C.J.Taylor Student: Zhaozheng Yin Instructor: Dr. Yuhen Hu Date: Feb. 14 2005 Note: some slides copyrighted by the original authors
2
2 Papers T.F.Cootes, G.J. Edwards and C.J.Taylor. "Active Appearance Models", IEEE PAMI, Vol.23, No.6, pp.681-685, 2001 T.F.Cootes, G.J. Edwards and C.J.Taylor. "Active Appearance Models", in Proc. European Conference on Computer Vision 1998 Vol. 2, pp. 484-498, Springer, 1998. (Best paper prize)
3
3 Flexible models Statistical Shape Models Active Shape Models (ASM) Combined Appearance Models Active Appearance Models (AAM) Shape modelASMAAM
4
4 Flexible models Shape Shape is the geometric information invariant to a particular class of transformations (translation+rotation+scaling) Appearance
5
5 Applications Flexible models can be used to: –Locate examples of structures in new images –Classify objects found in images –Filter images to pick out interesting features Practical problems: Face recognition, industrial inspection and medical image analysis
6
6 Flexible models Statistical Shape Models Active Shape Models (ASM) Combined Appearance Models Active Appearance Models (AAM) Shape modelASMAAM
7
7 Statistical Shape Models Given sets of training images build a statistical shape model Each shape in the training set is represented by a set of n labeled landmark points, which must be consistent from one shape to the next. Ex. The outline of a hand is represented by 72 labeled points 1 2 3 4 5 6
8
8 Statistical Shape Models Each shape is represented by a 2n*1 vector Using Principal Component Analysis (PCA) or eigen analysis, the shape model is where P is a 2n*t matrix whose columns are unit vectors along principle axes or basis vector b is a t*1 vector of shape parameters or weight Ex. Vary the first three parameters of the shape vector, b, one at a time
9
9 Aligning Two Shapes Procrustes analysis: –Find transformation which minimizes –Resulting shapes have approximately the same scale and orientation
10
10 Aligning a Set of Shapes Generalized Procrustes Analysis –Find the transformations T i which minimise –Where –Under the constraint that
11
11 Dimensionality Reduction
12
12 Dimensionality Reduction Data lies in subspace of reduced dim. However, for some t,
13
13 Statistical Shape Models Another example Shape of the facial structures with 68 points
14
14 Flexible models Statistical Shape Models Active Shape Models (ASM) Combined Appearance Models Active Appearance Models (AAM)
15
15 Active Shape Models Suppose we have a statistical shape model –Trained from sets of examples How do we use it to interpret new images? Use an “Active Shape Model” Iterative method of matching model to image
16
16 Active Shape Models (ASM) Assume we have an initial estimate for the pose and shape parameters (eg the mean shape).
17
17 Active Shape Models (ASM) Iterative algorithm –Look along normals through each model point to find the best local match for the model of the image appearance at that point (eg strongest nearby edge) –Update the pose and shape parameters to best fit the model instance to the found points –Repeat until convergence Initial pos5 th iterationsconvergence
18
18 ASM Search Overview Local optimization Initialize near target –Search along profiles for best match,X’ –Update parameters to match to X’.
19
19 Active Shape Models (ASM) Performance improvement (Multi-resolution implementation/coarse-to- fine approach) we start searching on a coarse level of a Gaussian image pyramid, and progressively refine. This leads to much faster, more accurate and more robust search.
20
20 Flexible models Statistical Shape Models Active Shape Models (ASM) Combined Appearance Models Active Appearance Models (AAM)
21
21 Combined Appearance Models Idea: Statistical Shape Model models the shape change of an object construct a similar statistical model to represented the intensity variation across a region (Think: skeleton and muscle)
22
22 Combined Appearance Models Method: Given a set of training images, labeled with land mark points, we can use image warping to deform each image so that the object has the mean shape, then build a statistical model of the grey-levels across the object. Ex. The central image is the mean
23
23 Building Appearance Models For each example extract shape vector Build statistical shape model, Shape, x = (x 1,y 1, …, x n, y n ) T
24
24 Building Appearance Models For each example, extract texture vector Shape, x = (x 1,y 1, …, x n, y n ) T Texture, g Warp to mean shape
25
25 Warping texture Problem: –Given corresponding points in two images, how do we warp one into the other? Two common solutions 1.Piece-wise linear using triangle mesh 2.Thin-plate spline interpolation
26
26 Interpolation using Triangles Region of interest enclosed by triangles. Moving nodes changes each triangle Just need to map regions between two triangles
27
27 Barycentric Co-ordinates
28
28 Building Texture Models For each example, extract texture vector Normalise vectors (as for eigenfaces) Build eigen-model Texture, g Warp to mean shape
29
29 Combined Models Shape and texture often correlated –When smile, shadows change (texture) and shape changes Learning this correlation leads to more compact (and specific) model
30
30 Combined Appearance Models Varying c changes both shape and texture In this paper:
31
31 Flexible models Statistical Shape Models Active Shape Models (ASM) Combined Appearance Models Active Appearance Models (AAM)
32
32 Active Appearance Models Suppose we have a statistical appearance model –Trained from sets of examples How do we use it to interpret new images? Use an “Active Appearance Model” Iterative method of matching model to image
33
Interpreting Images Place model in image Measure Difference Update Model Iterate
34
34 Active Appearance Models (AAM) AAM vs. ASM The Active Appearance Model (AAM) is a generalization of the widely used Active Shape Model approach, but uses all the information in the image region covered by the target object, rather than just that near modeled edges.
35
35 Quality of Match Residual difference: p : all parameters, eg Ideally find and optimize p(p|r) Cannot usually know p(r)
36
36 Quality of Match Usually attempt to maximize (1) This is equivalent to maximizing (2) Which is equivalent to minimizing (3)
37
37 Quality of Match Assuming independent Gaussian noise: (1) (2) (3)
38
38 Quality of Match If we assume all parameters equally likely (within certain limits) (1) Thus we need to find the parameters which minimize the sum of squares of residuals, (2)
39
39 Learning the Relationship For each of a training set –find best fit given landmarks, p –randomly perturb p by p and measure (in model frame)
40
40 More Analytic Approach Taylor expansion: Final result in the paper: where
41
41 AAM Algorithm Initial estimate I m (p) Start at coarse resolution At each resolution –Measure residual error, r(p) –predict correction p = -Rr –p p - p –repeat to convergence
42
42 Active Appearance Models (AAM) Example A face model built from 400 images. The figure below shows frames from an AAM search for a new face, each starting with the mean model displaced from the true face centre. Figure: Multi-Resolution search from displaced position
43
43 Problems Automatic Model Building –Require correspondences across a set –Hard to achieve reliably Reliable measure of quality of fit –Necessary for good matching –Essential for detection Model initialization –Getting good initial estimate can be hard – 10% percent of the image size and scale
44
44 AAM Summery Parameters An AAM contains a statistical model of the shape and grey-level appearance of the object of interest. Goals Matching to an image involves finding model parameters which minimize the difference between the image and a synthesized model example, projected into the image. The potentially large number of parameters makes this a difficult problem.
45
45 AAM Summery Iterations We observe that displacing each model parameter from the correct value induces a particular pattern in the residuals. In a training phase, the AAM learns a linear model of the relationship between parameter displacements and the induced residuals. During search it measures the residuals and uses this model to correct the current parameters, leading to a better fit.
46
46 Some other group’s AAM research Simon Baker and Iain Matthews at CMU are doing some wonderful work on analyzing and improving the AAM update algorithm. They have gone on to develop fast tracking, model building and 3D reconstruction algorithms. Awesome.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.