Face alignment using Boosted Appearance Model (BAM)

Slides:



Advertisements
Similar presentations
Applications of one-class classification
Advertisements

Active Appearance Models
Face Alignment by Explicit Shape Regression
Component Analysis (Review)
Principal Component Analysis Based on L1-Norm Maximization Nojun Kwak IEEE Transactions on Pattern Analysis and Machine Intelligence, 2008.
PCA + SVD.
Wangfei Ningbo University A Brief Introduction to Active Appearance Models.
Classification and Prediction: Regression Via Gradient Descent Optimization Bamshad Mobasher DePaul University.
Principal Component Analysis CMPUT 466/551 Nilanjan Ray.
Robust Moving Object Detection & Categorization using self- improving classifiers Omar Javed, Saad Ali & Mubarak Shah.
© 2003 by Davi GeigerComputer Vision September 2003 L1.1 Face Recognition Recognized Person Face Recognition.
RBF Neural Networks x x1 Examples inside circles 1 and 2 are of class +, examples outside both circles are of class – What NN does.
Prénom Nom Document Analysis: Linear Discrimination Prof. Rolf Ingold, University of Fribourg Master course, spring semester 2008.
A Study of Approaches for Object Recognition
CSci 6971: Image Registration Lecture 4: First Examples January 23, 2004 Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware Prof. Chuck Stewart, RPI Dr.
Generic Object Detection using Feature Maps Oscar Danielsson Stefan Carlsson
Pattern Recognition Topic 1: Principle Component Analysis Shapiro chap
Matching a 3D Active Shape Model on sparse cardiac image data, a comparison of two methods Marleen Engels Supervised by: dr. ir. H.C. van Assen Committee:
Rodent Behavior Analysis Tom Henderson Vision Based Behavior Analysis Universitaet Karlsruhe (TH) 12 November /9.
Face detection and recognition Many slides adapted from K. Grauman and D. Lowe.
Prénom Nom Document Analysis: Data Analysis and Clustering Prof. Rolf Ingold, University of Fribourg Master course, spring semester 2008.
Ensemble Learning: An Introduction
Real-time Combined 2D+3D Active Appearance Models Jing Xiao, Simon Baker,Iain Matthew, and Takeo Kanade CVPR 2004 Presented by Pat Chan 23/11/2004.
Face Recognition Based on 3D Shape Estimation
Active Appearance Models Computer examples A. Torralba T. F. Cootes, C.J. Taylor, G. J. Edwards M. B. Stegmann.
September 23, 2010Neural Networks Lecture 6: Perceptron Learning 1 Refresher: Perceptron Training Algorithm Algorithm Perceptron; Start with a randomly.
PhD Thesis. Biometrics Science studying measurements and statistics of biological data Most relevant application: id. recognition 2.
Radial-Basis Function Networks
Foundations of Computer Vision Rapid object / face detection using a Boosted Cascade of Simple features Presented by Christos Stoilas Rapid object / face.
Face Recognition Using Neural Networks Presented By: Hadis Mohseni Leila Taghavi Atefeh Mirsafian.
Face Detection using the Viola-Jones Method
Face Alignment Using Cascaded Boosted Regression Active Shape Models
Statistical Models of Appearance for Computer Vision
Multimodal Interaction Dr. Mike Spann
Non Negative Matrix Factorization
Graphite 2004 Statistical Synthesis of Facial Expressions for the Portrayal of Emotion Lisa Gralewski Bristol University United Kingdom
CSE554AlignmentSlide 1 CSE 554 Lecture 5: Alignment Fall 2011.
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.
EE 492 ENGINEERING PROJECT LIP TRACKING Yusuf Ziya Işık & Ashat Turlibayev Yusuf Ziya Işık & Ashat Turlibayev Advisor: Prof. Dr. Bülent Sankur Advisor:
Window-based models for generic object detection Mei-Chen Yeh 04/24/2012.
Benk Erika Kelemen Zsolt
CS 782 – Machine Learning Lecture 4 Linear Models for Classification  Probabilistic generative models  Probabilistic discriminative models.
MEDICAL IMAGE ANALYSIS Marek Brejl Vital Images, Inc.
Terrorists Team members: Ágnes Bartha György Kovács Imre Hajagos Wojciech Zyla.
ECE738 Advanced Image Processing Face Detection IEEE Trans. PAMI, July 1997.
Face Recognition: An Introduction
CSE554AlignmentSlide 1 CSE 554 Lecture 8: Alignment Fall 2013.
Project 11: Determining the Intrinsic Dimensionality of a Distribution Okke Formsma, Nicolas Roussis and Per Løwenborg.
Linear Models for Classification
Lecture 09 03/01/2012 Shai Avidan הבהרה: החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
The Viola/Jones Face Detector A “paradigmatic” method for real-time object detection Training is slow, but detection is very fast Key ideas Integral images.
A NOVEL METHOD FOR COLOR FACE RECOGNITION USING KNN CLASSIFIER
Multimodal Interaction Dr. Mike Spann
3.7 Adaptive filtering Joonas Vanninen Antonio Palomino Alarcos.
Fast Query-Optimized Kernel Machine Classification Via Incremental Approximate Nearest Support Vectors by Dennis DeCoste and Dominic Mazzoni International.
Classification Course web page: vision.cis.udel.edu/~cv May 14, 2003  Lecture 34.
Point Distribution Models Active Appearance Models Compilation based on: Dhruv Batra ECE CMU Tim Cootes Machester.
A Brief Introduction on Face Detection Mei-Chen Yeh 04/06/2010 P. Viola and M. J. Jones, Robust Real-Time Face Detection, IJCV 2004.
Affine Registration in R m 5. The matching function allows to define tentative correspondences and a RANSAC-like algorithm can be used to estimate the.
Statistical Models of Appearance for Computer Vision 主講人:虞台文.
Lucas-Kanade Image Alignment Iain Matthews. Paper Reading Simon Baker and Iain Matthews, Lucas-Kanade 20 years on: A Unifying Framework, Part 1
Deep Learning Overview Sources: workshop-tutorial-final.pdf
Non-separable SVM's, and non-linear classification using kernels Jakob Verbeek December 16, 2011 Course website:
CSE343/543 Machine Learning Mayank Vatsa Lecture slides are prepared using several teaching resources and no authorship is claimed for any slides.
Deep Feedforward Networks
LECTURE 10: DISCRIMINANT ANALYSIS
Machine Learning Basics
Object Modeling with Layers
LECTURE 09: DISCRIMINANT ANALYSIS
EE 492 ENGINEERING PROJECT
Presentation transcript:

