SlideShare a Scribd company logo
1 of 15
Download to read offline
1
Tim Cootes 2014
Statistical Models of Shape and
Appearance
Tim Cootes
Imaging Sciences,
The University of Manchester
http://personalpages.manchester.ac.uk/staff/timothy.f.cootes
(or search for “Tim Cootes”)
Aim
Interpret images using models of appearance
– ‘explain’the image
Fit Model
Model
Parameters
Why is it difficult?
• Wide variation in shape and appearance
Tim Cootes 2013
Overview
• Statistical Shape Models
• Combined Appearance Models
• Matching Algorithms:
– Active Shape Models
– Active Appearance Models
– Constrained Local Models
• Groupwise registration
– Obtain correspondences to build models
Model Building
Example Images
Shape Models
Appearance Models
Statistical
Analysis
Statistical Shape Models
• Statistical model of shape variation
2
Building Shape Models
• Require labelled training images
– landmarks represent correspondences
T
nn ,y,,y,x,(x )11 x
Shape
• Need to model the variability in shape
• What is shape?
– Geometric information that remains when
location, scale and rotational effects removed
(Kendall)
Same Shape Different Shape
Shape
• More generally
– Shape is the geometric information invariant
to a particular class of transformations
• Transformations:
– Euclidean (translation + rotation)
– Similarity (translation+rotation+scaling)
– Affine
Statistical Shape Models
Given a set of shapes:
• Align shapes into common frame
– Procrustes analysis
• Estimate shape distribution p(x)
– Single Gaussian often sufficient
• Approximate with parameterised model
Pbxx 
Aligning Two Shapes
• Procrustes analysis:
– Find transformation which minimises
– Resulting shapes have
• identical CoG
• approximately the same scale and orientation
2
21 |)(| xx T
Aligning a Set of Shapes
• Generalised Procrustes Analysis
– Find the transformations Ti which minimise
– Where
– Under the constraint that
2
|)(| iiT xm 
)(
1
iiT
n
xm 
1|| m
3
Aligning Shapes
• Generalised Procrustes Analysis
– Align each shape to the mean
Unaligned Align with translation Align with similarity
Aligned Shapes
• Need to model the aligned shapes
x
spaceshape
Dimensionality Reduction
• Co-ordinates often correlated
• Nearby points move together
11bpxx 
1b
x
x
1p
Principal Component Analysis
• Compute eigenvectors of covariance, S
• Eigenvectors : main directions
• Eigenvalues : variance along eigenvector
11p
22 p
x
1x
2x
Dimensionality Reduction
• Data lies in subspace of reduced dim.
• However, for some t,
i
i
nnbb ppxx  11
tjbj  if0
t
)isof(Variance jjb 
Building Shape Models
• Given aligned shapes, { }
• Apply PCA
– Compute mean and eigenvectors of covar.
• P – First t eigenvectors of covar. matrix
• b – Shape model parameters
ix


332211 pppx
Pbxx
bbb
4
Face Model Modes
• 100 people, 4 images each
1Varying b 2Varying b 3Varying b 4Varying b
 332211 pppxx bbb
Hand Shape Model
1Varying b 2Varying b 3Varying b
Spine Shape Model Knee shape model
 1b  2b  3b
Xenios Milidonis & ARCOGEN
Prostate Model Mode 1
Danny Allen
Brain structure modes
5
Appearance Models
• Model both shape and texture
• Use all image information
+ =
Building Texture Models
• For each example, extract texture vector
• Normalise vectors
• Build eigen-model
Texture, g
Warp to
mean
shape
ggbPgg 
gg  /)( 1gg 
Face Texture Model
1b12  12 
2b22  22 
3b32  32 
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
Learning Correlations
sb
gbModel assuming
shape and texture
independent
Model accounting for
correlations between shape
and texture
Learning Correlations
• For each image in set we have best fitting
shape and texture param.s
• Construct new vector,
• Apply PCA (mean + eigenvec.s of covar.)
gs bb ,









g
s
c
b
Wb
b
cQgg
cQxx
g
s

 Varying c changes both
shape and texture
6
Global Face Model
• 400 images from 100 different people
Note: Mixes ID, expression, head pose etc
Face Variation
Gender Change: Ethnic Group:
Face Variation
Age Change:
Model Matching
Active Shape Models
• Match shape model to new image
• Require:
– Statistical shape model
– Model of image structure at each point
Model Point
Model of Profile
Model of Region
Placing model in image
• The model points are defined in a model
co-ordinate frame
• Must apply global transformation,T, to
place in image
Model Frame Image
Pbxx 
)( PbxX  T
),,,;( sYXT ccx
7
ASM Search Overview
• Local optimisation
• Initialise near target
– Search nearby for best match, X’
– Update parameters to match to X’.
)','( ii YX
Local Structure Models
• Need to search for local match for each point
• Often sufficient to search along profile
• Model
– Strongest edge
– Correlation
– Statistical model of profile/patch
– Discriminative model
Profile Models
• Sometimes true point not on strongest
edge
• Model local structure to help locate the
point
Strongest edge True position
Profile Models
• For each point in model
– For each training image
• Sample values along profile
• Normalise
– Build statistical model
• eg Gaussian PDF using eigen-model approach
Or:
• Train classifier to distinguish true/false positions
Searching Along Profiles
• During search we look along a normal for
the best match for each profile
)(xg
x
))(( xp g
)(xg
Form vector from samples
about x
Search algorithm
• Search along profile
• Update global transformation, T, and
parameters, b, to minimise
2
|)(| PbxX T
),( ii YX
8
Update step
• Hard constraints
• Soft constraints
• Can also weight by quality of local match
tp)p(T  bPbxX subject to|)(|Minimise 2
)(log/|)()(|Minimise 2
r
21
)p(T bPbxX 

Multi-Resolution Search
• Train models at each level of pyramid
– Gaussian pyramid with step size 2
– Use same points but different local models
• Start search at coarse resolution
– Refine at finer resolution
Example : Hip Radiograph
11bpxx 
11  33 1  b
ASM Example: Spine
3D Face Model
Mean
1 2
3
Angela Caunce
Trained on approx. 1000 people
Matching 3D ASMs
• Search for each point independently
– Local model depends on current pose
• Estimate shape param.s + projection
Angela Caunce
9
Face Tracking with a 3D Model
Angela Caunce
Active Shape Models
• Advantages
– Fast, simple, accurate
– Efficient to extend to 3D
• Disadvantages
– Only sparse use of image information
– Treat local models as independent
Active Appearance Models
• We have a statistical appearance model
– Trained from sets of examples
• How do we match to new images?
• Use an “Active Appearance Model”
– Efficient iterative matching method
Model Parameters
• Combined model parameters, c
– Shape parameters
– Texture model parameters
• Pose parameters
• Texture transformation 1gg   mim
c
Q
Q
b
b














2
1
g
s
),,,( sYX cc
),,,,,,( sYX cccp 
Key Step in AAM
• Estimate parameter update from current
image sample
Diff. in Ref Frame
pd
pd
Estimating the update step
Linear:
R estimated
– Using Jacobian
– Using Linear Regression
– Using Canonical Correlation Analysis
Non-linear:
– Boosted classifiers
– Boosted regression
)(sp Fd
Rsp d
10
Justification for Jacobian
• Residual difference:
• Measurements in reference frame:
– Model:
– Sample warped to ref:
• Simplest form : Minimise
– Can add robust kernels
)()()( pIpIpr imm 
cQgpI gm  ˆ)(
)(pIim
2
|)(|)( prp E
Prediction using the Jacobian
p
p
r
prppr δ


 )()( d
)()()E( pprpprpp ddd  T
minimizeTo
TT
p
r
p
r
p
r
JR

















1
)(δ pRrp 
p
r
J



j
i
ij
dp
dr
J 
Taylor expansion:
Estimating Jacobian (gradient)
• Need estimate of the Jacobian:
• Estimate each term by small
displacements on the training set
p
r
J



j
i
ij
dp
dr
J 
d
dd
2
)()( 

jiji
ij
pdrpdr
J
Average over all examples
How Good are the Predictions?
• Predicted dx vs. actual dx over test set
Multi-Resolution Predictions
• Predicted dx vs. actual dx over test set
AAM Algorithm
• Initial estimate Im(p)
• Start at coarse resolution
• At each resolution
– Measure residual error, r(p)
– predict correction dp = Rr
– p  p - dp
– repeat to convergence
11
Face Search Face Search
Sub-cortical Structures
Initial Position Converged
Brain search
3D Model-Based Segmentation
Model of femur Using the model to segment the femur
Regression Approach
• Assume functional relationship
s = normalised intensities, or residuals
• Learn function from displaced training
examples
)(sp Fd
}{ ipd )}({ itruei ppss d
Random perturbations Image samples
12
Linear Regression
Rsp d
Scale Rotation Y-trans Shape 1X-trans Shape 2
Phil Tresadern
frameref.inintensityNormaliseds
Rows of R from PC Regression
R from Linear Regression better than that from Jacobian
Non-linear Regression
• Boosted Haar features:
 

n
i iij Hfp 1
))(( sd
featureHaar:)(siH
function1DLearnt:)(xfi
Phil Tresadern
Linear vs Non-linear
– Non-linear methods perform better for poor
initializations but no better close to solution
Phil Tresadern
Jacobian
Linear Regression
Non-linear Regression
AAM Tracking
• Sequence of AAMs with increasing
resolution
• Generic – trained on range of people
• Search each frame in a few ms
Mircea Ionita,
Phil Tresadern
AAM Developments
• Improved optimisation [Matthews &Baker, IJCV2004]
• Improved features [Cootes:CVPR01]
• 2D+3D AAMs [Xiao:CVPR04]
• Canonical Correlation Analysis [Donner:PAMI06]
• Update matrix computation [Saragih:ICPR06]
• Boosted Appearance Models [Liu:CVPR07]
• Non-linear updates [Saragih:ICCV07]
• Fast boosted AAMs [Tresadern:BMVC10]
• Active Orientation Models [Tzimiropoulos:2013]
• Supervised Descent Method [Xiong:CVPR2013]
• Explicit Shape Regression [Cao:CVPR12]
(And lots of others)
Local Model Matching
Find shape and pose parameters to optimise
Shape param.s Pose params
13
Classification vs Regression
Classification:
• Is this the point?
Classification vs Regression
Classification:
• Is this the point?
Regression:
• Where is the point?
Finding Points using Regression Voting
• Train “Random Forest” to predict offsets
Each patch fed into each tree to predict offset and weight
Finding Points using Regression Voting
• Scan regressor across region
• Each patch produces 1 vote per tree
• Accumulate votes in an array
Fully automated femur detection
• Tested on 839 radiographs (ARCOGEN)
Error <0.9mm for 99% of cases
Claudia Lindner
Knee Radiographs
Median 95%ile 99%ile
Mean point-to-curve error:
< 1mm for 99% of 500 images
Fully automatic search results
using AP knee radiographs.
Claudia Lindner, Xenios Milidonis
14
Groupwise Registration
• Accurate correspondences required to
build shape/appearance models
– Slow/hard to manually annotate data
…
…
Tim Cootes 2011
Goal: Fully Automatic System
• Build models from unlabelled images
… Model
Approach
…
Find the correspondences across the set of images
Construct model in an ‘average’ reference frame
Representing of Deformation
• Use piece-wise linear warp field
– Triangular/Tetrahedral mesh
– Simple, compact, efficient
– Trivially invertible
Groupwise Algorithm
• Initialisation: Affine registration
• Generate control points
• Repeat
– Build model from current data
– For each image
• Optimise positions of control points
• Until happy/dead/conference deadline etc
Image Features
Linear Normalisation
),max(
ˆ
mini
ii
i
gg
g


Local z-normalisation
Raw Image

gg
g i
i
ˆ

1) z-norm
2) Smoothed |Gx|
3) Smoothed |Gy|
15
Registering Faces
• 293 individuals from XM2VTS
• Evolution of robust estimate of mean:
Example Modes
Varying appearance model parameters
(Note shadowing caused by glasses)
Modes of model built from images without glasses:
Hand Radiographs
Registered Mean
Zhang Pei
3D Registration
• Registering 270 3D MR Brain Images
• Evolution of the model mean:
Summary
• Statistical shape models
– Powerful representations of objects
– Usually only need small number of params
• Model matching methods
– ASM/CLM: Local search + Shape Regularisation
– AAMs: Direct prediction of update steps
• Groupwise Registration
– Automatically build models from sets of
images

