aam lecture
TRANSCRIPT
-
8/13/2019 Aam Lecture
1/29
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
-
8/13/2019 Aam Lecture
2/29
Interpreting Images (1)
Place model
in imageMeasure
DifferenceUpdate Model
Iterate
-
8/13/2019 Aam Lecture
3/29
Quality of Match
Residual difference:
p: all parameters, eg
Ideally find and optimisep(p|r)
Cannot usually knowp(r)
)()()( pIpIpr imm
)()()( prprp
T
E
),,,,( sYX cccp
)(
)()|()|(:ruleBayes
r
pprrp
p
ppp
-
8/13/2019 Aam Lecture
4/29
Quality of Match
Usually attempt to maximise
This is equivalent to maximising
Which is equivalent to minimising
)()|( ppr pp
)(log)|)((log pppr pp
)(log))((log)( pprp ppE
-
8/13/2019 Aam Lecture
5/29
Quality of Match
Assuming independent gaussian noise:
22
)()(
exp))((r
T
p
prpr
pr
constpr
T
22
)()())((log
prprpr
constpEr
)(log2
|)(|)(
2
2
ppr
p
-
8/13/2019 Aam Lecture
6/29
-
8/13/2019 Aam Lecture
7/29
Quality of Match
If we assume parameters have a gaussian
distribution,
We must then minimise
)5.0exp()( 1pSpp T
p
pSppr
p 1
2
2
5.02
|)(|)( T
r
E
-
8/13/2019 Aam Lecture
8/29
Optimising the Match
We must find pto minimiseE(p)
pmay have many (100s) of dimensions
Can put into a multi-dimensional optimiser
Likely to be rather slow
We can use some cunning approximations
to find good solution rapidly
-
8/13/2019 Aam Lecture
9/29
Key Insight
Image error related to error in p
-
8/13/2019 Aam Lecture
10/29
Learning the Relationship
For each of a training set
find best fit given landmarks, p
randomly perturb pby p and measure
(in model frame)
Multivariate regression to learn Rin
)()()( ppIpIppr imm
)( ppRrp
-
8/13/2019 Aam Lecture
11/29
More Analytic Approach
pp
rprppr
)()(
rrEppT,minimizeTo )E(
TT
p
r
p
r
p
rR
1
)( pRrp
-
8/13/2019 Aam Lecture
12/29
How Good are the Predictions?
Predicted xvs. actual x over test set
-
8/13/2019 Aam Lecture
13/29
Multi-Resolution Predictions
Predicted xvs. actual x over test set
-
8/13/2019 Aam Lecture
14/29
AAM Algorithm
Initial estimate Im(p)
Start at coarse resolution
At each resolution
Measure residual error, r(p)
predict correction p= Rr
p p- p
repeat to convergence
-
8/13/2019 Aam Lecture
15/29
Search Example
-
8/13/2019 Aam Lecture
16/29
Search Example
-
8/13/2019 Aam Lecture
17/29
Search Example
-
8/13/2019 Aam Lecture
18/29
Search Example
-
8/13/2019 Aam Lecture
19/29
Sub-cortical Structures
Initial Position Converged
-
8/13/2019 Aam Lecture
20/29
Sub-cortical Structures
Initial Position Converged
-
8/13/2019 Aam Lecture
21/29
Brain search
-
8/13/2019 Aam Lecture
22/29
-
8/13/2019 Aam Lecture
23/29
Examples of Failure
Poor initialisation can lead to failure
Only samples current region
may not cover full extent of target
-
8/13/2019 Aam Lecture
24/29
MR Knee Cartilage
-
8/13/2019 Aam Lecture
25/29
Higher Dimensional Images
3D
2D+time
3D+time
ASM relatively straightforward
AAMproblems with size of models
-
8/13/2019 Aam Lecture
26/29
Problems
Automatic Model Building
Require correspondences across a set
Hard to achieve reliably
Human interaction can impart expert
knowledge
-
8/13/2019 Aam Lecture
27/29
Correspondence Important
Manual Annotation Equally spaced points
-
8/13/2019 Aam Lecture
28/29
Problems
Reliable measure of quality of fit
Necessary for good matching
Essential for detection (eg is object present atall?)
RMS of residual too sensitive to positional
errors Model initialisation
Getting good initial estimate can be hard
-
8/13/2019 Aam Lecture
29/29
Problems
Failures to match at edges of model
Perhaps need some model of whole image
Multiple initialisations can help
Model explains region under itself very
well, but fails to explain all it could.