Locally Planar and Affine Deformable Surface Reconstruction from Video