More Related Content

What's hot

Leveraging Multiple GPUs and CPUs for Graphlet Counting in Large Networks
Leveraging Multiple GPUs and CPUs for  Graphlet Counting in Large Networks Leveraging Multiple GPUs and CPUs for  Graphlet Counting in Large Networks
Leveraging Multiple GPUs and CPUs for Graphlet Counting in Large Networks Ryan Rossi
 
COMPOSITE TEXTURE SHAPE CLASSIFICATION BASED ON MORPHOLOGICAL SKELETON AND RE...
COMPOSITE TEXTURE SHAPE CLASSIFICATION BASED ON MORPHOLOGICAL SKELETON AND RE...COMPOSITE TEXTURE SHAPE CLASSIFICATION BASED ON MORPHOLOGICAL SKELETON AND RE...
COMPOSITE TEXTURE SHAPE CLASSIFICATION BASED ON MORPHOLOGICAL SKELETON AND RE...sipij
 
Various object detection and tracking methods
Various object detection and tracking methodsVarious object detection and tracking methods
Various object detection and tracking methodssujeeshkumarj
 
View and illumination invariant iterative based image matching
View and illumination invariant iterative based image matchingView and illumination invariant iterative based image matching
View and illumination invariant iterative based image matchingeSAT Journals
 
