Algorithm 1 Fp-2DPCA

Input: A i R m × n ( i = 1 , , N ) , k , i = 1 M A i = 0 , J ( W ( t ) ) = i = 1 M E i F p A i W F p

Initialize: W ( t ) R m × k , ( W t ) T W t = I k , t = 1 , δ = | J ( W ( t ) ) J ( W ( t 1 ) ) |

While: δ ε

1. Calculate d i ( t ) for each A i according to Equation (9),

Calculate W : W = U V T according to the conclusion of Equation (23),

2. Calculate H ( t ) according to Equation (9) and Equation (23),

3. SVD decomposition of H ( t ) : H ( t ) = U Σ V T ,

4. Calculate W : W = U V T according to the conclusion of Equation (23),

5. Update δ ,

6. Update t : t = t + 1 .

Output: W t + 1 R n × d