Face alignment using Boosted Appearance Model (BAM) Satya mahesh Muddamsetty Supervisor: Tommaso Gritti Video processing & Analysis group Examiner: Mikael Nilsson, Department of Signal processing, BTH September 30, 2009

Outlines Introduction Brief summary of Previous methods Shape model learning in BAM Appearance model learning in BAM Alignment using BAM Experiments & Results Conclusion

Introduction: Image alignment/fitting It is the process of moving and deforming a template to minimize the distance between template and an image. Alignment is done in 3 steps step1: model choice template, ASM,AAM step2 : distance metrics  MSE (Mean Square Error) step3: optimization  Gradient descent methods

Introduction: applications Face fitting [Baker & Matthews’04IJCV] Tracking [Hager & Belhumeur’98PAMI] Medical Image Interpretation [Mitchell et al.’02TMI] Industrial Inspection

Outlines Introduction Brief summary of previous methods Shape model learning in BAM Appearance model learning in BAM Alignment using BAM Experiments & Results Conclusion

Brief summary of previous methods Point distribution model (PDM) [Cootes et al.’92BMVC] Active shape model (ASM) [Cootes & Taylor’92BMVC] Active appearance model (AAM) [Cootes et al.’01PAMI] Inverse compositional (IC) and simultaneous inverse compositional (SIC) AAM fitting [Baker & Matthews’04IJCV]

Brief summary of previous methods Active shape model (ASM) [Cootes & Taylor’92BMVC] It uses the shape model (PDM) as a template Shape parameters Mean shape Eigen vectors It seeks to minimize the distance between model points and the corresponding points found in the image. Drawbacks: Only the local appearance information around each landmarks is learned, which might not be the effective way of modeling