Numerical analysis m1 l3slides
Numerical analysis  m1 l3slidesNumerical analysis  m1 l3slides
Numerical analysis m1 l3slidesSHAMJITH KM
 
02 image processing
02 image processing02 image processing
02 image processingankit_ppt
 
Linear Programming Feasible Region
Linear Programming Feasible RegionLinear Programming Feasible Region
Linear Programming Feasible RegionVARUN MODI
 
2001 transformations reflections etc
2001 transformations reflections etc2001 transformations reflections etc
2001 transformations reflections etcjbianco9910
 
Solving linear equations from an image using ann
Solving linear equations from an image using annSolving linear equations from an image using ann
Solving linear equations from an image using anneSAT Journals
 
Adaptive physics–inspired facial animation
Adaptive physics–inspired facial animationAdaptive physics–inspired facial animation
Adaptive physics–inspired facial animationRichard Southern
 
p-Laplace Variational Image Inpainting Model Using Riesz Fractional Different...
p-Laplace Variational Image Inpainting Model Using Riesz Fractional Different...p-Laplace Variational Image Inpainting Model Using Riesz Fractional Different...
p-Laplace Variational Image Inpainting Model Using Riesz Fractional Different...IJECEIAES
 
View and illumination invariant iterative based image
View and illumination invariant iterative based imageView and illumination invariant iterative based image
View and illumination invariant iterative based imageeSAT Publishing House
 
Multi-Image Matching
Multi-Image MatchingMulti-Image Matching
Multi-Image MatchingSaad Khalaf
 

What's hot (20)

D034017022
D034017022D034017022
D034017022
 
Leveraging Multiple GPUs and CPUs for Graphlet Counting in Large Networks
Leveraging Multiple GPUs and CPUs for  Graphlet Counting in Large Networks Leveraging Multiple GPUs and CPUs for  Graphlet Counting in Large Networks
Leveraging Multiple GPUs and CPUs for Graphlet Counting in Large Networks
 
H045064549
H045064549H045064549
H045064549
 
COMPOSITE TEXTURE SHAPE CLASSIFICATION BASED ON MORPHOLOGICAL SKELETON AND RE...
COMPOSITE TEXTURE SHAPE CLASSIFICATION BASED ON MORPHOLOGICAL SKELETON AND RE...COMPOSITE TEXTURE SHAPE CLASSIFICATION BASED ON MORPHOLOGICAL SKELETON AND RE...
COMPOSITE TEXTURE SHAPE CLASSIFICATION BASED ON MORPHOLOGICAL SKELETON AND RE...
 
Lec15 sfm
Lec15 sfmLec15 sfm
Lec15 sfm
 
Derivative free optimizations
Derivative free optimizationsDerivative free optimizations
Derivative free optimizations
 
Various object detection and tracking methods
Various object detection and tracking methodsVarious object detection and tracking methods
Various object detection and tracking methods
 
View and illumination invariant iterative based image matching
View and illumination invariant iterative based image matchingView and illumination invariant iterative based image matching
View and illumination invariant iterative based image matching
 
Numerical analysis m1 l3slides
Numerical analysis  m1 l3slidesNumerical analysis  m1 l3slides
Numerical analysis m1 l3slides
 
Lec08 fitting
Lec08 fittingLec08 fitting
Lec08 fitting
 
02 image processing
02 image processing02 image processing
02 image processing
 
