Inferring The 3D Structure of Periodic Motion In Video.