Shape Dynamical Models for Activity Recognition and Coded Aperture Imaging for Light-Field Capture