Brief summary of previous methods Inverse compositional (IC) and Simultaneous Inverse compositional (SIC) AAM fitting [Baker & Matthews’04IJCV] AAM template:

Brief summary of previous methods Inverse compositional (IC) and Simultaneous Inverse compositional (SIC) AAM fitting [Baker & Matthews’04IJCV] AAM-distance Appearance basis Mean shape Mean appearance Shape parameter Appearance parameter Warping function Image coordinate * Image observation * Gross et al.’05IVC

Problems of Previous methods All these AAM methods know to have a generalization problem, they degrades quickly when the they trained on large dataset. And the performance is poor on the unseen data These models are generative models How to solve them? New method known as Boosted Appearance Model (BAM) It is an discriminative model. It has shape model, appearance model and an specific alignment method.

Outlines Introduction Breif summary of previous methods Appearance model learning in BAM Alignment using BAM Experiments & Results Conclusion Shape model learning in BAM

Shape model learning in BAM Same shape model (PDM) used in previous methods The shape model learned by applying principle component analysis (PCA) to the set of shape vectors S , where The shape data consists of points in nD-space si = (xi0,xi1,xi2,…,xin,yi0,yi1,…,yin )T with observation i = {1,..,N} Sample shape from training set Steps: Compute the mean of the training data : 2. Compute the covariance of the data: (nd x nd matrix) 3. Compute the Eigen vectors Φi and the corresponding Eigen values of C

Shape model learning in BAM Eigenvectors: fi =(fi,1,fi,2,…,fi,nd-1,fi,nd) (which means (x0,x1,x2,…,xn,y0,y1,…,yn ) ) Eigen values I, 2 ,…, nd The eigenvector with highest eigen value is the most dominant shape variation in the training set The eigenvectors are therefore ordered in magnitude of eigen value. Matrix of eigenvectors: F =[f1T, f2T,…, fkT ] So finally our parametric shape model s can be expresses as a mean shape plus a linear combination of k eigen vectors fk Sample shape from training set

Shape model learning in BAM learned Shape variations By varying the shape parameters with respect to mean shape where i=1 i=2 i=3 i=4 i=5,..k

Outlines Introduction Breif summary of Previous methods Shape model learning in BAM Alignment using BAM Experiments & Results Conclusion Appearance model learning in BAM

