Transform-Invariant PCA: A Unified Approach to Fully Automatic FaceAlignment, Representation, and Recognition