SlideShare a Scribd company logo
1 of 15
Download to read offline
Computing eigenfaces Results References
Image processing, retrieval and analysis II
Project 2
Raghunandan Palakodety, Himanshu Thakur
Universit¨at Bonn
June 1, 2015
Computing eigenfaces Results References
Outline
1 Computing eigenfaces
2 Results
3 References
Computing eigenfaces Results References
Eigenface approach
In mathematical terms, we wish to find the principal components
of the distribution of faces or the eigenvectors of the covariance
matrix of the set of face images, treating an image as in a very
high dimension space. In our case, the dimension being R361.
Computing eigenfaces Results References
Eigenvectors and eigenfaces I
Visualizing an eigenface
The eigenvectors are ordered, each one accounting for a different
amount of variation among face images. These vectors can be
thought of as a set of features that characterize the variation
between face images [2].
1 Each image location contributes more or less to each
eigenvector, so that we can display the eigenvector as a sort of
ghostly face which we call an eigenface as shown inf figure 1.
Figure 1: Eigenface
Computing eigenfaces Results References
Eigenvectors and eigenfaces II
2 Each eigenface deviates from uniform gray where some facial
feature differs among the set of training faces; they are a sort
of map of the variations between faces.
3 Each individual face can be represented exactly in terms of a
linear combination of the eigenfaces. Each face can also be
approximated using only the ”best” eigenfaces.
4 That is those eigenfaces that have largest eigenvalues and
which therefore account for the most variance within the set
of face images.
5 The best k eigenfaces span an k dimensional subspace or
”facespace” of all possible images.
Computing eigenfaces Results References
Results I
1 Set of eigenvalues in descending order is shown in figure 2.
Figure 2: Spectrum of Co-variance
Computing eigenfaces Results References
Results II
2 Determine smallest eigenvalue λk such that
k
i=1 λi
d
j=1 λj
≥ 0.9.
3 In our case we determined k = 20.
4 Visualize the first k eigen vectors vi ∈ R361 as 19x19 images.
5 As shown below
a) b)
c) d)
e) f)
Computing eigenfaces Results References
Results III
g) h)
i) j)
k) l)
Computing eigenfaces Results References
Results IV
m) n)
o) p)
q) r)
Computing eigenfaces Results References
Results V
s) t)
Computing eigenfaces Results References
Results VI
6 Randomly select 10 test images, compute their Euclidean
distances to all training images, sort (in descending order) and
plot the distances. Some of these are shown in figures.
u) v)
w) x)
Computing eigenfaces Results References
Results VII
y) z)
Computing eigenfaces Results References
Results VIII
7 Consider the same 10 test images as above; in the lower
dimensional space, compute their Euclidean distances to all
the training images, sort the set of distances in descending
order and plot them; compare your plots. The comparison of
those plots are shown in the previous slide.
Computing eigenfaces Results References
Notes on Results
1 Images of faces, being similar in overall configuration, will not
be randomly distributed in this huge image space R361 and
thus can be described by a relatively low dimensional subspace
[2].
2 The main idea of PCA (or Karhunen-Lo`eve expansion [1]) is
to find the vectors that best account for the distribution of
face images within the entire image space.
3 These vectors define the subspace of the face images which is
referred to as ”face-space” as mentioned in earlier slides.
4 Each vector being vi ∈ R361. All such vectors are eigenvectors
of the covariance matrix corresponding to the original face
images.
Computing eigenfaces Results References
References
K. Karhunen, ¨Uber lineare Methoden in der
Wahrscheinlichkeitsrechnung, Annales Academiae scientiarum
Fennicae. Series A. 1, Mathematica-physica, 1947.
M. A. Turk and A. P. Pentland, Face recognition using
eigenfaces, in Computer Vision and Pattern Recognition, 1991.
Proceedings CVPR’91., IEEE Computer Society Conference
on, IEEE, 1991, pp. 586–591.

More Related Content

What's hot

Application of interpolation in CSE
Application of interpolation in CSEApplication of interpolation in CSE
Application of interpolation in CSEMd. Tanvir Hossain
 
Implement principal component analysis (PCA) in python from scratch
Implement principal component analysis (PCA) in python from scratchImplement principal component analysis (PCA) in python from scratch
Implement principal component analysis (PCA) in python from scratchEshanAgarwal4
 
PCA Based Face Recognition System
PCA Based Face Recognition SystemPCA Based Face Recognition System
PCA Based Face Recognition SystemMd. Atiqur Rahman
 
Facial keypoint recognition
Facial keypoint recognitionFacial keypoint recognition
Facial keypoint recognitionAkrita Agarwal
 
From local geometry to global structure learning latent subspace for low reso...
From local geometry to global structure learning latent subspace for low reso...From local geometry to global structure learning latent subspace for low reso...
From local geometry to global structure learning latent subspace for low reso...I3E Technologies
 
Face recogntion Using PCA Algorithm
Face recogntion Using PCA Algorithm Face recogntion Using PCA Algorithm
Face recogntion Using PCA Algorithm Ashwini Awatare
 
Michal Erel's SIFT presentation
Michal Erel's SIFT presentationMichal Erel's SIFT presentation
Michal Erel's SIFT presentationwolf
 
Bi model face recognition framework
Bi model face recognition frameworkBi model face recognition framework
Bi model face recognition frameworkSumit Agarwal
 
linear Algebra least squares
linear Algebra least squareslinear Algebra least squares
linear Algebra least squaresNoreen14
 
Presentation of my master thesis
Presentation of my master thesisPresentation of my master thesis
Presentation of my master thesisMichaelRra
 
Clustering - Machine Learning Techniques
Clustering - Machine Learning TechniquesClustering - Machine Learning Techniques
Clustering - Machine Learning TechniquesKush Kulshrestha
 
Scale Invariant Feature Transform
Scale Invariant Feature TransformScale Invariant Feature Transform
Scale Invariant Feature Transformkislayabhi
 

What's hot (20)

Application of interpolation in CSE
Application of interpolation in CSEApplication of interpolation in CSE
Application of interpolation in CSE
 
Implement principal component analysis (PCA) in python from scratch
Implement principal component analysis (PCA) in python from scratchImplement principal component analysis (PCA) in python from scratch
Implement principal component analysis (PCA) in python from scratch
 
PCA Based Face Recognition System
PCA Based Face Recognition SystemPCA Based Face Recognition System
PCA Based Face Recognition System
 
Facial keypoint recognition
Facial keypoint recognitionFacial keypoint recognition
Facial keypoint recognition
 
Pca ankita dubey
Pca ankita dubeyPca ankita dubey
Pca ankita dubey
 
Unit 1. day 11
Unit 1. day 11Unit 1. day 11
Unit 1. day 11
 
From local geometry to global structure learning latent subspace for low reso...
From local geometry to global structure learning latent subspace for low reso...From local geometry to global structure learning latent subspace for low reso...
From local geometry to global structure learning latent subspace for low reso...
 
Face recogntion Using PCA Algorithm
Face recogntion Using PCA Algorithm Face recogntion Using PCA Algorithm
Face recogntion Using PCA Algorithm
 
Michal Erel's SIFT presentation
Michal Erel's SIFT presentationMichal Erel's SIFT presentation
Michal Erel's SIFT presentation
 
Least Squares method
Least Squares methodLeast Squares method
Least Squares method
 
Bi model face recognition framework
Bi model face recognition frameworkBi model face recognition framework
Bi model face recognition framework
 
linear Algebra least squares
linear Algebra least squareslinear Algebra least squares
linear Algebra least squares
 
Presentation of my master thesis
Presentation of my master thesisPresentation of my master thesis
Presentation of my master thesis
 
Hog
HogHog
Hog
 
Principal component analysis
Principal component analysisPrincipal component analysis
Principal component analysis
 
Pca ppt
Pca pptPca ppt
Pca ppt
 
Clustering - Machine Learning Techniques
Clustering - Machine Learning TechniquesClustering - Machine Learning Techniques
Clustering - Machine Learning Techniques
 
SIFT
SIFTSIFT
SIFT
 
2 simple regression
2   simple regression2   simple regression
2 simple regression
 
Scale Invariant Feature Transform
Scale Invariant Feature TransformScale Invariant Feature Transform
Scale Invariant Feature Transform
 

Viewers also liked

Precision face image retrieval by extracting the face features and comparing ...
Precision face image retrieval by extracting the face features and comparing ...Precision face image retrieval by extracting the face features and comparing ...
Precision face image retrieval by extracting the face features and comparing ...prjpublications
 
Context-based modeling of audio signals toward information retrieval
Context-based modeling of audio signals toward information retrievalContext-based modeling of audio signals toward information retrieval
Context-based modeling of audio signals toward information retrievalSamuel Kim
 
ALT and TITLE attributes in images and SEO
ALT and TITLE attributes in images and SEOALT and TITLE attributes in images and SEO
ALT and TITLE attributes in images and SEOReinaldo Ferraz
 
Scalable face image retrieval using attribute enhanced sparse codewords
Scalable face image retrieval using attribute enhanced sparse codewordsScalable face image retrieval using attribute enhanced sparse codewords
Scalable face image retrieval using attribute enhanced sparse codewordsSasi Kumar
 
Periscope: A Content-based Image Retrieval Engine
Periscope: A Content-based Image Retrieval EnginePeriscope: A Content-based Image Retrieval Engine
Periscope: A Content-based Image Retrieval EngineAntigoni-Maria Founta
 
Attribute based access control
Attribute based  access controlAttribute based  access control
Attribute based access controlNarendra Kumar
 
Content based image retrieval using clustering Algorithm(CBIR)
Content based image retrieval using clustering Algorithm(CBIR)Content based image retrieval using clustering Algorithm(CBIR)
Content based image retrieval using clustering Algorithm(CBIR)Raja Sekar
 
Content based image retrieval(cbir)
Content based image retrieval(cbir)Content based image retrieval(cbir)
Content based image retrieval(cbir)paddu123
 
Content Based Image Retrieval
Content Based Image Retrieval Content Based Image Retrieval
Content Based Image Retrieval Swati Chauhan
 
Image Processing
Image ProcessingImage Processing
Image ProcessingRolando
 
Query adaptive image search with hash codes
Query adaptive image search with hash codesQuery adaptive image search with hash codes
Query adaptive image search with hash codesIEEEFINALYEARPROJECTS
 
Scalable face image retrieval using attribute enhanced sparse codewords
Scalable face image retrieval using attribute enhanced sparse codewordsScalable face image retrieval using attribute enhanced sparse codewords
Scalable face image retrieval using attribute enhanced sparse codewordsIEEEFINALYEARPROJECTS
 

Viewers also liked (15)

Precision face image retrieval by extracting the face features and comparing ...
Precision face image retrieval by extracting the face features and comparing ...Precision face image retrieval by extracting the face features and comparing ...
Precision face image retrieval by extracting the face features and comparing ...
 
Context-based modeling of audio signals toward information retrieval
Context-based modeling of audio signals toward information retrievalContext-based modeling of audio signals toward information retrieval
Context-based modeling of audio signals toward information retrieval
 
ALT and TITLE attributes in images and SEO
ALT and TITLE attributes in images and SEOALT and TITLE attributes in images and SEO
ALT and TITLE attributes in images and SEO
 
Scalable face image retrieval using attribute enhanced sparse codewords
Scalable face image retrieval using attribute enhanced sparse codewordsScalable face image retrieval using attribute enhanced sparse codewords
Scalable face image retrieval using attribute enhanced sparse codewords
 
Periscope: A Content-based Image Retrieval Engine
Periscope: A Content-based Image Retrieval EnginePeriscope: A Content-based Image Retrieval Engine
Periscope: A Content-based Image Retrieval Engine
 
Xhtml
XhtmlXhtml
Xhtml
 
Attribute based access control
Attribute based  access controlAttribute based  access control
Attribute based access control
 
Image retrieval
Image retrievalImage retrieval
Image retrieval
 
Content based image retrieval using clustering Algorithm(CBIR)
Content based image retrieval using clustering Algorithm(CBIR)Content based image retrieval using clustering Algorithm(CBIR)
Content based image retrieval using clustering Algorithm(CBIR)
 
Content-based Image Retrieval
Content-based Image RetrievalContent-based Image Retrieval
Content-based Image Retrieval
 
Content based image retrieval(cbir)
Content based image retrieval(cbir)Content based image retrieval(cbir)
Content based image retrieval(cbir)
 
Content Based Image Retrieval
Content Based Image Retrieval Content Based Image Retrieval
Content Based Image Retrieval
 
Image Processing
Image ProcessingImage Processing
Image Processing
 
Query adaptive image search with hash codes
Query adaptive image search with hash codesQuery adaptive image search with hash codes
Query adaptive image search with hash codes
 
Scalable face image retrieval using attribute enhanced sparse codewords
Scalable face image retrieval using attribute enhanced sparse codewordsScalable face image retrieval using attribute enhanced sparse codewords
Scalable face image retrieval using attribute enhanced sparse codewords
 

Similar to Project 2

Face recognition using laplacianfaces (synopsis)
Face recognition using laplacianfaces (synopsis)Face recognition using laplacianfaces (synopsis)
Face recognition using laplacianfaces (synopsis)Mumbai Academisc
 
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
 
On image intensities, eigenfaces and LDA
On image intensities, eigenfaces and LDAOn image intensities, eigenfaces and LDA
On image intensities, eigenfaces and LDARaghu Palakodety
 
Image segmentation
Image segmentationImage segmentation
Image segmentationRania H
 
Image Restoration and Denoising By Using Nonlocally Centralized Sparse Repres...
Image Restoration and Denoising By Using Nonlocally Centralized Sparse Repres...Image Restoration and Denoising By Using Nonlocally Centralized Sparse Repres...
Image Restoration and Denoising By Using Nonlocally Centralized Sparse Repres...IJERA Editor
 
SYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITION
SYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITIONSYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITION
SYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITIONijcsit
 
Eigenfaces , Fisherfaces and Dimensionality_Reduction
Eigenfaces , Fisherfaces and Dimensionality_ReductionEigenfaces , Fisherfaces and Dimensionality_Reduction
Eigenfaces , Fisherfaces and Dimensionality_Reductionmostafayounes012
 
Human Face Detection Based on Combination of Logistic Regression, Distance of...
Human Face Detection Based on Combination of Logistic Regression, Distance of...Human Face Detection Based on Combination of Logistic Regression, Distance of...
Human Face Detection Based on Combination of Logistic Regression, Distance of...IJCSIS Research Publications
 
ResearchPaper
ResearchPaperResearchPaper
ResearchPaperIan Bloom
 
Presentation on Face Recognition Based on 3D Shape Estimation
Presentation on Face Recognition Based on 3D Shape EstimationPresentation on Face Recognition Based on 3D Shape Estimation
Presentation on Face Recognition Based on 3D Shape EstimationRapidAcademy
 
Content Based Image Retrieval Using Gray Level Co-Occurance Matrix with SVD a...
Content Based Image Retrieval Using Gray Level Co-Occurance Matrix with SVD a...Content Based Image Retrieval Using Gray Level Co-Occurance Matrix with SVD a...
Content Based Image Retrieval Using Gray Level Co-Occurance Matrix with SVD a...ijcisjournal
 
Eigenface For Face Recognition
Eigenface For Face RecognitionEigenface For Face Recognition
Eigenface For Face RecognitionMinh Tran
 
DIP ch 11 part 2 Feature Extraction By Mohammad Pooya Malek
DIP ch 11 part 2 Feature Extraction By Mohammad Pooya MalekDIP ch 11 part 2 Feature Extraction By Mohammad Pooya Malek
DIP ch 11 part 2 Feature Extraction By Mohammad Pooya MalekMohammadPooya Malek
 
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an ObjectAnkur Tyagi
 
Image Restoration UsingNonlocally Centralized Sparse Representation and histo...
Image Restoration UsingNonlocally Centralized Sparse Representation and histo...Image Restoration UsingNonlocally Centralized Sparse Representation and histo...
Image Restoration UsingNonlocally Centralized Sparse Representation and histo...IJERA Editor
 

Similar to Project 2 (20)

Ijcatr04041016
Ijcatr04041016Ijcatr04041016
Ijcatr04041016
 
Face recognition using PCA
Face recognition using PCAFace recognition using PCA
Face recognition using PCA
 
Face recognition using laplacianfaces (synopsis)
Face recognition using laplacianfaces (synopsis)Face recognition using laplacianfaces (synopsis)
Face recognition using laplacianfaces (synopsis)
 
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
 
On image intensities, eigenfaces and LDA
On image intensities, eigenfaces and LDAOn image intensities, eigenfaces and LDA
On image intensities, eigenfaces and LDA
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Image Restoration and Denoising By Using Nonlocally Centralized Sparse Repres...
Image Restoration and Denoising By Using Nonlocally Centralized Sparse Repres...Image Restoration and Denoising By Using Nonlocally Centralized Sparse Repres...
Image Restoration and Denoising By Using Nonlocally Centralized Sparse Repres...
 
SYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITION
SYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITIONSYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITION
SYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITION
 
Eigenfaces , Fisherfaces and Dimensionality_Reduction
Eigenfaces , Fisherfaces and Dimensionality_ReductionEigenfaces , Fisherfaces and Dimensionality_Reduction
Eigenfaces , Fisherfaces and Dimensionality_Reduction
 
Human Face Detection Based on Combination of Logistic Regression, Distance of...
Human Face Detection Based on Combination of Logistic Regression, Distance of...Human Face Detection Based on Combination of Logistic Regression, Distance of...
Human Face Detection Based on Combination of Logistic Regression, Distance of...
 
ResearchPaper
ResearchPaperResearchPaper
ResearchPaper
 
Face Recognition
Face RecognitionFace Recognition
Face Recognition
 
Lec14 eigenface and fisherface
Lec14 eigenface and fisherfaceLec14 eigenface and fisherface
Lec14 eigenface and fisherface
 
Presentation on Face Recognition Based on 3D Shape Estimation
Presentation on Face Recognition Based on 3D Shape EstimationPresentation on Face Recognition Based on 3D Shape Estimation
Presentation on Face Recognition Based on 3D Shape Estimation
 
Content Based Image Retrieval Using Gray Level Co-Occurance Matrix with SVD a...
Content Based Image Retrieval Using Gray Level Co-Occurance Matrix with SVD a...Content Based Image Retrieval Using Gray Level Co-Occurance Matrix with SVD a...
Content Based Image Retrieval Using Gray Level Co-Occurance Matrix with SVD a...
 
Eigenface For Face Recognition
Eigenface For Face RecognitionEigenface For Face Recognition
Eigenface For Face Recognition
 
DIP ch 11 part 2 Feature Extraction By Mohammad Pooya Malek
DIP ch 11 part 2 Feature Extraction By Mohammad Pooya MalekDIP ch 11 part 2 Feature Extraction By Mohammad Pooya Malek
DIP ch 11 part 2 Feature Extraction By Mohammad Pooya Malek
 
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
 
Www.cs.berkeley.edu kunal
Www.cs.berkeley.edu kunalWww.cs.berkeley.edu kunal
Www.cs.berkeley.edu kunal
 
Image Restoration UsingNonlocally Centralized Sparse Representation and histo...
Image Restoration UsingNonlocally Centralized Sparse Representation and histo...Image Restoration UsingNonlocally Centralized Sparse Representation and histo...
Image Restoration UsingNonlocally Centralized Sparse Representation and histo...
 

Project 2

  • 1. Computing eigenfaces Results References Image processing, retrieval and analysis II Project 2 Raghunandan Palakodety, Himanshu Thakur Universit¨at Bonn June 1, 2015
  • 2. Computing eigenfaces Results References Outline 1 Computing eigenfaces 2 Results 3 References
  • 3. Computing eigenfaces Results References Eigenface approach In mathematical terms, we wish to find the principal components of the distribution of faces or the eigenvectors of the covariance matrix of the set of face images, treating an image as in a very high dimension space. In our case, the dimension being R361.
  • 4. Computing eigenfaces Results References Eigenvectors and eigenfaces I Visualizing an eigenface The eigenvectors are ordered, each one accounting for a different amount of variation among face images. These vectors can be thought of as a set of features that characterize the variation between face images [2]. 1 Each image location contributes more or less to each eigenvector, so that we can display the eigenvector as a sort of ghostly face which we call an eigenface as shown inf figure 1. Figure 1: Eigenface
  • 5. Computing eigenfaces Results References Eigenvectors and eigenfaces II 2 Each eigenface deviates from uniform gray where some facial feature differs among the set of training faces; they are a sort of map of the variations between faces. 3 Each individual face can be represented exactly in terms of a linear combination of the eigenfaces. Each face can also be approximated using only the ”best” eigenfaces. 4 That is those eigenfaces that have largest eigenvalues and which therefore account for the most variance within the set of face images. 5 The best k eigenfaces span an k dimensional subspace or ”facespace” of all possible images.
  • 6. Computing eigenfaces Results References Results I 1 Set of eigenvalues in descending order is shown in figure 2. Figure 2: Spectrum of Co-variance
  • 7. Computing eigenfaces Results References Results II 2 Determine smallest eigenvalue λk such that k i=1 λi d j=1 λj ≥ 0.9. 3 In our case we determined k = 20. 4 Visualize the first k eigen vectors vi ∈ R361 as 19x19 images. 5 As shown below a) b) c) d) e) f)
  • 8. Computing eigenfaces Results References Results III g) h) i) j) k) l)
  • 9. Computing eigenfaces Results References Results IV m) n) o) p) q) r)
  • 10. Computing eigenfaces Results References Results V s) t)
  • 11. Computing eigenfaces Results References Results VI 6 Randomly select 10 test images, compute their Euclidean distances to all training images, sort (in descending order) and plot the distances. Some of these are shown in figures. u) v) w) x)
  • 12. Computing eigenfaces Results References Results VII y) z)
  • 13. Computing eigenfaces Results References Results VIII 7 Consider the same 10 test images as above; in the lower dimensional space, compute their Euclidean distances to all the training images, sort the set of distances in descending order and plot them; compare your plots. The comparison of those plots are shown in the previous slide.
  • 14. Computing eigenfaces Results References Notes on Results 1 Images of faces, being similar in overall configuration, will not be randomly distributed in this huge image space R361 and thus can be described by a relatively low dimensional subspace [2]. 2 The main idea of PCA (or Karhunen-Lo`eve expansion [1]) is to find the vectors that best account for the distribution of face images within the entire image space. 3 These vectors define the subspace of the face images which is referred to as ”face-space” as mentioned in earlier slides. 4 Each vector being vi ∈ R361. All such vectors are eigenvectors of the covariance matrix corresponding to the original face images.
  • 15. Computing eigenfaces Results References References K. Karhunen, ¨Uber lineare Methoden in der Wahrscheinlichkeitsrechnung, Annales Academiae scientiarum Fennicae. Series A. 1, Mathematica-physica, 1947. M. A. Turk and A. P. Pentland, Face recognition using eigenfaces, in Computer Vision and Pattern Recognition, 1991. Proceedings CVPR’91., IEEE Computer Society Conference on, IEEE, 1991, pp. 586–591.