Simultaneous Rectification and Alignment via Robust Recovery of Low-rank Tensors