Appearance Model learning in BAM Similar to AAM our appearance model is defined on the warped Image I(W(x;p) In BAM, appearance model is a set of weak classifiers which learns the decision boundary between correct alignment (positive class) and incorrect alignment (negative class). M- number of weak classifiers It is a function of warped image I(W(x;p) warped with the shape parameters p

- Is the shape vector Appearance Model learning in BAM - Is the matrix of Eigenvectors Training samples Positive samples: compute the shape parameters: where Negative samples: Perturb the each element of original shape parameters: randomly and each element should be uniformly distributed between [-1,1]. n – number of perturbed shape per each original shape v – is the k – dimensional vector with each element uniformly distributed from [-1,1] randomly - is a vector with k- Eigen values

Appearance Model learning in BAM Positive samples Negative samples N- original shapes N- original warped images Nq - perturbed shapes Nq- perturbed warped images

Appearance Model learning in BAM Boosting: Label = 1 Label = -1 Computing the Rectangular Haar features on the warped images via integral image (Viola and Jones)

Appearance Model learning in BAM Boosting: Number of original images ‘N’ Number of features ‘K’ Positive samples Gentle boosting Number of perturbed images ‘Nq’ Number of features ‘K’ Negative samples Haar Features selected by Gentle boost

Appearance Model learning in BAM Weak classifier design: Selected feature by gentle boost computed on any warped image m=1 m=2 m=3 m=4 m=5 m=6,.M m = 1,2,…..M 1 - Selected Haar feature by gentle boost threshold

Appearance Model learning in BAM Final Weak classifiers m=1 m=2 m=3 m=4 m=5 m=6 m=1 to 100

Appearance Model learning in BAM Appearance Model: Finally our appearance model is a collection of parameters which are able to distinguish correct alignment (positive class) and incorrect alignment (negative class). Feature details(r, c, width, height) Haar Feature type sign threshold location

Outlines Introduction Breif summary of Previous methods Shape model & learning in BAM Appearance model & learning in BAM Experiments & Results Conclusion Alignment using BAM

Alignment using BAM How to do alignment using BAM ? Use the classification score from the trained strong classifier as a distance metrics . How this score is computed? Takes Input: as warped image Output: SCORE This score indicates the quality of alignment Training samples postivesamples400(red color) negative sample 4000(blue color)

Alignment using BAM Alignment in the sense given an initial parameters will have negative score, trying to look new parameters will have maximum positive score. But finding this new parameters is a non-linear optimization problem To solve this iteratively we are using gradient ascent method

Alignment using BAM Alignment/fitting via Gradient Ascent method where Solving the correct parameters iteratively RMSE

Alignment using BAM Gradient Ascent Solution Our trained two- class strong classifier Gradient of is

Alignment using BAM: summary Inputs: Input Image I , Initial shape parameters ,warped jacobian BAM; Shape model {mean shape , Eigen vectors } Appearance model { ;m=1,2,…..M} Step 0: Compute the gradient of the image , repeat 1. Warp I with, to compute 2. Compute the selected feature for the each weak classifier on the warped input image : 3. Warp the gradient image with the 4. Compute the steepest descent image 5. Compute the integral images for each Colum of SD and obtain the rectangular features for each weak classifier: 6. Compute using 7. Update until

Outlines Introduction Breif summary of Previous methods Shape model learning in BAM Appearance model learning in BAM Alignment using BAM Experiments & Results Conclusion

Experiments & Results We used challenging FERET DATASET which contains frontal images, with different variations, pose, race, illuminations, expressions. samples images are here

Experiments & Results Training Shape model Appearance model We trained shape model (PDM) with 1636 image annotations Appearance model sets No of images No of positive samples No of negative samples TRAINset1 400 400 4000 800 800 8000 TRAINset2 Created Negative samples for different perturbation ranges {.8,1,1.2} for TRAINset1 and TRAINset2

Experiments & Results Alignment example RMSE

Experiments & Results performance: TEST DATA Test Sets No of images Details TESTset1 300 From train data TESTset2 300 unseen data

Experiments & Results performance: On TRAINset1 TESTset1 TESTset2(unseen data) Train perturbation .8 1 1.2 Test perturbation .4 84% 58% 54% Test perturbation .6 78% 34% 37% Test perturbation .8 71% 30% Test perturbation 1 56% 26% 28% Test perturbation 1.2 50% 17% 21% Test perturbation 1.4 35% 15% 12% Train perturbation .8 1 1.2 Test perturbation .4 85% 57% 47% Test perturbation .6 86% 45% 39% Test perturbation .8 78% 37% 33% Test perturbation 1 69% 30% 28% Test perturbation 1.2 22% 23% Test perturbation 1.4 19% 15%

Experiments & Results performance: On TRAINset2 TESTset1 TESTset2(unseen data) Train perturbation .8 1 1.2 Test perturbation .4 68% 82% 37% Test perturbation .6 58% 26% Test perturbation .8 46% 54% 18% Test perturbation 1 42% 40% 12% Test perturbation 1.2 32% 33% 9% Test perturbation 1.4 24% 22% 5% Train perturbation .8 1 1.2 Test perturbation .4 62% 85% 35% Test perturbation .6 52% 70% 25% Test perturbation .8 41% 59% 20% Test perturbation 1 48% 17% Test perturbation 1.2 30% 11% Test perturbation 1.4 21% 24% 7%

Experiments & Results Test on different illumination image database YALE DATABASE Collected 30 images Generated 5 initializations randomly per each image finally 150 trails Test perturbations .4 .6 .8 1 1.2 1.4 converged 65% 45% 30% 16% 11% 9%

Outlines Introduction Breif summary of Previous methods Shape model & learning in BAM Appearance model & learning in BAM Alignment using BAM Experiments & Results Conclusion

Conclusions Future work Idea of discriminative method in AAM seems like a powerful extension to classical methods Computational complexity still quite high Influence of amount of perturbation on training set is never mentioned in literature, but very strong integration of procrustes analysis not mentioned in the papers, even if it could help in building better shape models Future work compare results with classical AAM implementations test with very large training database