Diffusion-coded photography for extended depth of field