Multilinear Principal Component Analysis (MPCA)

The codes implement two algorithms: Multilinear Principal Component Analysis (MPCA) and MPCA+LDA.
8.9K Downloads
Updated 23 Jul 2012

View License

Matlab source codes for Multilinear Principal Component Analysis (MPCA)

%[Algorithms]%
The matlab codes provided here implement two algorithms presented in the paper "MPCA_TNN08_rev2012.pdf" included in this package:

Haiping Lu, K.N. Plataniotis, and A.N. Venetsanopoulos, "MPCA: Multilinear Principal Component Analysis of Tensor Objects", IEEE Transactions on Neural Networks, Vol. 19, No. 1, Page: 18-39, January 2008.

Algorithm 1: "MPCA.m" implements the MPCA algorithm described in this paper
Algorithm 2: "MPCALDA.m" implements the MPCA+LDA algorithm in this paper
---------------------------

%[Usages]%
Please refer to the comments in the codes, which include example usage on 2D data and 3D data below:

FERETC80A45.mat: 320 faces (32x32) of 80 subjects (4 samples per class) from the FERET database

USF17Gal.mat: 731 gait samples (32x22x10) of 71 subjects from the gallery set of the USF gait challenge data sets version 1.7
---------------------------

%[Verification of gait recognition results]%
To verify the gait recognition results presented in Table VII of the paper on a smaller version of the gait data in folder "USFGait17_32x22x10" so the numbers are not exactly the same

1. Run GRTestMPCA.m to get the results for ETG
2. Run GRTestMPCALDA.m to get the results for ETGLDA

testData.m specifies the data directory and probes to be processed

MADAll.m calculates the rank 1 and rank 5 identification rates using MAD measure (Table II) and symmetric matching.

GRResultsVerify.txt is the expected output in the command window.
---------------------------

%[Toolbox]%
The code needs the tensor toolbox available at http://csmr.ca.sandia.gov/~tgkolda/TensorToolbox/
This package includes tensor toolbox version 2.1 for convenience.
---------------------------

%[Restriction]%
In all documents and papers reporting research work that uses the matlab codes provided here, the respective author(s) must reference the following paper:

[1] Haiping Lu, K.N. Plataniotis, and A.N. Venetsanopoulos, MPCA: Multilinear Principal Component Analysis of Tensor Objects", IEEE Transactions on Neural Networks, Vol. 19, No. 1, Page: 18-39, January 2008.

Cite As

Haiping Lu (2024). Multilinear Principal Component Analysis (MPCA) (https://www.mathworks.com/matlabcentral/fileexchange/26168-multilinear-principal-component-analysis-mpca), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.3.0.0

1. The MPCA paper is updated with a typo (the MAD measure in Table II) corrected.
2. Tensor toolbox version 2.1 is included for convenience.
3. Full code on gait recognition is included for verification and comparison.

1.2.0.0

Emphasized the need for the tensor toolbox. Thanks to Chris' comment.

1.1.0.0

1. Minor code change
2. Inclusion of relevant works in BibTeX file

1.0.0.0