Point Distribution Models Active Appearance Models Compilation based on: Dhruv Batra ECE CMU Tim Cootes Machester.

Slides:



Advertisements
Similar presentations
Pattern Recognition and Machine Learning
Advertisements

Applications of one-class classification
Active Appearance Models
EigenFaces and EigenPatches Useful model of variation in a region –Region must be fixed shape (eg rectangle) Developed for face recognition Generalised.
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.
Eigen Decomposition and Singular Value Decomposition
Principal Component Analysis Based on L1-Norm Maximization Nojun Kwak IEEE Transactions on Pattern Analysis and Machine Intelligence, 2008.
EigenFaces.
Face Recognition Ying Wu Electrical and Computer Engineering Northwestern University, Evanston, IL
Machine Learning Lecture 8 Data Processing and Representation
Figure-centric averages Antonio Torralba & Aude Oliva (2002) Averages: Hundreds of images containing a person are averaged to reveal regularities in the.
, Tim Landgraf Active Appearance Models AG KI, Journal Club 03 Nov 2008.
A 4-WEEK PROJECT IN Active Shape and Appearance Models
Principal Component Analysis CMPUT 466/551 Nilanjan Ray.
Data-driven Methods: Faces : Computational Photography Alexei Efros, CMU, Fall 2007 Portrait of Piotr Gibas © Joaquin Rosales Gomez.
Face Recognition using PCA (Eigenfaces) and LDA (Fisherfaces)
Active Appearance Models Computer examples A. Torralba T. F. Cootes, C.J. Taylor, G. J. Edwards M. B. Stegmann.
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.
Face Collections : Rendering and Image Processing Alexei Efros.
Smart Traveller with Visual Translator for OCR and Face Recognition LYU0203 FYP.
Statistical Shape Models Eigenpatches model regions –Assume shape is fixed –What if it isn’t? Faces with expression changes, organs in medical images etc.
Understanding Faces Computational Photography
Techniques for studying correlation and covariance structure
CS 485/685 Computer Vision Face Recognition Using Principal Components Analysis (PCA) M. Turk, A. Pentland, "Eigenfaces for Recognition", Journal of Cognitive.
Summarized by Soo-Jin Kim
Statistical Models of Appearance for Computer Vision
Recognition Part II Ali Farhadi CSE 455.
Principal Components Analysis BMTRY 726 3/27/14. Uses Goal: Explain the variability of a set of variables using a “small” set of linear combinations of.
Last tuesday, you talked about active shape models Data set of 1,500 hand-labeled faces 20 facial features (eyes, eye brows, nose, mouth, chin) Train 40.
Multimodal Interaction Dr. Mike Spann
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.
Texture. Texture is an innate property of all surfaces (clouds, trees, bricks, hair etc…). It refers to visual patterns of homogeneity and does not result.
N– variate Gaussian. Some important characteristics: 1)The pdf of n jointly Gaussian R.V.’s is completely described by means, variances and covariances.
ECE 8443 – Pattern Recognition LECTURE 08: DIMENSIONALITY, PRINCIPAL COMPONENTS ANALYSIS Objectives: Data Considerations Computational Complexity Overfitting.
Medical Image Analysis Dr. Mohammad Dawood Department of Computer Science University of Münster Germany.
CSE 185 Introduction to Computer Vision Face Recognition.
Computer Vision Hough Transform, PDM, ASM and AAM David Pycock
CSSE463: Image Recognition Day 27 This week This week Today: Applications of PCA Today: Applications of PCA Sunday night: project plans and prelim work.
Multimodal Interaction Dr. Mike Spann
Data-driven Methods: Faces : Computational Photography Alexei Efros, CMU, Fall 2012 Portrait of Piotr Gibas © Joaquin Rosales Gomez.
CS 691B Computational Photography Instructor: Gianfranco Doretto Data Driven Methods: Faces.
Active Appearance Models Dhruv Batra ECE CMU. Active Appearance Models 1.T.F.Cootes, G.J. Edwards and C.J.Taylor. "Active Appearance Models", in Proc.
Statistical Models of Appearance for Computer Vision 主講人:虞台文.
Face detection and recognition Many slides adapted from K. Grauman and D. Lowe.
CSSE463: Image Recognition Day 25 This week This week Today: Applications of PCA Today: Applications of PCA Sunday night: project plans and prelim work.
Introduction to Vectors and Matrices
CSSE463: Image Recognition Day 27
Interest Points EE/CSE 576 Linda Shapiro.
Background on Classification
University of Ioannina
LECTURE 10: DISCRIMINANT ANALYSIS
Data-driven Methods: Faces
Lecture 8:Eigenfaces and Shared Features
Recognition: Face Recognition
Data-driven Methods: Faces
Outline Peter N. Belhumeur, Joao P. Hespanha, and David J. Kriegman, “Eigenfaces vs. Fisherfaces: Recognition Using Class Specific Linear Projection,”
Singular Value Decomposition
Matrices Definition: A matrix is a rectangular array of numbers or symbolic elements In many applications, the rows of a matrix will represent individuals.
Computational Photography
Brief Review of Recognition + Context
Principal Component Analysis
PCA is “an orthogonal linear transformation that transfers the data to a new coordinate system such that the greatest variance by any projection of the.
CSSE463: Image Recognition Day 25
Feature space tansformation methods
CS4670: Intro to Computer Vision
LECTURE 09: DISCRIMINANT ANALYSIS
CSSE463: Image Recognition Day 25
Introduction to Vectors and Matrices
Presentation transcript:

