A Task-Specific Approach to Computational Imaging System Design