Computer Vision Spring 2006 15-385,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm Lecture #20.

Slides:



Advertisements
Similar presentations
EigenFaces and EigenPatches Useful model of variation in a region –Region must be fixed shape (eg rectangle) Developed for face recognition Generalised.
Advertisements

Principal Component Analysis Based on L1-Norm Maximization Nojun Kwak IEEE Transactions on Pattern Analysis and Machine Intelligence, 2008.
Machine Learning Lecture 8 Data Processing and Representation
© 2003 by Davi GeigerComputer Vision September 2003 L1.1 Face Recognition Recognized Person Face Recognition.
Principal Component Analysis
How many object categories are there? Biederman 1987.
CS 790Q Biometrics Face Recognition Using Dimensionality Reduction PCA and LDA M. Turk, A. Pentland, "Eigenfaces for Recognition", Journal of Cognitive.
CONTENT BASED FACE RECOGNITION Ankur Jain 01D05007 Pranshu Sharma Prashant Baronia 01D05005 Swapnil Zarekar 01D05001 Under the guidance of Prof.
Face detection and recognition Many slides adapted from K. Grauman and D. Lowe.
Face Recognition using PCA (Eigenfaces) and LDA (Fisherfaces)
Project 4 out today –help session today –photo session today Project 2 winners Announcements.
Face Recognition Jeremy Wyatt.
Lecture 4 Unsupervised Learning Clustering & Dimensionality Reduction
Principal Component Analysis Barnabás Póczos University of Alberta Nov 24, 2009 B: Chapter 12 HRF: Chapter 14.5.
Computer Vision I Instructor: Prof. Ko Nishino. Today How do we recognize objects in images?
Pattern Recognition. Introduction. Definitions.. Recognition process. Recognition process relates input signal to the stored concepts about the object.
Eigen Value Analysis in Pattern Recognition
Face Recognition: An Introduction
Project 2 due today Project 3 out today –help session today Announcements.
Face Detection and Recognition
Computer Vision Spring ,-685 Instructor: S. Narasimhan WH 5409 T-R 10:30am – 11:50am Lecture #18.
Face Detection and Recognition Readings: Ch 8: Sec 4.4, Ch 14: Sec 4.4
CS 485/685 Computer Vision Face Recognition Using Principal Components Analysis (PCA) M. Turk, A. Pentland, "Eigenfaces for Recognition", Journal of Cognitive.
Face Recognition Using EigenFaces Presentation by: Zia Ahmed Shaikh (P/IT/2K15/07) Authors: Matthew A. Turk and Alex P. Pentland Vision and Modeling Group,
Eigenfaces for Recognition Student: Yikun Jiang Professor: Brendan Morris.
So far focused on 3D modeling
Principal Components Analysis on Images and Face Recognition
Dimensionality Reduction: Principal Components Analysis Optional Reading: Smith, A Tutorial on Principal Components Analysis (linked to class webpage)
Recognition Part II Ali Farhadi CSE 455.
Face Recognition and Feature Subspaces
Face Recognition and Feature Subspaces
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm Lecture #19.
1 Recognition by Appearance Appearance-based recognition is a competing paradigm to features and alignment. No features are extracted! Images are represented.
Classification Course web page: vision.cis.udel.edu/~cv May 12, 2003  Lecture 33.
Pattern Recognition April 19, 2007 Suggested Reading: Horn Chapter 14.
Face Recognition: An Introduction
CSE 185 Introduction to Computer Vision Face Recognition.
CSSE463: Image Recognition Day 27 This week This week Today: Applications of PCA Today: Applications of PCA Sunday night: project plans and prelim work.
Lecture 15: Eigenfaces CS6670: Computer Vision Noah Snavely.
Feature Selection and Dimensionality Reduction. “Curse of dimensionality” – The higher the dimensionality of the data, the more data is needed to learn.
Irfan Ullah Department of Information and Communication Engineering Myongji university, Yongin, South Korea Copyright © solarlits.com.
Recognition Readings – C. Bishop, “Neural Networks for Pattern Recognition”, Oxford University Press, 1998, Chapter 1. – Szeliski, Chapter (eigenfaces)
Face Recognition and Feature Subspaces Devi Parikh Virginia Tech 11/05/15 Slides borrowed from Derek Hoiem, who borrowed some slides from Lana Lazebnik,
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.
Machine Learning Supervised Learning Classification and Regression K-Nearest Neighbor Classification Fisher’s Criteria & Linear Discriminant Analysis Perceptron:
CSSE463: Image Recognition Day 27
Face Detection and Recognition Readings: Ch 8: Sec 4.4, Ch 14: Sec 4.4
University of Ioannina
Lecture 8:Eigenfaces and Shared Features
Face Recognition and Feature Subspaces
Recognition: Face Recognition
Principal Component Analysis
Announcements Project 1 artifact winners
Outline Peter N. Belhumeur, Joao P. Hespanha, and David J. Kriegman, “Eigenfaces vs. Fisherfaces: Recognition Using Class Specific Linear Projection,”
In summary C1={skin} C2={~skin} Given x=[R,G,B], is it skin or ~skin?
Face Recognition and Detection Using Eigenfaces
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.
Outline H. Murase, and S. K. Nayar, “Visual learning and recognition of 3-D objects from appearance,” International Journal of Computer Vision, vol. 14,
CS4670: Intro to Computer Vision
CSSE463: Image Recognition Day 25
Feature space tansformation methods
CS4670: Intro to Computer Vision
Announcements Project 2 artifacts Project 3 due Thursday night
Announcements Project 4 out today Project 2 winners help session today
Principal Components Analysis on Images and Face Recognition
Where are we? We have covered: Project 1b was due today
Announcements Artifact due Thursday
Announcements Artifact due Thursday
The “Margaret Thatcher Illusion”, by Peter Thompson
Presentation transcript:

Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm Lecture #20

