Sampling in Computational Cameras