Point Distribution Models Active Appearance Models Compilation based on: Dhruv Batra ECE CMU Tim Cootes Machester

Essence of the Idea (cont.)  Explain a new example in terms of the model parameters

So what’s a model Model “Shape” “texture”

Active Shape Models training set

Texture Models warp to mean shape

Intensity Normalisation  Allow for global lighting variations  Common linear approach Shift and scale so that  Mean of elements is zero  Variance of elements is 1  Alternative non-linear approach Histogram equalization  Transforms so similar numbers of each grey- scale value

Shape: Review of Construction Mark face region on training set Sample region Normalise Statistical Analysis The Fun Step

Multivariate Statistical Analysis  Need to model the distribution of normalised vectors Generate plausible new examples Test if new region similar to training set Classify region

Fitting a gaussian  Mean and covariance matrix of data define a gaussian model

Principal Component Analysis  Compute eigenvectors of covariance, S  Eigenvectors : main directions  Eigenvalue : variance along eigenvector

Eigenvector Decomposition  If A is a square matrix then an eigenvector of A is a vector, p, such that  Usually p is scaled to have unit length,|p|=1

Eigenvector Decomposition  If K is an n x n covariance matrix, there exist n linearly independent eigenvectors, and all the corresponding eigenvalues are non- negative.  We can decompose K as

Eigenvector Decomposition  Recall that a normal pdf has  The inverse of the covariance matrix is

Fun with Eigenvectors  The normal distribution has form

Fun with Eigenvectors  Consider the transformation

Fun with Eigenvectors  The exponent of the distribution becomes

Normal distribution  Thus by applying the transformation  The normal distribution is simplified to

Dimensionality Reduction  Co-ords often correllated  Nearby points move together

Dimensionality Reduction  Data lies in subspace of reduced dim.  However, for some t,

Approximation  Each element of the data can be written

Normal PDF

Useful Trick  If x of high dimension, S huge  If No. samples, N<dim(x) use

Building Eigen-Models  Given examples  Compute mean and eigenvectors of covar.  Model is then  P – First t eigenvectors of covar. matrix  b – Shape model parameters

Eigen-Face models  Model of variation in a region

Applications: Locating objects  Scan window over target region  At each position: Sample, normalise, evaluate p(g)  Select position with largest p(g)

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

Application: Object Detection  Scan image to find points with largest p(g)  If p(g)>p min then object is present  Strictly should use a background model:  This only works if the PDFs are good approximations – often not the case

Back (sadly) to Texture Models raster scan Normalizations

PCA Galore Reduce Dimensions of shape vector Reduce Dimension of “texture” vector They are still correlated; repeat..

Object/Image to Parameters modeling ~80

Playing with the Parameters First two modes of shape variationFirst two modes of gray-level variation First four modes of appearance variation

Active Appearance Model Search  Given: Full training model set, new image to be interpreted, “reasonable” starting approximation  Goal: Find model with least approximation error  High Dimensional Search: Curse of the dimensions strikes again

Active Appearance Model Search  Trick: Each optimization is a similar problem, can be learnt  Assumption: Linearity  Perturb model parameters with known amount  Generate perturbed image and sample error  Learn multivariate regression for many such perterbuations

Active Appearance Model Search  Algorithm:  current estimate of model parameters:  normalized image sample at current estimate

Active Appearance Model Search  Slightly different modeling:  Error term:  Taylor expansion (with linear assumption)  Min (RMS sense) error:  Systematically perturb and estimate by numerical differentiation

Active Appearance Model Search (Results)

Sub-cortical Structures Initial PositionConverged

Random Aside  Shape Vector provides alignment = 43 Alexei (Alyosha) Efros, (15-862): Computational Photography,

Random Aside  Alignment is the key 1. Warp to mean shape 2. Average pixels Alexei (Alyosha) Efros, (15-862): Computational Photography,

Random Aside  Enhancing Gender more same original androgynous more opposite D. Rowland, D. Perrett. “Manipulating Facial Appearance through Shape and Color”, IEEE Computer Graphics and Applications, Vol. 15, No. 5: September 1995, pp

Random Aside (can’t escape structure!) Alexei (Alyosha) Efros, (15-862): Computational Photography, Antonio Torralba & Aude Oliva (2002) Averages: Hundreds of images containing a person are averaged to reveal regularities in the intensity patterns across all the images.

Random Aside (can’t escape structure!) “100 Special Moments” by Jason Salavon Jason Salavon,

Random Aside (can’t escape structure!) “Every Playboy Centerfold, The Decades (normalized)” by Jason Salavon 1960s1970s1980s Jason Salavon,