Linear Programming Feasible Region
Linear Programming Feasible RegionLinear Programming Feasible Region
Linear Programming Feasible Region
 
2001 transformations reflections etc
2001 transformations reflections etc2001 transformations reflections etc
2001 transformations reflections etc
 
D05511625
D05511625D05511625
D05511625
 
Solving linear equations from an image using ann
Solving linear equations from an image using annSolving linear equations from an image using ann
Solving linear equations from an image using ann
 
Adaptive physics–inspired facial animation
Adaptive physics–inspired facial animationAdaptive physics–inspired facial animation
Adaptive physics–inspired facial animation
 
PPT s06-machine vision-s2
PPT s06-machine vision-s2PPT s06-machine vision-s2
PPT s06-machine vision-s2
 
p-Laplace Variational Image Inpainting Model Using Riesz Fractional Different...
p-Laplace Variational Image Inpainting Model Using Riesz Fractional Different...p-Laplace Variational Image Inpainting Model Using Riesz Fractional Different...
p-Laplace Variational Image Inpainting Model Using Riesz Fractional Different...
 
View and illumination invariant iterative based image
View and illumination invariant iterative based imageView and illumination invariant iterative based image
View and illumination invariant iterative based image
 
Multi-Image Matching
Multi-Image MatchingMulti-Image Matching
Multi-Image Matching
 

Viewers also liked

Integrated hydrodynamic and structural analysis webinar presentation tcm4 601490
Integrated hydrodynamic and structural analysis webinar presentation tcm4 601490Integrated hydrodynamic and structural analysis webinar presentation tcm4 601490
Integrated hydrodynamic and structural analysis webinar presentation tcm4 601490Dai Hung
 
Computation of Hydrodynamic Characteristics of Ships using CFD
Computation of Hydrodynamic Characteristics of Ships using CFDComputation of Hydrodynamic Characteristics of Ships using CFD
Computation of Hydrodynamic Characteristics of Ships using CFDNabila Naz
 
Hydrodynamic Modeling of the Physical Dispersion of Radium-Enriched Barite Ai...
Hydrodynamic Modeling of the Physical Dispersion of Radium-Enriched Barite Ai...Hydrodynamic Modeling of the Physical Dispersion of Radium-Enriched Barite Ai...
Hydrodynamic Modeling of the Physical Dispersion of Radium-Enriched Barite Ai...Donald Carpenter
 
DSD-INT 2016 Hydrodynamic modeling and resource-device suitability analysis o...
DSD-INT 2016 Hydrodynamic modeling and resource-device suitability analysis o...DSD-INT 2016 Hydrodynamic modeling and resource-device suitability analysis o...
DSD-INT 2016 Hydrodynamic modeling and resource-device suitability analysis o...Deltares
 
Introduction to fluid mechanics
Introduction to fluid mechanicsIntroduction to fluid mechanics
Introduction to fluid mechanicsMohsin Siddique
 
Artificial neural networks
Artificial neural networksArtificial neural networks
Artificial neural networksstellajoseph
 

Viewers also liked (6)

Integrated hydrodynamic and structural analysis webinar presentation tcm4 601490
Integrated hydrodynamic and structural analysis webinar presentation tcm4 601490Integrated hydrodynamic and structural analysis webinar presentation tcm4 601490
Integrated hydrodynamic and structural analysis webinar presentation tcm4 601490
 
Computation of Hydrodynamic Characteristics of Ships using CFD
Computation of Hydrodynamic Characteristics of Ships using CFDComputation of Hydrodynamic Characteristics of Ships using CFD
Computation of Hydrodynamic Characteristics of Ships using CFD
 
Hydrodynamic Modeling of the Physical Dispersion of Radium-Enriched Barite Ai...
Hydrodynamic Modeling of the Physical Dispersion of Radium-Enriched Barite Ai...Hydrodynamic Modeling of the Physical Dispersion of Radium-Enriched Barite Ai...
Hydrodynamic Modeling of the Physical Dispersion of Radium-Enriched Barite Ai...
 
DSD-INT 2016 Hydrodynamic modeling and resource-device suitability analysis o...
DSD-INT 2016 Hydrodynamic modeling and resource-device suitability analysis o...DSD-INT 2016 Hydrodynamic modeling and resource-device suitability analysis o...
DSD-INT 2016 Hydrodynamic modeling and resource-device suitability analysis o...
 
Introduction to fluid mechanics
Introduction to fluid mechanicsIntroduction to fluid mechanics
Introduction to fluid mechanics
 
Artificial neural networks
Artificial neural networksArtificial neural networks
Artificial neural networks
 

Similar to Statistical models of shape and appearance

Lec12: Shape Models and Medical Image Segmentation
Lec12: Shape Models and Medical Image SegmentationLec12: Shape Models and Medical Image Segmentation
Lec12: Shape Models and Medical Image SegmentationUlaş Bağcı
 
5_Geometric_Modeling.pdf
5_Geometric_Modeling.pdf5_Geometric_Modeling.pdf
5_Geometric_Modeling.pdfKeerthanaP37
 
Ch14-Part4-ImageRetrieval.pdf
Ch14-Part4-ImageRetrieval.pdfCh14-Part4-ImageRetrieval.pdf
Ch14-Part4-ImageRetrieval.pdfAbdullah Azzeh
 
187186134 5-geometric-modeling
187186134 5-geometric-modeling187186134 5-geometric-modeling
187186134 5-geometric-modelingmanojg1990
 
187186134 5-geometric-modeling
187186134 5-geometric-modeling187186134 5-geometric-modeling
187186134 5-geometric-modelingmanojg1990
 
5 geometric-modeling-ppt-university-of-victoria
5 geometric-modeling-ppt-university-of-victoria5 geometric-modeling-ppt-university-of-victoria
5 geometric-modeling-ppt-university-of-victoriaRaghu Gadde
 