Announcements Homework 5 due today. Homework 6 will be released this evening. Required for Graduate students. Extra-credit for undergrads. No class this Thursday (April 20).

Principal Components Analysis on Images Lecture #20

Appearance-based Recognition Directly represent appearance (image brightness), not geometry. Why? Avoids modeling geometry, complex interactions between geometry, lighting and reflectance. Why not? Too many possible appearances! m “visual degrees of freedom” (eg., pose, lighting, etc) R discrete samples for each DOF How to discretely sample the DOFs? How to PREDICT/SYNTHESIS/MATCH with novel views?

Appearance-based Recognition Example: Visual DOFs: Object type P, Lighting Direction L, Pose R Set of R * P * L possible images: Image as a point in high dimensional space: is an image of N pixels and A point in N-dimensional space Pixel 1 gray value Pixel 2 gray value

The Space of Faces An image is a point in a high dimensional space –An N x M image is a point in R NM –We can define vectors in this space as we did in the 2D case += [Thanks to Chuck Dyer, Steve Seitz, Nishino]

Key Idea Images in the possible set are highly correlated. So, compress them to a low-dimensional subspace that captures key appearance characteristics of the visual DOFs. EIGENFACES: [Turk and Pentland] USE PCA!

Eigenfaces Eigenfaces look somewhat like generic faces.

Linear Subspaces Classification can be expensive –Must either search (e.g., nearest neighbors) or store large probability density functions. Suppose the data points are arranged as above –Idea—fit a line, classifier measures distance to line convert x into v 1, v 2 coordinates What does the v 2 coordinate measure? What does the v 1 coordinate measure? - distance to line - use it for classification—near 0 for orange pts - position along line - use it to specify which orange point it is

Dimensionality Reduction Dimensionality reduction –We can represent the orange points with only their v 1 coordinates since v 2 coordinates are all essentially 0 –This makes it much cheaper to store and compare points –A bigger deal for higher dimensional problems

