Tunable Gaussian mask for extending the depth of field