Landmark detection using statistical shape modelling and template matching (M...
Landmark detection using statistical shape modelling and template matching (M...Landmark detection using statistical shape modelling and template matching (M...
Landmark detection using statistical shape modelling and template matching (M...Habib Baluwala
 
Geometric Modelling in Computer Aided Design.pptx
Geometric Modelling in Computer Aided Design.pptxGeometric Modelling in Computer Aided Design.pptx
Geometric Modelling in Computer Aided Design.pptxsuyogpatil49
 
06 image features
06 image features06 image features
06 image featuresankit_ppt
 
General Tips for participating Kaggle Competitions
General Tips for participating Kaggle CompetitionsGeneral Tips for participating Kaggle Competitions
General Tips for participating Kaggle CompetitionsMark Peng
 
Computer Vision descriptors
Computer Vision descriptorsComputer Vision descriptors
Computer Vision descriptorsWael Badawy
 
Building and deploying analytics
Building and deploying analyticsBuilding and deploying analytics
Building and deploying analyticsCollin Bennett
 
Solid modelling cg
Solid modelling cgSolid modelling cg
Solid modelling cgNareek
 
Introduction to Real Time Rendering
Introduction to Real Time RenderingIntroduction to Real Time Rendering
Introduction to Real Time RenderingKoray Hagen
 
Machine Learning Pipelines
Machine Learning PipelinesMachine Learning Pipelines
Machine Learning Pipelinesjeykottalam
 

Similar to Statistical models of shape and appearance (20)

Lec12: Shape Models and Medical Image Segmentation
Lec12: Shape Models and Medical Image SegmentationLec12: Shape Models and Medical Image Segmentation
Lec12: Shape Models and Medical Image Segmentation
 
5_Geometric_Modeling.pdf
5_Geometric_Modeling.pdf5_Geometric_Modeling.pdf
5_Geometric_Modeling.pdf
 
Ch14-Part4-ImageRetrieval.pdf
Ch14-Part4-ImageRetrieval.pdfCh14-Part4-ImageRetrieval.pdf
Ch14-Part4-ImageRetrieval.pdf
 
187186134 5-geometric-modeling
187186134 5-geometric-modeling187186134 5-geometric-modeling
187186134 5-geometric-modeling
 
187186134 5-geometric-modeling
187186134 5-geometric-modeling187186134 5-geometric-modeling
187186134 5-geometric-modeling
 
5 geometric modeling
5 geometric modeling5 geometric modeling
5 geometric modeling
 
5 geometric-modeling-ppt-university-of-victoria
5 geometric-modeling-ppt-university-of-victoria5 geometric-modeling-ppt-university-of-victoria
5 geometric-modeling-ppt-university-of-victoria
 
Landmark detection using statistical shape modelling and template matching (M...
Landmark detection using statistical shape modelling and template matching (M...Landmark detection using statistical shape modelling and template matching (M...
Landmark detection using statistical shape modelling and template matching (M...
 
Geometric Modelling in Computer Aided Design.pptx
Geometric Modelling in Computer Aided Design.pptxGeometric Modelling in Computer Aided Design.pptx
Geometric Modelling in Computer Aided Design.pptx
 
06 image features
06 image features06 image features
06 image features
 
General Tips for participating Kaggle Competitions
General Tips for participating Kaggle CompetitionsGeneral Tips for participating Kaggle Competitions
General Tips for participating Kaggle Competitions
 
Computer Vision descriptors
Computer Vision descriptorsComputer Vision descriptors
Computer Vision descriptors
 
Building and deploying analytics
Building and deploying analyticsBuilding and deploying analytics
Building and deploying analytics
 
Understandig PCA and LDA
Understandig PCA and LDAUnderstandig PCA and LDA
Understandig PCA and LDA
 
Solid modelling cg
Solid modelling cgSolid modelling cg
Solid modelling cg
 
Introduction to Real Time Rendering
Introduction to Real Time RenderingIntroduction to Real Time Rendering
Introduction to Real Time Rendering
 
Deep Learning Opening Workshop - Improving Generative Models - Junier Oliva, ...
Deep Learning Opening Workshop - Improving Generative Models - Junier Oliva, ...Deep Learning Opening Workshop - Improving Generative Models - Junier Oliva, ...
Deep Learning Opening Workshop - Improving Generative Models - Junier Oliva, ...
 
Mattar_PhD_Thesis
Mattar_PhD_ThesisMattar_PhD_Thesis
Mattar_PhD_Thesis
 
Machine Learning Pipelines
Machine Learning PipelinesMachine Learning Pipelines
Machine Learning Pipelines
 
Lec10 matching
Lec10 matchingLec10 matching
Lec10 matching
 

More from potaters

Image formation
Image formationImage formation
Image formationpotaters
 
Ln l.agapito
Ln l.agapitoLn l.agapito
Ln l.agapitopotaters
 
Motion and tracking
Motion and trackingMotion and tracking
Motion and trackingpotaters
 
BMVA summer school MATLAB programming tutorial
BMVA summer school MATLAB programming tutorialBMVA summer school MATLAB programming tutorial
BMVA summer school MATLAB programming tutorialpotaters
 
Vision Algorithmics
Vision AlgorithmicsVision Algorithmics
Vision Algorithmicspotaters
 
Performance characterization in computer vision
Performance characterization in computer visionPerformance characterization in computer vision
Performance characterization in computer visionpotaters
 
Machine learning for computer vision part 2
Machine learning for computer vision part 2Machine learning for computer vision part 2
Machine learning for computer vision part 2potaters
 
Machine learning fro computer vision - a whirlwind of key concepts for the un...
Machine learning fro computer vision - a whirlwind of key concepts for the un...Machine learning fro computer vision - a whirlwind of key concepts for the un...
Machine learning fro computer vision - a whirlwind of key concepts for the un...potaters
 
Low level vision - A tuturial
Low level vision - A tuturialLow level vision - A tuturial
Low level vision - A tuturialpotaters
 
Local feature descriptors for visual recognition
Local feature descriptors for visual recognitionLocal feature descriptors for visual recognition
Local feature descriptors for visual recognitionpotaters
 
Image segmentation
Image segmentationImage segmentation
Image segmentationpotaters
 
A primer for colour computer vision
A primer for colour computer visionA primer for colour computer vision
A primer for colour computer visionpotaters
 
Cognitive Vision - After the hype
Cognitive Vision - After the hypeCognitive Vision - After the hype
Cognitive Vision - After the hypepotaters
 
Graphical Models for chains, trees and grids
Graphical Models for chains, trees and gridsGraphical Models for chains, trees and grids
Graphical Models for chains, trees and gridspotaters
 
Medical image computing - BMVA summer school 2014
Medical image computing - BMVA summer school 2014Medical image computing - BMVA summer school 2014
Medical image computing - BMVA summer school 2014potaters
 
Decision Forests and discriminant analysis
Decision Forests and discriminant analysisDecision Forests and discriminant analysis
Decision Forests and discriminant analysispotaters
 

More from potaters (16)

Image formation
Image formationImage formation
Image formation
 
Ln l.agapito
Ln l.agapitoLn l.agapito
Ln l.agapito
 
Motion and tracking
Motion and trackingMotion and tracking
Motion and tracking
 
BMVA summer school MATLAB programming tutorial
BMVA summer school MATLAB programming tutorialBMVA summer school MATLAB programming tutorial
BMVA summer school MATLAB programming tutorial
 
Vision Algorithmics
Vision AlgorithmicsVision Algorithmics
Vision Algorithmics
 
Performance characterization in computer vision
Performance characterization in computer visionPerformance characterization in computer vision
Performance characterization in computer vision
 
Machine learning for computer vision part 2
Machine learning for computer vision part 2Machine learning for computer vision part 2
Machine learning for computer vision part 2
 
Machine learning fro computer vision - a whirlwind of key concepts for the un...
Machine learning fro computer vision - a whirlwind of key concepts for the un...Machine learning fro computer vision - a whirlwind of key concepts for the un...
Machine learning fro computer vision - a whirlwind of key concepts for the un...
 
Low level vision - A tuturial
Low level vision - A tuturialLow level vision - A tuturial
Low level vision - A tuturial
 
Local feature descriptors for visual recognition
Local feature descriptors for visual recognitionLocal feature descriptors for visual recognition
Local feature descriptors for visual recognition
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
A primer for colour computer vision
A primer for colour computer visionA primer for colour computer vision
A primer for colour computer vision
 
Cognitive Vision - After the hype
Cognitive Vision - After the hypeCognitive Vision - After the hype
Cognitive Vision - After the hype
 
Graphical Models for chains, trees and grids
Graphical Models for chains, trees and gridsGraphical Models for chains, trees and grids
Graphical Models for chains, trees and grids
 
Medical image computing - BMVA summer school 2014
Medical image computing - BMVA summer school 2014Medical image computing - BMVA summer school 2014
Medical image computing - BMVA summer school 2014
 
Decision Forests and discriminant analysis
Decision Forests and discriminant analysisDecision Forests and discriminant analysis
Decision Forests and discriminant analysis
 

Recently uploaded

Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 sciencefloriejanemacaya1
 
Work, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE PhysicsWork, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE Physicsvishikhakeshava1
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoSérgio Sacani
 
Artificial Intelligence In Microbiology by Dr. Prince C P
Artificial Intelligence In Microbiology by Dr. Prince C PArtificial Intelligence In Microbiology by Dr. Prince C P
Artificial Intelligence In Microbiology by Dr. Prince C PPRINCE C P
 
Orientation, design and principles of polyhouse
Orientation, design and principles of polyhouseOrientation, design and principles of polyhouse
Orientation, design and principles of polyhousejana861314
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...Sérgio Sacani
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfSwapnil Therkar
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PPRINCE C P
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bSérgio Sacani
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...anilsa9823
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsAArockiyaNisha
 
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Cultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxCultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxpradhanghanshyam7136
 
A relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfA relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfnehabiju2046
 
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.aasikanpl
 
GFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxGFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxAleenaTreesaSaji
 
NAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdf
NAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdfNAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdf
NAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdfWadeK3
 
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Lokesh Kothari
 

Recently uploaded (20)

Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 science
 
Work, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE PhysicsWork, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE Physics
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on Io
 
Artificial Intelligence In Microbiology by Dr. Prince C P
Artificial Intelligence In Microbiology by Dr. Prince C PArtificial Intelligence In Microbiology by Dr. Prince C P
Artificial Intelligence In Microbiology by Dr. Prince C P
 
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
 
Orientation, design and principles of polyhouse
Orientation, design and principles of polyhouseOrientation, design and principles of polyhouse
Orientation, design and principles of polyhouse
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C P
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based Nanomaterials
 
Engler and Prantl system of classification in plant taxonomy
Engler and Prantl system of classification in plant taxonomyEngler and Prantl system of classification in plant taxonomy
Engler and Prantl system of classification in plant taxonomy
 
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
 
Cultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxCultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptx
 
A relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfA relative description on Sonoporation.pdf
A relative description on Sonoporation.pdf
 
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
 
GFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxGFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptx
 
NAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdf
NAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdfNAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdf
NAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdf
 
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
 

Statistical models of shape and appearance

  • 1. 1 Tim Cootes 2014 Statistical Models of Shape and Appearance Tim Cootes Imaging Sciences, The University of Manchester http://personalpages.manchester.ac.uk/staff/timothy.f.cootes (or search for “Tim Cootes”) Aim Interpret images using models of appearance – ‘explain’the image Fit Model Model Parameters Why is it difficult? • Wide variation in shape and appearance Tim Cootes 2013 Overview • Statistical Shape Models • Combined Appearance Models • Matching Algorithms: – Active Shape Models – Active Appearance Models – Constrained Local Models • Groupwise registration – Obtain correspondences to build models Model Building Example Images Shape Models Appearance Models Statistical Analysis Statistical Shape Models • Statistical model of shape variation
  • 2. 2 Building Shape Models • Require labelled training images – landmarks represent correspondences T nn ,y,,y,x,(x )11 x Shape • Need to model the variability in shape • What is shape? – Geometric information that remains when location, scale and rotational effects removed (Kendall) Same Shape Different Shape Shape • More generally – Shape is the geometric information invariant to a particular class of transformations • Transformations: – Euclidean (translation + rotation) – Similarity (translation+rotation+scaling) – Affine Statistical Shape Models Given a set of shapes: • Align shapes into common frame – Procrustes analysis • Estimate shape distribution p(x) – Single Gaussian often sufficient • Approximate with parameterised model Pbxx  Aligning Two Shapes • Procrustes analysis: – Find transformation which minimises – Resulting shapes have • identical CoG • approximately the same scale and orientation 2 21 |)(| xx T Aligning a Set of Shapes • Generalised Procrustes Analysis – Find the transformations Ti which minimise – Where – Under the constraint that 2 |)(| iiT xm  )( 1 iiT n xm  1|| m
  • 3. 3 Aligning Shapes • Generalised Procrustes Analysis – Align each shape to the mean Unaligned Align with translation Align with similarity Aligned Shapes • Need to model the aligned shapes x spaceshape Dimensionality Reduction • Co-ordinates often correlated • Nearby points move together 11bpxx  1b x x 1p Principal Component Analysis • Compute eigenvectors of covariance, S • Eigenvectors : main directions • Eigenvalues : variance along eigenvector 11p 22 p x 1x 2x Dimensionality Reduction • Data lies in subspace of reduced dim. • However, for some t, i i nnbb ppxx  11 tjbj  if0 t )isof(Variance jjb  Building Shape Models • Given aligned shapes, { } • Apply PCA – Compute mean and eigenvectors of covar. • P – First t eigenvectors of covar. matrix • b – Shape model parameters ix   332211 pppx Pbxx bbb
  • 4. 4 Face Model Modes • 100 people, 4 images each 1Varying b 2Varying b 3Varying b 4Varying b  332211 pppxx bbb Hand Shape Model 1Varying b 2Varying b 3Varying b Spine Shape Model Knee shape model  1b  2b  3b Xenios Milidonis & ARCOGEN Prostate Model Mode 1 Danny Allen Brain structure modes
  • 5. 5 Appearance Models • Model both shape and texture • Use all image information + = Building Texture Models • For each example, extract texture vector • Normalise vectors • Build eigen-model Texture, g Warp to mean shape ggbPgg  gg  /)( 1gg  Face Texture Model 1b12  12  2b22  22  3b32  32  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 Learning Correlations sb gbModel assuming shape and texture independent Model accounting for correlations between shape and texture Learning Correlations • For each image in set we have best fitting shape and texture param.s • Construct new vector, • Apply PCA (mean + eigenvec.s of covar.) gs bb ,          g s c b Wb b cQgg cQxx g s   Varying c changes both shape and texture
  • 6. 6 Global Face Model • 400 images from 100 different people Note: Mixes ID, expression, head pose etc Face Variation Gender Change: Ethnic Group: Face Variation Age Change: Model Matching Active Shape Models • Match shape model to new image • Require: – Statistical shape model – Model of image structure at each point Model Point Model of Profile Model of Region Placing model in image • The model points are defined in a model co-ordinate frame • Must apply global transformation,T, to place in image Model Frame Image Pbxx  )( PbxX  T ),,,;( sYXT ccx
  • 7. 7 ASM Search Overview • Local optimisation • Initialise near target – Search nearby for best match, X’ – Update parameters to match to X’. )','( ii YX Local Structure Models • Need to search for local match for each point • Often sufficient to search along profile • Model – Strongest edge – Correlation – Statistical model of profile/patch – Discriminative model Profile Models • Sometimes true point not on strongest edge • Model local structure to help locate the point Strongest edge True position Profile Models • For each point in model – For each training image • Sample values along profile • Normalise – Build statistical model • eg Gaussian PDF using eigen-model approach Or: • Train classifier to distinguish true/false positions Searching Along Profiles • During search we look along a normal for the best match for each profile )(xg x ))(( xp g )(xg Form vector from samples about x Search algorithm • Search along profile • Update global transformation, T, and parameters, b, to minimise 2 |)(| PbxX T ),( ii YX
  • 8. 8 Update step • Hard constraints • Soft constraints • Can also weight by quality of local match tp)p(T  bPbxX subject to|)(|Minimise 2 )(log/|)()(|Minimise 2 r 21 )p(T bPbxX   Multi-Resolution Search • Train models at each level of pyramid – Gaussian pyramid with step size 2 – Use same points but different local models • Start search at coarse resolution – Refine at finer resolution Example : Hip Radiograph 11bpxx  11  33 1  b ASM Example: Spine 3D Face Model Mean 1 2 3 Angela Caunce Trained on approx. 1000 people Matching 3D ASMs • Search for each point independently – Local model depends on current pose • Estimate shape param.s + projection Angela Caunce
  • 9. 9 Face Tracking with a 3D Model Angela Caunce Active Shape Models • Advantages – Fast, simple, accurate – Efficient to extend to 3D • Disadvantages – Only sparse use of image information – Treat local models as independent Active Appearance Models • We have a statistical appearance model – Trained from sets of examples • How do we match to new images? • Use an “Active Appearance Model” – Efficient iterative matching method Model Parameters • Combined model parameters, c – Shape parameters – Texture model parameters • Pose parameters • Texture transformation 1gg   mim c Q Q b b               2 1 g s ),,,( sYX cc ),,,,,,( sYX cccp  Key Step in AAM • Estimate parameter update from current image sample Diff. in Ref Frame pd pd Estimating the update step Linear: R estimated – Using Jacobian – Using Linear Regression – Using Canonical Correlation Analysis Non-linear: – Boosted classifiers – Boosted regression )(sp Fd Rsp d
  • 10. 10 Justification for Jacobian • Residual difference: • Measurements in reference frame: – Model: – Sample warped to ref: • Simplest form : Minimise – Can add robust kernels )()()( pIpIpr imm  cQgpI gm  ˆ)( )(pIim 2 |)(|)( prp E Prediction using the Jacobian p p r prppr δ    )()( d )()()E( pprpprpp ddd  T minimizeTo TT p r p r p r JR                  1 )(δ pRrp  p r J    j i ij dp dr J  Taylor expansion: Estimating Jacobian (gradient) • Need estimate of the Jacobian: • Estimate each term by small displacements on the training set p r J    j i ij dp dr J  d dd 2 )()(   jiji ij pdrpdr J Average over all examples How Good are the Predictions? • Predicted dx vs. actual dx over test set Multi-Resolution Predictions • Predicted dx vs. actual dx over test set AAM Algorithm • Initial estimate Im(p) • Start at coarse resolution • At each resolution – Measure residual error, r(p) – predict correction dp = Rr – p  p - dp – repeat to convergence
  • 11. 11 Face Search Face Search Sub-cortical Structures Initial Position Converged Brain search 3D Model-Based Segmentation Model of femur Using the model to segment the femur Regression Approach • Assume functional relationship s = normalised intensities, or residuals • Learn function from displaced training examples )(sp Fd }{ ipd )}({ itruei ppss d Random perturbations Image samples
  • 12. 12 Linear Regression Rsp d Scale Rotation Y-trans Shape 1X-trans Shape 2 Phil Tresadern frameref.inintensityNormaliseds Rows of R from PC Regression R from Linear Regression better than that from Jacobian Non-linear Regression • Boosted Haar features:    n i iij Hfp 1 ))(( sd featureHaar:)(siH function1DLearnt:)(xfi Phil Tresadern Linear vs Non-linear – Non-linear methods perform better for poor initializations but no better close to solution Phil Tresadern Jacobian Linear Regression Non-linear Regression AAM Tracking • Sequence of AAMs with increasing resolution • Generic – trained on range of people • Search each frame in a few ms Mircea Ionita, Phil Tresadern AAM Developments • Improved optimisation [Matthews &Baker, IJCV2004] • Improved features [Cootes:CVPR01] • 2D+3D AAMs [Xiao:CVPR04] • Canonical Correlation Analysis [Donner:PAMI06] • Update matrix computation [Saragih:ICPR06] • Boosted Appearance Models [Liu:CVPR07] • Non-linear updates [Saragih:ICCV07] • Fast boosted AAMs [Tresadern:BMVC10] • Active Orientation Models [Tzimiropoulos:2013] • Supervised Descent Method [Xiong:CVPR2013] • Explicit Shape Regression [Cao:CVPR12] (And lots of others) Local Model Matching Find shape and pose parameters to optimise Shape param.s Pose params
  • 13. 13 Classification vs Regression Classification: • Is this the point? Classification vs Regression Classification: • Is this the point? Regression: • Where is the point? Finding Points using Regression Voting • Train “Random Forest” to predict offsets Each patch fed into each tree to predict offset and weight Finding Points using Regression Voting • Scan regressor across region • Each patch produces 1 vote per tree • Accumulate votes in an array Fully automated femur detection • Tested on 839 radiographs (ARCOGEN) Error <0.9mm for 99% of cases Claudia Lindner Knee Radiographs Median 95%ile 99%ile Mean point-to-curve error: < 1mm for 99% of 500 images Fully automatic search results using AP knee radiographs. Claudia Lindner, Xenios Milidonis
  • 14. 14 Groupwise Registration • Accurate correspondences required to build shape/appearance models – Slow/hard to manually annotate data … … Tim Cootes 2011 Goal: Fully Automatic System • Build models from unlabelled images … Model Approach … Find the correspondences across the set of images Construct model in an ‘average’ reference frame Representing of Deformation • Use piece-wise linear warp field – Triangular/Tetrahedral mesh – Simple, compact, efficient – Trivially invertible Groupwise Algorithm • Initialisation: Affine registration • Generate control points • Repeat – Build model from current data – For each image • Optimise positions of control points • Until happy/dead/conference deadline etc Image Features Linear Normalisation ),max( ˆ mini ii i gg g   Local z-normalisation Raw Image  gg g i i ˆ  1) z-norm 2) Smoothed |Gx| 3) Smoothed |Gy|
  • 15. 15 Registering Faces • 293 individuals from XM2VTS • Evolution of robust estimate of mean: Example Modes Varying appearance model parameters (Note shadowing caused by glasses) Modes of model built from images without glasses: Hand Radiographs Registered Mean Zhang Pei 3D Registration • Registering 270 3D MR Brain Images • Evolution of the model mean: Summary • Statistical shape models – Powerful representations of objects – Usually only need small number of params • Model matching methods – ASM/CLM: Local search + Shape Regularisation – AAMs: Direct prediction of update steps • Groupwise Registration – Automatically build models from sets of images