Linear Subspaces Consider the variation along direction v among all of the orange points: What unit vector v minimizes var? What unit vector v maximizes var? Solution:v 1 is eigenvector of A with largest eigenvalue v 2 is eigenvector of A with smallest eigenvalue

Higher Dimensions Suppose each data point is N-dimensional –Same procedure applies: –The eigenvectors of A define a new coordinate system eigenvector with largest eigenvalue captures the most variation among training vectors x eigenvector with smallest eigenvalue has least variation –We can compress the data by only using the top few eigenvectors corresponds to choosing a “linear subspace” –represent points on a line, plane, or “hyper-plane” these eigenvectors are known as the principal components

Problem: Size of Covariance Matrix A Suppose each data point is N-dimensional (N pixels) –The size of covariance matrix A is N x N –The number of eigenfaces is N –Example: For N = 256 x 256 pixels, Size of A will be x ! Number of eigenvectors will be ! Typically, only eigenvectors suffice. So, this method is very inefficient! 2 2

If B is MxN and M > MxM –M  number of images, N  number of pixels –use BB T instead, eigenvector of BB T is easily converted to that of B T B (BB T ) y = e y => B T (BB T ) y = e (B T y) => (B T B)(B T y) = e (B T y) => B T y is the eigenvector of B T B Efficient Computation of Eigenvectors

Eigenfaces – summary in words Eigenfaces are the eigenvectors of the covariance matrix of the probability distribution of the vector space of human faces Eigenfaces are the ‘standardized face ingredients’ derived from the statistical analysis of many pictures of human faces A human face may be considered to be a combination of these standardized faces

Generating Eigenfaces – in words 1.Large set of images of human faces is taken. 2.The images are normalized to line up the eyes, mouths and other features. 3.The eigenvectors of the covariance matrix of the face image vectors are then extracted. 4.These eigenvectors are called eigenfaces.

Eigenfaces for Face Recognition When properly weighted, eigenfaces can be summed together to create an approximate gray- scale rendering of a human face. Remarkably few eigenvector terms are needed to give a fair likeness of most people's faces. Hence eigenfaces provide a means of applying data compression to faces for identification purposes.

Dimensionality Reduction The set of faces is a “subspace” of the set of images –Suppose it is K dimensional –We can find the best subspace using PCA –This is like fitting a “hyper-plane” to the set of faces spanned by vectors v 1, v 2,..., v K Any face:

Eigenfaces PCA extracts the eigenvectors of A –Gives a set of vectors v 1, v 2, v 3,... –Each one of these vectors is a direction in face space what do these look like?

Projecting onto the Eigenfaces The eigenfaces v 1,..., v K span the space of faces –A face is converted to eigenface coordinates by

Is this a face or not?

Recognition with Eigenfaces Algorithm 1.Process the image database (set of images with labels) Run PCA—compute eigenfaces Calculate the K coefficients for each image 2.Given a new image (to be recognized) x, calculate K coefficients 3.Detect if x is a face 4.If it is a face, who is it? Find closest labeled face in database nearest-neighbor in K-dimensional space

Key Property of Eigenspace Representation Given 2 images that are used to construct the Eigenspace is the eigenspace projection of image Then, That is, distance in Eigenspace is approximately equal to the correlation between two images.

(M’ is the number of eigenfaces used)

Choosing the Dimension K KNMi = eigenvalues How many eigenfaces to use? Look at the decay of the eigenvalues –the eigenvalue tells you the amount of variance “in the direction” of that eigenface –ignore eigenfaces with low variance

Papers

More Problems: Outliers Need to explicitly reject outliers before or during computing PCA. Sample Outliers Intra-sample outliers [De la Torre and Black]

PCA RPCA RPCA: Robust PCA, [De la Torre and Black] Robustness to Intra-sample outliers

Original PCA RPCAOutliers Robustness to Sample Outliers Finding outliers = Tracking moving objects

Next Week Novel Cameras and Displays*** *** Topics change every year

Next Week Recent Trends in Computer Vision This semester: Novel Sensors Reading: notes, papers, online resources.