Discriminant analysis based on projection onto generalized difference subspace