Karhunen-Loeve Decomposition for Statistical Recognition and Detection
No License
This MATLAB script implements Karhunen-Loeve decomposition which is classical algorithm for face recognition and detection. Script uses ATT faces database http://www.uk.research.att.com/facesataglance.html
which can be downloaded from
http://www.uk.research.att.com/facedatabase.html
Computing Eigenvalues and Eigenvectors of images set
Encoding Face Images with a Linear Combination Key (KL decomposition)
Decoding a Key into an Image (reconstruction)
Comparing images using key, searching for similar images.
Cite As
Alex Chirokov (2026). Karhunen-Loeve Decomposition for Statistical Recognition and Detection (https://www.mathworks.com/matlabcentral/fileexchange/6995-karhunen-loeve-decomposition-for-statistical-recognition-and-detection), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- AI and Statistics > Statistics and Machine Learning Toolbox > Dimensionality Reduction and Feature Extraction >
- Image Processing and Computer Vision > Computer Vision Toolbox > Recognition, Object Detection, and Semantic Segmentation > Object Detection Using Features > Face Detection >
- Image Processing and Computer Vision > Computer Vision Toolbox > Recognition, Object Detection, and Semantic Segmentation > Semantic Segmentation >
Tags
Acknowledgements
Inspired: Karhunen-Loeve Transform Demonstration for Image Compressing
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Code was updated to find the most similar and the most different faces. Also distance map of face database is now computed and shown. |
